Class AbstractParquetRowGroupScan
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.store.parquet.AbstractParquetRowGroupScan
- All Implemented Interfaces:
Iterable<PhysicalOperator>
,GraphValue<PhysicalOperator>
,FragmentLeaf
,Leaf
,PhysicalOperator
,Scan
,SubScan
- Direct Known Subclasses:
DeltaRowGroupScan
,HiveDrillNativeParquetRowGroupScan
,ParquetRowGroupScan
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<SchemaPath>
protected final LogicalExpression
protected final ParquetReaderConfig
protected final List<RowGroupReadEntry>
protected final TupleMetadata
protected final org.apache.hadoop.fs.Path
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractParquetRowGroupScan
(String userName, List<RowGroupReadEntry> rowGroupReadEntries, List<SchemaPath> columns, ParquetReaderConfig readerConfig, LogicalExpression filter, org.apache.hadoop.fs.Path selectionRoot, TupleMetadata schema) -
Method Summary
Modifier and TypeMethodDescription<T,
X, E extends Throwable>
Taccept
(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) abstract org.apache.hadoop.conf.Configuration
getFsConf
(RowGroupReadEntry rowGroupReadEntry) getPartitionValues
(RowGroupReadEntry rowGroupReadEntry) org.apache.hadoop.fs.Path
boolean
Describes whether or not a particular physical operator can actually be executed.boolean
isImplicitColumn
(SchemaPath path, String partitionColumnLabel) iterator()
abstract boolean
Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.common.graph.GraphValue
accept
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.apache.drill.exec.physical.base.PhysicalOperator
getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
-
Field Details
-
rowGroupReadEntries
-
columns
-
readerConfig
-
filter
-
selectionRoot
protected final org.apache.hadoop.fs.Path selectionRoot -
schema
-
-
Constructor Details
-
AbstractParquetRowGroupScan
protected AbstractParquetRowGroupScan(String userName, List<RowGroupReadEntry> rowGroupReadEntries, List<SchemaPath> columns, ParquetReaderConfig readerConfig, LogicalExpression filter, org.apache.hadoop.fs.Path selectionRoot, TupleMetadata schema)
-
-
Method Details
-
getRowGroupReadEntries
-
getColumns
-
getReaderConfigForSerialization
-
getReaderConfig
-
getFilter
-
isExecutable
public boolean isExecutable()Description copied from interface:PhysicalOperator
Describes whether or not a particular physical operator can actually be executed. Most physical operators can be executed. However, Exchange nodes cannot be executed. In order to be executed, they must be converted into their Exec sub components.- Specified by:
isExecutable
in interfacePhysicalOperator
- Overrides:
isExecutable
in classAbstractBase
-
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperator
Provides capability to build a set of output based on traversing a query graph tree.- Specified by:
accept
in interfacePhysicalOperator
- Throws:
E extends Throwable
-
iterator
- Specified by:
iterator
in interfaceIterable<PhysicalOperator>
-
getSelectionRoot
public org.apache.hadoop.fs.Path getSelectionRoot() -
getSchema
-
isImplicitColumn
-
copy
-
getFsConf
public abstract org.apache.hadoop.conf.Configuration getFsConf(RowGroupReadEntry rowGroupReadEntry) throws IOException - Throws:
IOException
-
supportsFileImplicitColumns
public abstract boolean supportsFileImplicitColumns() -
getPartitionValues
-