public class GoraTestVertexInputFormat extends GoraVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable>
| Modifier and Type | Class and Description |
|---|---|
protected class |
GoraTestVertexInputFormat.GoraGVertexVertexReader
Gora vertex reader
|
GoraVertexInputFormat.GoraVertexReader| Constructor and Description |
|---|
GoraTestVertexInputFormat()
DEfault constructor
|
| Modifier and Type | Method and Description |
|---|---|
static GVertex |
createVertex(String id,
Map<String,String> edges)
Creates a vertex using an id and a set of edges.
|
GoraVertexInputFormat.GoraVertexReader |
createVertexReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Creates specific vertex reader to be used inside Hadoop.
|
checkInputSpecs, createDataStore, getDataStore, getDatastoreClass, getSplits, getStartKey, setDataStore, setDatastoreClass, setStartKeyreadInputSplit, writeInputSplitgetConf, setConfpublic GoraVertexInputFormat.GoraVertexReader createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
createVertexReader in class GoraVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable>split - split to be read.context - JobContext to be used.IOExceptionCopyright © 2011-2019 The Apache Software Foundation. All Rights Reserved.