Package org.apache.druid.catalog.model
Class TableSpec
java.lang.Object
org.apache.druid.catalog.model.TableSpec
Definition of a table "hint" in the metastore, between client and
Druid, and between Druid nodes.
This class is a simple holder of values. Semantics on top of the values are provided separately: by the catalog object model for writes, and by various Java classes for reads.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumns()booleaninthashCode()toString()type()voidvalidate()Validate the final spec.withColumns(List<ColumnSpec> columns) withProperties(Map<String, Object> properties)
-
Constructor Details
-
TableSpec
-
-
Method Details
-
withProperties
-
withColumns
-
type
-
properties
-
columns
-
validate
public void validate()Validate the final spec. Updates use this same class, but allow the spec to be partial (and thus inconsistent). Validation should be done on the merged result, not on the updates themselves. -
toString
-
equals
-
hashCode
public int hashCode()
-