public static class RowFile.RowFileScanner extends FileScanner
columnNum, conf, fragment, inited, meta, progress, schema, tableStats, targets
Constructor and Description |
---|
RowFile.RowFileScanner(org.apache.hadoop.conf.Configuration conf,
Schema schema,
TableMeta meta,
FileFragment fragment) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close scanner
|
void |
init() |
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.
|
Tuple |
next()
It returns one tuple at each call.
|
void |
reset()
Reset the cursor.
|
getFileSystem, getInputStats, getProgress, getSchema, setSearchCondition, setTarget
public RowFile.RowFileScanner(org.apache.hadoop.conf.Configuration conf, Schema schema, TableMeta meta, FileFragment fragment) throws IOException
IOException
public void init() throws IOException
init
in interface Scanner
init
in class FileScanner
IOException
public Tuple next() throws IOException
Scanner
IOException
- if internal I/O error occurs during next methodpublic void reset() throws IOException
Scanner
IOException
- if internal I/O error occurs during reset methodpublic void close() throws IOException
Scanner
IOException
- if internal I/O error occurs during close methodpublic boolean isProjectable()
Scanner
public boolean isSelectable()
Scanner
public boolean isSplittable()
Scanner
Copyright © 2014 Apache Software Foundation. All Rights Reserved.