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, setWorkerGlobalCommUsageprotected 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.JSONExceptionjava.io.IOExceptionprotected PartitionedLongWritable getId(org.json.JSONArray jsonVertex) throws org.json.JSONException, java.io.IOException
org.json.JSONExceptionjava.io.IOExceptionprotected CoordinateWritable getValue(org.json.JSONArray jsonVertex) throws org.json.JSONException, java.io.IOException
org.json.JSONExceptionjava.io.IOExceptionprotected 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