Modifier and Type | Method and Description |
---|---|
void |
close()
Close this
GiraphReader to future operations. |
float |
getProgress()
How much of the input has the
GiraphReader consumed i.e. |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Use the input split and context to setup reading.
|
forEachRemaining, hasNext, next, remove
void initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
inputSplit
- Input split to be used for reading.context
- Context from the task.IOException
InterruptedException
void close() throws IOException
GiraphReader
to future operations.IOException
float getProgress() throws IOException, InterruptedException
GiraphReader
consumed i.e.
has been processed by?0.0
to 1.0
.IOException
InterruptedException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.