|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
VidType
- VertexData
- EdgeData
- public interface GraphTokenizer<VidType extends org.apache.hadoop.io.WritableComparable<VidType>,VertexData extends org.apache.hadoop.io.Writable,EdgeData extends org.apache.hadoop.io.Writable>
Tokenize the input provided by InputFormat
into a list of
Vertex
and and a list of Edge
objects. This should be the
first step to implement along with the design of the InputFormat
of
the raw input.
InputFormat
Method Summary | |
---|---|
void |
configure(org.apache.hadoop.mapred.JobConf job)
Configure the tokenizer from JobConf. |
java.lang.Class |
edataClass()
|
java.util.Iterator<Edge<VidType,EdgeData>> |
getEdges()
|
java.util.Iterator<Vertex<VidType,VertexData>> |
getVertices()
|
void |
parse(java.lang.String s)
Parse the input string and filter into internal vertex and edge fields. |
java.lang.Class |
vdataClass()
|
java.lang.Class |
vidClass()
|
Method Detail |
---|
void configure(org.apache.hadoop.mapred.JobConf job)
job
- void parse(java.lang.String s)
s
- java.util.Iterator<Vertex<VidType,VertexData>> getVertices()
Vertex
extracted from the input.java.util.Iterator<Edge<VidType,EdgeData>> getEdges()
Edge
extracted from the input.java.lang.Class vidClass()
java.lang.Class vdataClass()
java.lang.Class edataClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |