public static class SimpleSuperstepComputation.SimpleSuperstepVertexInputFormat extends GeneratedVertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>
SimpleSuperstepComputation
Constructor and Description |
---|
SimpleSuperstepVertexInputFormat() |
Modifier and Type | Method and Description |
---|---|
VertexReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable> |
createVertexReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create a vertex reader for a given split.
|
checkInputSpecs, getSplits
readInputSplit, writeInputSplit
getConf, setConf
public VertexReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable> createVertexReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
VertexInputFormat
VertexReader.initialize(InputSplit, TaskAttemptContext)
before
the split is used.createVertexReader
in class VertexInputFormat<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.FloatWritable>
split
- the split to be readcontext
- the information about the taskIOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.