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.StringEnumValueThe table type.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TableDefinition.TypeEXTERNALA BigQuery table backed by external data.static TableDefinition.TypeMATERIALIZED_VIEWSQL query whose result is persisted.static TableDefinition.TypeMODELA BigQuery table representing BigQuery ML Model.static TableDefinition.TypeSNAPSHOTstatic TableDefinition.TypeTABLEA normal BigQuery table.static TableDefinition.TypeVIEWA virtual table defined by a SQL query.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableDefinition.TypevalueOf(String constant)Get 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.
-
-
-
Field Detail
-
TABLE
public static final TableDefinition.Type TABLE
A normal BigQuery table. Instances ofTableDefinitionfor this type are implemented byStandardTableDefinition.
-
VIEW
public static final TableDefinition.Type VIEW
A virtual table defined by a SQL query. Instances ofTableDefinitionfor this type are implemented byViewDefinition.- See Also:
- Views
-
MATERIALIZED_VIEW
public static final TableDefinition.Type MATERIALIZED_VIEW
SQL query whose result is persisted. Instances ofMaterializedViewDefinitionfor this type are implemented byMaterializedViewDefinition.- See Also:
- Views
-
EXTERNAL
public static final TableDefinition.Type EXTERNAL
A BigQuery table backed by external data. Instances ofTableDefinitionfor 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.
-
-