Class ProjectedColumn
java.lang.Object
org.apache.drill.exec.record.metadata.AbstractPropertied
org.apache.drill.exec.record.metadata.AbstractColumnMetadata
org.apache.drill.exec.record.metadata.DynamicColumn
org.apache.drill.exec.physical.impl.scan.v3.schema.ProjectedColumn
- All Implemented Interfaces:
ColumnMetadata,Propertied
Enhanced form of a dynamic column which records all information from
the project list.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.drill.exec.record.metadata.ColumnMetadata
ColumnMetadata.StructureType -
Field Summary
Fields inherited from class org.apache.drill.exec.record.metadata.DynamicColumn
WILDCARD, WILDCARD_COLUMNFields inherited from class org.apache.drill.exec.record.metadata.AbstractColumnMetadata
mode, name, precision, scale, typeFields inherited from interface org.apache.drill.exec.record.metadata.ColumnMetadata
BLANK_AS_NULL, BLANK_AS_PROP, BLANK_AS_ZERO, DEFAULT_ARRAY_SIZE, DEFAULT_VALUE_PROP, EXCLUDE_FROM_WILDCARD, EXPECTED_CARDINALITY_PROP, EXPECTED_WIDTH_PROP, FORMAT_PROP, IMPLICIT_COL_TYPE, IMPLICIT_FILENAME, IMPLICIT_FILEPATH, IMPLICIT_FQN, IMPLICIT_PARTITION_PREFIX, IMPLICIT_SUFFIXFields inherited from interface org.apache.drill.exec.record.metadata.Propertied
DRILL_PROP_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddIndex(int index) protected voidintvoidbecomeArray(int dims) protected voidcopy()booleanhasIndex(int index) booleanboolean[]indexes()booleanisArray()booleanisMap()booleanisSimple()intmaxIndex()voidvoidintrefCount()Schema forTUPLEcolumns.Methods inherited from class org.apache.drill.exec.record.metadata.DynamicColumn
cloneEmpty, columnString, emptySchema, isDynamic, isEquivalent, schema, structureType, typeStringMethods inherited from class org.apache.drill.exec.record.metadata.AbstractColumnMetadata
bind, childSchema, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, dimensions, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, expectedWidth, format, isDict, isMultiList, isNullable, isScalar, isVariableWidth, isVariant, majorType, mode, name, precision, properties, scale, setDefaultValue, setExpectedElementCount, setExpectedWidth, setFormat, toString, type, valueFromString, valueToString, variantSchemaMethods inherited from class org.apache.drill.exec.record.metadata.AbstractPropertied
booleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.drill.exec.record.metadata.Propertied
booleanProperty, booleanProperty, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
-
Constructor Details
-
ProjectedColumn
-
-
Method Details
-
bumpRefCount
protected void bumpRefCount() -
refCount
public int refCount() -
isSimple
public boolean isSimple() -
isMap
public boolean isMap()- Specified by:
isMapin interfaceColumnMetadata- Overrides:
isMapin classAbstractColumnMetadata
-
projectAllElements
public void projectAllElements() -
becomeArray
public void becomeArray(int dims) -
arrayDims
public int arrayDims() -
isArray
public boolean isArray()- Specified by:
isArrayin interfaceColumnMetadata- Overrides:
isArrayin classAbstractColumnMetadata
-
addIndex
protected void addIndex(int index) -
hasIndexes
public boolean hasIndexes() -
hasIndex
public boolean hasIndex(int index) -
maxIndex
public int maxIndex() -
indexes
public boolean[] indexes() -
projectAllMembers
public void projectAllMembers() -
explicitMembers
-
tupleSchema
Description copied from interface:ColumnMetadataSchema forTUPLEcolumns.- Specified by:
tupleSchemain interfaceColumnMetadata- Overrides:
tupleSchemain classAbstractColumnMetadata- Returns:
- the tuple schema
-
appendContents
- Overrides:
appendContentsin classAbstractColumnMetadata
-
copy
- Specified by:
copyin interfaceColumnMetadata- Overrides:
copyin classDynamicColumn
-
projectString
-