public class JsonLongDoubleFloatDoubleVertexInputFormat extends TextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable>
long vertex ID's,
double vertex values and float
out-edge weights, and double message types,
specified in JSON format.TextVertexInputFormat.TextVertexReader, TextVertexInputFormat.TextVertexReaderFromEachLine, TextVertexInputFormat.TextVertexReaderFromEachLineProcessed<T>, TextVertexInputFormat.TextVertexReaderFromEachLineProcessedHandlingExceptions<T,X extends Throwable>textInputFormat| Constructor and Description |
|---|
JsonLongDoubleFloatDoubleVertexInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
TextVertexInputFormat.TextVertexReader |
createVertexReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
The factory method which produces the
TextVertexInputFormat.TextVertexReader used by this
input format. |
checkInputSpecs, getSplitsreadInputSplit, writeInputSplitgetConf, setConfpublic JsonLongDoubleFloatDoubleVertexInputFormat()
public TextVertexInputFormat.TextVertexReader createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
TextVertexInputFormatTextVertexInputFormat.TextVertexReader used by this
input format.createVertexReader in class TextVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.FloatWritable>split - the split to be readcontext - the information about the taskCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.