Class SnapshotTableDefinition.Builder (2.45.0)

public abstract static class SnapshotTableDefinition.Builder extends TableDefinition.Builder<SnapshotTableDefinition,SnapshotTableDefinition.Builder>

Inheritance

java.lang.Object > TableDefinition.Builder > SnapshotTableDefinition.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract SnapshotTableDefinition build()

Creates a SnapshotTableDefinition object.

Returns
Type Description
SnapshotTableDefinition
Overrides

setBaseTableId(TableId baseTableId)

public abstract SnapshotTableDefinition.Builder setBaseTableId(TableId baseTableId)

Reference describing the ID of the table that was snapshot. *

Parameter
Name Description
baseTableId TableId
Returns
Type Description
SnapshotTableDefinition.Builder

setClustering(Clustering clustering)

public abstract SnapshotTableDefinition.Builder setClustering(Clustering clustering)
Parameter
Name Description
clustering Clustering
Returns
Type Description
SnapshotTableDefinition.Builder

setRangePartitioning(RangePartitioning rangePartitioning)

public abstract SnapshotTableDefinition.Builder setRangePartitioning(RangePartitioning rangePartitioning)
Parameter
Name Description
rangePartitioning RangePartitioning
Returns
Type Description
SnapshotTableDefinition.Builder

setSnapshotTime(String dateTime)

public abstract SnapshotTableDefinition.Builder setSnapshotTime(String dateTime)

The time at which the base table was snapshot. This value is reported in the JSON response using RFC3339 format. *

Parameter
Name Description
dateTime String
Returns
Type Description
SnapshotTableDefinition.Builder

setTimePartitioning(TimePartitioning timePartitioning)

public abstract SnapshotTableDefinition.Builder setTimePartitioning(TimePartitioning timePartitioning)
Parameter
Name Description
timePartitioning TimePartitioning
Returns
Type Description
SnapshotTableDefinition.Builder