public class ParquetScanner extends FileScanner
columnNum, conf, fragment, inited, meta, progress, schema, tableStats, targets
Constructor and Description |
---|
ParquetScanner(org.apache.hadoop.conf.Configuration conf,
Schema schema,
TableMeta meta,
FileFragment fragment)
Creates a new ParquetScanner.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the scanner.
|
void |
init()
Initializes the ParquetScanner.
|
boolean |
isProjectable()
Returns whether this scanner is projectable.
|
boolean |
isSelectable()
Returns whether this scanner is selectable.
|
boolean |
isSplittable()
Returns whether this scanner is splittable.
|
Tuple |
next()
Reads the next Tuple from the Parquet file.
|
void |
reset()
Resets the scanner
|
getFileSystem, getInputStats, getProgress, getSchema, setSearchCondition, setTarget
public ParquetScanner(org.apache.hadoop.conf.Configuration conf, Schema schema, TableMeta meta, FileFragment fragment)
conf
- schema
- meta
- fragment
- public void init() throws IOException
init
in interface Scanner
init
in class FileScanner
IOException
public Tuple next() throws IOException
IOException
- if internal I/O error occurs during next methodpublic void reset() throws IOException
IOException
- if internal I/O error occurs during reset methodpublic void close() throws IOException
IOException
- if internal I/O error occurs during close methodpublic boolean isProjectable()
public boolean isSelectable()
public boolean isSplittable()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.