public class TitanHBaseRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>
| Constructor and Description |
|---|
TitanHBaseRecordReader(TitanHBaseInputFormat inputFormat,
FaunusVertexQueryFilter vertexQuery,
org.apache.hadoop.hbase.mapreduce.TableRecordReader reader,
byte[] edgestoreFamilyBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.NullWritable |
getCurrentKey() |
FaunusVertex |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
boolean |
nextKeyValue() |
public TitanHBaseRecordReader(TitanHBaseInputFormat inputFormat, FaunusVertexQueryFilter vertexQuery, org.apache.hadoop.hbase.mapreduce.TableRecordReader reader, byte[] edgestoreFamilyBytes)
public void initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext)
throws IOException,
InterruptedException
initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionInterruptedExceptionpublic org.apache.hadoop.io.NullWritable getCurrentKey()
throws IOException,
InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionInterruptedExceptionpublic FaunusVertex getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>IOExceptionpublic float getProgress()
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,FaunusVertex>Copyright © 2012–2016. All rights reserved.