public class CassandraBinaryRecordReader extends org.apache.hadoop.mapreduce.RecordReader<StaticBuffer,Iterable<Entry>>
| Constructor and Description |
|---|
CassandraBinaryRecordReader(org.apache.cassandra.hadoop.ColumnFamilyRecordReader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
StaticBuffer |
getCurrentKey() |
Iterable<Entry> |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
boolean |
nextKeyValue() |
public CassandraBinaryRecordReader(org.apache.cassandra.hadoop.ColumnFamilyRecordReader reader)
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<StaticBuffer,Iterable<Entry>>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<StaticBuffer,Iterable<Entry>>IOExceptionInterruptedExceptionpublic StaticBuffer getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<StaticBuffer,Iterable<Entry>>IOExceptionInterruptedExceptionpublic Iterable<Entry> getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<StaticBuffer,Iterable<Entry>>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<StaticBuffer,Iterable<Entry>>IOExceptionpublic float getProgress()
getProgress in class org.apache.hadoop.mapreduce.RecordReader<StaticBuffer,Iterable<Entry>>Copyright © 2012–2020. All rights reserved.