public class CarbonStreamRecordReader extends org.apache.hadoop.mapreduce.RecordReader<Void,Object>
| Constructor and Description |
|---|
CarbonStreamRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Void |
getCurrentKey() |
Object |
getCurrentValue() |
float |
getProgress() |
void |
initialize(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
boolean |
nextKeyValue() |
void |
setInputMetricsStats(InputMetricsStats inputMetricsStats) |
void |
setQueryModel(org.apache.carbondata.core.scan.model.QueryModel model) |
void |
setUseRawRow(boolean useRawRow) |
void |
setVectorReader(boolean isVectorReader) |
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,Object>IOExceptionInterruptedExceptionpublic void setQueryModel(org.apache.carbondata.core.scan.model.QueryModel model)
public void setUseRawRow(boolean useRawRow)
public boolean nextKeyValue()
throws IOException,
InterruptedException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<Void,Object>IOExceptionInterruptedExceptionpublic Void getCurrentKey() throws IOException, InterruptedException
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<Void,Object>IOExceptionInterruptedExceptionpublic Object getCurrentValue() throws IOException, InterruptedException
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<Void,Object>IOExceptionInterruptedExceptionpublic float getProgress()
throws IOException,
InterruptedException
getProgress in class org.apache.hadoop.mapreduce.RecordReader<Void,Object>IOExceptionInterruptedExceptionpublic void setVectorReader(boolean isVectorReader)
public void setInputMetricsStats(InputMetricsStats inputMetricsStats)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<Void,Object>IOExceptionCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.