public class DynamicColumn extends AbstractColumnMetadata
ColumnMetadata.StructureType
Modifier and Type | Field and Description |
---|---|
static String |
WILDCARD |
static DynamicColumn |
WILDCARD_COLUMN |
mode, name, precision, scale, type
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
DRILL_PROP_PREFIX
Constructor and Description |
---|
DynamicColumn(String name) |
Modifier and Type | Method and Description |
---|---|
ColumnMetadata |
cloneEmpty()
Create an empty version of this column.
|
String |
columnString()
Converts column metadata into string representation
accepted by the table schema parser.
|
ColumnMetadata |
copy() |
MaterializedField |
emptySchema() |
boolean |
isDynamic()
Reports if the column is dynamic.
|
boolean |
isEquivalent(ColumnMetadata o)
Report whether one column is equivalent to another.
|
MaterializedField |
schema() |
ColumnMetadata.StructureType |
structureType() |
String |
typeString()
Converts type metadata into string representation
accepted by the table schema parser.
|
appendContents, bind, childSchema, createColumnMetadata, dateTimeFormatter, decodeDefaultValue, defaultValue, dimensions, equals, equalsWithProperties, equalsWithProperties, escapeSpecialSymbols, expectedElementCount, expectedWidth, format, isArray, isDict, isMap, isMultiList, isNullable, isVariableWidth, isVariant, majorType, mode, name, precision, properties, scale, setDefaultValue, setExpectedElementCount, setExpectedWidth, setFormat, toString, tupleSchema, type, valueFromString, valueToString, variantSchema
booleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
booleanProperty, booleanProperty, hasProperties, intProperty, intProperty, pluginPrefix, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setProperty
public static final String WILDCARD
public static final DynamicColumn WILDCARD_COLUMN
public DynamicColumn(String name)
public ColumnMetadata.StructureType structureType()
public boolean isDynamic()
ColumnMetadata
isDynamic
in interface ColumnMetadata
isDynamic
in class AbstractColumnMetadata
true
if the column does not yet have a concrete
type, false
if the column type is concretepublic MaterializedField schema()
public MaterializedField emptySchema()
public ColumnMetadata cloneEmpty()
ColumnMetadata
public ColumnMetadata copy()
public boolean isEquivalent(ColumnMetadata o)
ColumnMetadata
isEquivalent
in interface ColumnMetadata
isEquivalent
in class AbstractColumnMetadata
public String columnString()
ColumnMetadata
columnString
in interface ColumnMetadata
columnString
in class AbstractColumnMetadata
public String typeString()
ColumnMetadata
typeString
in interface ColumnMetadata
typeString
in class AbstractColumnMetadata
Copyright © 1970 The Apache Software Foundation. All rights reserved.