public class CarbonRecordReader<T> extends org.apache.hadoop.mapreduce.RecordReader<Void,T>
| Constructor and Description |
|---|
CarbonRecordReader(QueryModel queryModel,
CarbonReadSupport<T> readSupport) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Void |
getCurrentKey() |
T |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
public CarbonRecordReader(QueryModel queryModel, CarbonReadSupport<T> readSupport)
public void initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
initialize in class org.apache.hadoop.mapreduce.RecordReader<Void,T>IOExceptionInterruptedExceptionpublic boolean nextKeyValue()
public Void getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<Void,T>IOExceptionInterruptedExceptionpublic T getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<Void,T>IOExceptionInterruptedExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<Void,T>IOExceptionInterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<Void,T>IOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.