Package com.google.cloud.bigquery
Class TableDefinition.Type
java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.bigquery.TableDefinition.Type
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TableDefinition
public static final class TableDefinition.Type
extends com.google.cloud.StringEnumValue
The table type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TableDefinition.TypeA BigQuery table backed by external data.static final TableDefinition.TypeSQL query whose result is persisted.static final TableDefinition.TypeA BigQuery table representing BigQuery ML Model.static final TableDefinition.Typestatic final TableDefinition.TypeA normal BigQuery table.static final TableDefinition.TypeA virtual table defined by a SQL query. -
Method Summary
Modifier and TypeMethodDescriptionstatic TableDefinition.TypeGet the Type for the given String constant, and allow unrecognized values.static TableDefinition.TypevalueOfStrict(String constant) Get the Type for the given String constant, and throw an exception if the constant is not recognized.static TableDefinition.Type[]values()Return the known values for Type.Methods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
Field Details
-
TABLE
A normal BigQuery table. Instances ofTableDefinitionfor this type are implemented byStandardTableDefinition. -
VIEW
A virtual table defined by a SQL query. Instances ofTableDefinitionfor this type are implemented byViewDefinition.- See Also:
-
MATERIALIZED_VIEW
SQL query whose result is persisted. Instances ofMaterializedViewDefinitionfor this type are implemented byMaterializedViewDefinition.- See Also:
-
EXTERNAL
A BigQuery table backed by external data. Instances ofTableDefinitionfor this type are implemented byExternalTableDefinition.- See Also:
-
MODEL
A BigQuery table representing BigQuery ML Model.- See Also:
-
SNAPSHOT
-
-
Method Details
-
valueOfStrict
Get the Type for the given String constant, and throw an exception if the constant is not recognized. -
valueOf
Get the Type for the given String constant, and allow unrecognized values. -
values
Return the known values for Type.
-