public class RCFileScanner extends FileScannerV2
Modifier and Type | Field and Description |
---|---|
static String |
NULL |
static String |
SERDE |
allocatedDiskId, closed, columnNum, conf, firstSchdeuled, fragment, fs, inited, meta, progress, schema, smContext, tableStats, targets, totalScanTime
Constructor and Description |
---|
RCFileScanner(org.apache.hadoop.conf.Configuration conf,
Schema schema,
TableMeta meta,
FileFragment fragment) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close scanner
|
protected long |
getFilePosition() |
void |
init() |
protected boolean |
initFirstScan(int maxBytesPerSchedule) |
boolean |
isFetchProcessing() |
boolean |
isProjectable()
It returns if the projection is executed in the underlying scanner layer.
|
boolean |
isSelectable()
It returns if the selection is executed in the underlying scanner layer.
|
boolean |
isSplittable()
It returns if the file is splittable.
|
boolean |
isStopScanScheduling() |
protected Tuple |
nextTuple() |
protected long[] |
reportReadBytes() |
void |
scannerReset() |
protected boolean |
scanNext(int length) |
getDiskId, getId, getInputStats, getPath, getProgress, getSchema, isClosed, next, reset, scan, setAllocatedDiskId, setSearchCondition, setStorageManagerContext, setTarget, toString
public static final String SERDE
public static final String NULL
public RCFileScanner(org.apache.hadoop.conf.Configuration conf, Schema schema, TableMeta meta, FileFragment fragment) throws IOException
IOException
protected Tuple nextTuple() throws IOException
nextTuple
in class FileScannerV2
IOException
public void init() throws IOException
init
in interface Scanner
init
in class FileScannerV2
IOException
public void close() throws IOException
Scanner
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Scanner
close
in class FileScannerV2
IOException
- if internal I/O error occurs during close methodprotected boolean initFirstScan(int maxBytesPerSchedule) throws IOException
initFirstScan
in class FileScannerV2
IOException
public boolean isStopScanScheduling()
isStopScanScheduling
in class FileScannerV2
protected boolean scanNext(int length) throws IOException
scanNext
in class FileScannerV2
IOException
public boolean isFetchProcessing()
isFetchProcessing
in class FileScannerV2
protected long getFilePosition() throws IOException
getFilePosition
in class FileScannerV2
IOException
public void scannerReset()
scannerReset
in class FileScannerV2
public boolean isProjectable()
Scanner
public boolean isSelectable()
Scanner
public boolean isSplittable()
Scanner
protected long[] reportReadBytes()
reportReadBytes
in class FileScannerV2
Copyright © 2014 Apache Software Foundation. All Rights Reserved.