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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TableDefinition.Type
EXTERNAL
A BigQuery table backed by external data.static TableDefinition.Type
MATERIALIZED_VIEW
SQL query whose result is persisted.static TableDefinition.Type
MODEL
A BigQuery table representing BigQuery ML Model.static TableDefinition.Type
SNAPSHOT
static TableDefinition.Type
TABLE
A normal BigQuery table.static TableDefinition.Type
VIEW
A virtual table defined by a SQL query.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableDefinition.Type
valueOf(String constant)
Get the Type for the given String constant, and allow unrecognized values.static TableDefinition.Type
valueOfStrict(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.
-
-
-
Field Detail
-
TABLE
public static final TableDefinition.Type TABLE
A normal BigQuery table. Instances ofTableDefinition
for this type are implemented byStandardTableDefinition
.
-
VIEW
public static final TableDefinition.Type VIEW
A virtual table defined by a SQL query. Instances ofTableDefinition
for this type are implemented byViewDefinition
.- See Also:
- Views
-
MATERIALIZED_VIEW
public static final TableDefinition.Type MATERIALIZED_VIEW
SQL query whose result is persisted. Instances ofMaterializedViewDefinition
for this type are implemented byMaterializedViewDefinition
.- See Also:
- Views
-
EXTERNAL
public static final TableDefinition.Type EXTERNAL
A BigQuery table backed by external data. Instances ofTableDefinition
for this type are implemented byExternalTableDefinition
.- See Also:
- Federated Data Sources
-
MODEL
public static final TableDefinition.Type MODEL
A BigQuery table representing BigQuery ML Model.- See Also:
- BigQuery ML Model
-
SNAPSHOT
public static final TableDefinition.Type SNAPSHOT
-
-
Method Detail
-
valueOfStrict
public static TableDefinition.Type valueOfStrict(String constant)
Get the Type for the given String constant, and throw an exception if the constant is not recognized.
-
valueOf
public static TableDefinition.Type valueOf(String constant)
Get the Type for the given String constant, and allow unrecognized values.
-
values
public static TableDefinition.Type[] values()
Return the known values for Type.
-
-