Class TableMetadataUnit
java.lang.Object
org.apache.drill.metastore.components.tables.TableMetadataUnit
Class that represents one row in Drill Metastore Tables which is a generic representation of metastore metadata
suitable to any metastore table metadata type (table, segment, file, row group, partition).
Is used to read and write data from / to Drill Metastore Tables implementation.
Note: changing field order and adding new fields may break backward compatibility in existing
Metastore implementations. It is recommended to add new information into
additionalMetadata
field instead.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Contains schema metadata, including lists of columns which belong to table, segment, file, row group or partition. -
Field Summary
Modifier and TypeFieldDescriptionstatic final TableMetadataUnit
static final TableMetadataUnit.Schema
-
Method Summary
-
Field Details
-
SCHEMA
-
EMPTY_UNIT
-
-
Method Details
-
builder
-
storagePlugin
-
workspace
-
tableName
-
owner
-
tableType
-
metadataType
-
metadataKey
-
location
-
interestingColumns
-
schema
-
columnsStatistics
-
metadataStatistics
-
lastModifiedTime
-
partitionKeys
-
additionalMetadata
-
metadataIdentifier
-
column
-
locations
-
partitionValues
-
path
-
rowGroupIndex
-
hostAffinity
-
toBuilder
-
hashCode
public int hashCode() -
equals
-
toString
-