Class TableDefinition.Type (2.6.2)

public static final class TableDefinition.Type extends StringEnumValue

The table type.

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > TableDefinition.Type

Fields

EXTERNAL

public static final TableDefinition.Type EXTERNAL

A BigQuery table backed by external data. Instances of TableDefinition for this type are implemented by ExternalTableDefinition.

Field Value
TypeDescription
TableDefinition.Type

MATERIALIZED_VIEW

public static final TableDefinition.Type MATERIALIZED_VIEW

SQL query whose result is persisted. Instances of MaterializedViewDefinition for this type are implemented by MaterializedViewDefinition.

Field Value
TypeDescription
TableDefinition.Type

MODEL

public static final TableDefinition.Type MODEL

A BigQuery table representing BigQuery ML Model.

Field Value
TypeDescription
TableDefinition.Type

SNAPSHOT

public static final TableDefinition.Type SNAPSHOT
Field Value
TypeDescription
TableDefinition.Type

TABLE

public static final TableDefinition.Type TABLE

A normal BigQuery table. Instances of TableDefinition for this type are implemented by StandardTableDefinition.

Field Value
TypeDescription
TableDefinition.Type

VIEW

public static final TableDefinition.Type VIEW

A virtual table defined by a SQL query. Instances of TableDefinition for this type are implemented by ViewDefinition.

Field Value
TypeDescription
TableDefinition.Type

Methods

valueOf(String constant)

public static TableDefinition.Type valueOf(String constant)

Get the Type for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
TableDefinition.Type

valueOfStrict(String constant)

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.

Parameter
NameDescription
constantString
Returns
TypeDescription
TableDefinition.Type

values()

public static TableDefinition.Type[] values()

Return the known values for Type.

Returns
TypeDescription
Type[]