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_COLUMN
Fields inherited from class org.apache.drill.exec.record.metadata.AbstractColumnMetadata
mode, name, precision, scale, type
Fields 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_SUFFIX
Fields inherited from interface org.apache.drill.exec.record.metadata.Propertied
DRILL_PROP_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addIndex
(int index) protected void
int
void
becomeArray
(int dims) protected void
copy()
boolean
hasIndex
(int index) boolean
boolean[]
indexes()
boolean
isArray()
boolean
isMap()
boolean
isSimple()
int
maxIndex()
void
void
int
refCount()
Schema forTUPLE
columns.Methods inherited from class org.apache.drill.exec.record.metadata.DynamicColumn
cloneEmpty, columnString, emptySchema, isDynamic, isEquivalent, schema, structureType, typeString
Methods 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, variantSchema
Methods inherited from class org.apache.drill.exec.record.metadata.AbstractPropertied
booleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
isMap
in interfaceColumnMetadata
- Overrides:
isMap
in classAbstractColumnMetadata
-
projectAllElements
public void projectAllElements() -
becomeArray
public void becomeArray(int dims) -
arrayDims
public int arrayDims() -
isArray
public boolean isArray()- Specified by:
isArray
in interfaceColumnMetadata
- Overrides:
isArray
in 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:ColumnMetadata
Schema forTUPLE
columns.- Specified by:
tupleSchema
in interfaceColumnMetadata
- Overrides:
tupleSchema
in classAbstractColumnMetadata
- Returns:
- the tuple schema
-
appendContents
- Overrides:
appendContents
in classAbstractColumnMetadata
-
copy
- Specified by:
copy
in interfaceColumnMetadata
- Overrides:
copy
in classDynamicColumn
-
projectString
-