I
- vertexId typeV
- vertexValue typeE
- edgeValue typeB
- mappingTarget typepublic class MappingInputSplitsCallable<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,B extends org.apache.hadoop.io.Writable> extends InputSplitsCallable<I,V,E>
configuration, context, workerClientRequestProcessor
Constructor and Description |
---|
MappingInputSplitsCallable(MappingInputFormat<I,V,E,B> mappingInputFormat,
org.apache.hadoop.mapreduce.Mapper.Context context,
ImmutableClassesGiraphConfiguration<I,V,E> configuration,
BspServiceWorker<I,V,E> bspServiceWorker,
WorkerInputSplitsHandler splitsHandler)
Constructor
|
Modifier and Type | Method and Description |
---|---|
GiraphInputFormat |
getInputFormat()
Get input format
|
InputType |
getInputType()
Get input type
|
protected VertexEdgeCount |
readInputSplit(org.apache.hadoop.mapreduce.InputSplit inputSplit)
Load vertices/edges from the given input split.
|
call, getInputSplit, getTotalEdgesFilteredCounter, getTotalEdgesLoadedMeter, getTotalVerticesFilteredCounter, getTotalVerticesLoadedMeter, initMetrics
public MappingInputSplitsCallable(MappingInputFormat<I,V,E,B> mappingInputFormat, org.apache.hadoop.mapreduce.Mapper.Context context, ImmutableClassesGiraphConfiguration<I,V,E> configuration, BspServiceWorker<I,V,E> bspServiceWorker, WorkerInputSplitsHandler splitsHandler)
mappingInputFormat
- mappingInputFormatcontext
- Contextconfiguration
- ConfigurationbspServiceWorker
- bsp service workersplitsHandler
- Splits handlerpublic GiraphInputFormat getInputFormat()
InputSplitsCallable
getInputFormat
in class InputSplitsCallable<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
public InputType getInputType()
InputSplitsCallable
getInputType
in class InputSplitsCallable<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
protected VertexEdgeCount readInputSplit(org.apache.hadoop.mapreduce.InputSplit inputSplit) throws IOException, InterruptedException
InputSplitsCallable
readInputSplit
in class InputSplitsCallable<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
inputSplit
- Input split to loadIOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.