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
FieldsModifier and TypeFieldDescriptionprotected final List<SchemaPath> protected final LogicalExpressionprotected final ParquetReaderConfigprotected final List<RowGroupReadEntry> protected final TupleMetadataprotected final org.apache.hadoop.fs.PathFields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractParquetRowGroupScan(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 AbstractParquetRowGroupScancopy(List<SchemaPath> columns) abstract org.apache.hadoop.conf.ConfigurationgetFsConf(RowGroupReadEntry rowGroupReadEntry) getPartitionValues(RowGroupReadEntry rowGroupReadEntry) org.apache.hadoop.fs.PathbooleanDescribes whether or not a particular physical operator can actually be executed.booleanisImplicitColumn(SchemaPath path, String partitionColumnLabel) iterator()abstract booleanMethods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.common.graph.GraphValue
acceptMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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:PhysicalOperatorDescribes 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:
isExecutablein interfacePhysicalOperator- Overrides:
isExecutablein classAbstractBase
-
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperatorProvides capability to build a set of output based on traversing a query graph tree.- Specified by:
acceptin interfacePhysicalOperator- Parameters:
physicalVisitor-- Throws:
E
-
iterator
- Specified by:
iteratorin 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
-