public class DynamicColumn extends AbstractColumnMetadata
ColumnMetadata.StructureType| Modifier and Type | Field and Description |
|---|---|
static String |
WILDCARD |
static DynamicColumn |
WILDCARD_COLUMN |
mode, name, precision, scale, typeBLANK_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_SUFFIXDRILL_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, variantSchemabooleanProperty, booleanProperty, hashCode, hasProperties, intProperty, intProperty, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitbooleanProperty, booleanProperty, hasProperties, intProperty, intProperty, pluginPrefix, property, property, removeProperty, setBooleanProperty, setIntProperty, setProperties, setPropertypublic static final String WILDCARD
public static final DynamicColumn WILDCARD_COLUMN
public DynamicColumn(String name)
public ColumnMetadata.StructureType structureType()
public boolean isDynamic()
ColumnMetadataisDynamic in interface ColumnMetadataisDynamic in class AbstractColumnMetadatatrue 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()
ColumnMetadatapublic ColumnMetadata copy()
public boolean isEquivalent(ColumnMetadata o)
ColumnMetadataisEquivalent in interface ColumnMetadataisEquivalent in class AbstractColumnMetadatapublic String columnString()
ColumnMetadatacolumnString in interface ColumnMetadatacolumnString in class AbstractColumnMetadatapublic String typeString()
ColumnMetadatatypeString in interface ColumnMetadatatypeString in class AbstractColumnMetadataCopyright © 2021 The Apache Software Foundation. All rights reserved.