I
- Vertex idE
- Edge datapublic abstract class EdgeInputFormat<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends GiraphInputFormat<I,org.apache.hadoop.io.Writable,E>
DefaultImmutableClassesGiraphConfigurable.setConf(org.apache.giraph.conf.ImmutableClassesGiraphConfiguration)
.Constructor and Description |
---|
EdgeInputFormat() |
Modifier and Type | Method and Description |
---|---|
abstract EdgeReader<I,E> |
createEdgeReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Create an edge reader for a given split.
|
checkInputSpecs, getSplits, readInputSplit, writeInputSplit
getConf, setConf
public abstract EdgeReader<I,E> createEdgeReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
EdgeReader.initialize(InputSplit, TaskAttemptContext)
before
the split is used.split
- the split to be readcontext
- the information about the taskIOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.