protected class LayoutInputFormat.JSONPartitionedLongArrayFloatVertexReader
extends org.apache.giraph.io.VertexReader<I,V,E>
Modifier | Constructor and Description |
---|---|
protected |
LayoutInputFormat.JSONPartitionedLongArrayFloatVertexReader() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Iterable<org.apache.giraph.edge.Edge<PartitionedLongWritable,org.apache.hadoop.io.NullWritable>> |
getEdges(org.json.JSONArray jsonVertex) |
protected PartitionedLongWritable |
getId(org.json.JSONArray jsonVertex) |
protected CoordinateWritable |
getValue(org.json.JSONArray jsonVertex) |
protected org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.FloatWritable> |
handleException(org.apache.hadoop.io.Text line,
org.json.JSONArray jsonVertex,
java.lang.Exception e) |
protected org.json.JSONArray |
preprocessLine(org.apache.hadoop.io.Text line) |
aggregate, getAggregatedValue, getBroadcast, reduce, setWorkerGlobalCommUsage
protected LayoutInputFormat.JSONPartitionedLongArrayFloatVertexReader()
protected java.lang.Iterable<org.apache.giraph.edge.Edge<PartitionedLongWritable,org.apache.hadoop.io.NullWritable>> getEdges(org.json.JSONArray jsonVertex) throws org.json.JSONException, java.io.IOException
org.json.JSONException
java.io.IOException
protected PartitionedLongWritable getId(org.json.JSONArray jsonVertex) throws org.json.JSONException, java.io.IOException
org.json.JSONException
java.io.IOException
protected CoordinateWritable getValue(org.json.JSONArray jsonVertex) throws org.json.JSONException, java.io.IOException
org.json.JSONException
java.io.IOException
protected org.apache.giraph.graph.Vertex<PartitionedLongWritable,CoordinateWritable,org.apache.hadoop.io.FloatWritable> handleException(org.apache.hadoop.io.Text line, org.json.JSONArray jsonVertex, java.lang.Exception e)
protected org.json.JSONArray preprocessLine(org.apache.hadoop.io.Text line) throws org.json.JSONException
org.json.JSONException