public abstract class AbstractParquetRowGroupScan extends AbstractBase implements SubScan
Modifier and Type | Field and Description |
---|---|
protected List<SchemaPath> |
columns |
protected LogicalExpression |
filter |
protected ParquetReaderConfig |
readerConfig |
protected List<RowGroupReadEntry> |
rowGroupReadEntries |
protected TupleMetadata |
schema |
protected org.apache.hadoop.fs.Path |
selectionRoot |
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
Modifier | Constructor and Description |
---|---|
protected |
AbstractParquetRowGroupScan(String userName,
List<RowGroupReadEntry> rowGroupReadEntries,
List<SchemaPath> columns,
ParquetReaderConfig readerConfig,
LogicalExpression filter,
org.apache.hadoop.fs.Path selectionRoot,
TupleMetadata schema) |
Modifier and Type | Method and Description |
---|---|
<T,X,E extends Throwable> |
accept(PhysicalVisitor<T,X,E> physicalVisitor,
X value)
Provides capability to build a set of output based on traversing a query graph tree.
|
abstract AbstractParquetRowGroupScan |
copy(List<SchemaPath> columns) |
List<SchemaPath> |
getColumns() |
LogicalExpression |
getFilter() |
abstract org.apache.hadoop.conf.Configuration |
getFsConf(RowGroupReadEntry rowGroupReadEntry) |
abstract List<String> |
getPartitionValues(RowGroupReadEntry rowGroupReadEntry) |
ParquetReaderConfig |
getReaderConfig() |
ParquetReaderConfig |
getReaderConfigForSerialization() |
List<RowGroupReadEntry> |
getRowGroupReadEntries() |
TupleMetadata |
getSchema() |
org.apache.hadoop.fs.Path |
getSelectionRoot() |
boolean |
isExecutable()
Describes whether or not a particular physical operator can actually be executed.
|
Iterator<PhysicalOperator> |
iterator() |
abstract boolean |
supportsFileImplicitColumns() |
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
accept
forEach, spliterator
protected final List<RowGroupReadEntry> rowGroupReadEntries
protected final List<SchemaPath> columns
protected final ParquetReaderConfig readerConfig
protected final LogicalExpression filter
protected final org.apache.hadoop.fs.Path selectionRoot
protected final TupleMetadata schema
protected AbstractParquetRowGroupScan(String userName, List<RowGroupReadEntry> rowGroupReadEntries, List<SchemaPath> columns, ParquetReaderConfig readerConfig, LogicalExpression filter, org.apache.hadoop.fs.Path selectionRoot, TupleMetadata schema)
public List<RowGroupReadEntry> getRowGroupReadEntries()
public List<SchemaPath> getColumns()
public ParquetReaderConfig getReaderConfigForSerialization()
public ParquetReaderConfig getReaderConfig()
public LogicalExpression getFilter()
public boolean isExecutable()
PhysicalOperator
isExecutable
in interface PhysicalOperator
isExecutable
in class AbstractBase
public <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperator
accept
in interface PhysicalOperator
E extends Throwable
public Iterator<PhysicalOperator> iterator()
iterator
in interface Iterable<PhysicalOperator>
public org.apache.hadoop.fs.Path getSelectionRoot()
public TupleMetadata getSchema()
public abstract AbstractParquetRowGroupScan copy(List<SchemaPath> columns)
public abstract org.apache.hadoop.conf.Configuration getFsConf(RowGroupReadEntry rowGroupReadEntry) throws IOException
IOException
public abstract boolean supportsFileImplicitColumns()
public abstract List<String> getPartitionValues(RowGroupReadEntry rowGroupReadEntry)
Copyright © 1970 The Apache Software Foundation. All rights reserved.