Package com.google.cloud.bigquery
Class SnapshotTableDefinition.Builder
java.lang.Object
com.google.cloud.bigquery.TableDefinition.Builder<SnapshotTableDefinition,SnapshotTableDefinition.Builder>
com.google.cloud.bigquery.SnapshotTableDefinition.Builder
- Enclosing class:
- SnapshotTableDefinition
public abstract static class SnapshotTableDefinition.Builder
extends TableDefinition.Builder<SnapshotTableDefinition,SnapshotTableDefinition.Builder>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SnapshotTableDefinitionbuild()Creates aSnapshotTableDefinitionobject.abstract SnapshotTableDefinition.BuildersetBaseTableId(TableId baseTableId) Reference describing the ID of the table that was snapshot.abstract SnapshotTableDefinition.BuildersetClustering(Clustering clustering) abstract SnapshotTableDefinition.BuildersetRangePartitioning(RangePartitioning rangePartitioning) abstract SnapshotTableDefinition.BuildersetSnapshotTime(String dateTime) The time at which the base table was snapshot.abstract SnapshotTableDefinition.BuildersetTimePartitioning(TimePartitioning timePartitioning) Methods inherited from class com.google.cloud.bigquery.TableDefinition.Builder
setSchema, setType
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setBaseTableId
Reference describing the ID of the table that was snapshot. * -
setSnapshotTime
The time at which the base table was snapshot. This value is reported in the JSON response using RFC3339 format. * -
setTimePartitioning
public abstract SnapshotTableDefinition.Builder setTimePartitioning(TimePartitioning timePartitioning) -
setRangePartitioning
public abstract SnapshotTableDefinition.Builder setRangePartitioning(RangePartitioning rangePartitioning) -
setClustering
-
build
Creates aSnapshotTableDefinitionobject.- Specified by:
buildin classTableDefinition.Builder<SnapshotTableDefinition,SnapshotTableDefinition.Builder>
-