Class SnapshotTableDefinition.Builder (2.37.2)

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
TypeDescription
SnapshotTableDefinition
Overrides

setBaseTableId(TableId baseTableId)

public abstract SnapshotTableDefinition.Builder setBaseTableId(TableId baseTableId)

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

Parameter
NameDescription
baseTableIdTableId
Returns
TypeDescription
SnapshotTableDefinition.Builder

setClustering(Clustering clustering)

public abstract SnapshotTableDefinition.Builder setClustering(Clustering clustering)
Parameter
NameDescription
clusteringClustering
Returns
TypeDescription
SnapshotTableDefinition.Builder

setRangePartitioning(RangePartitioning rangePartitioning)

public abstract SnapshotTableDefinition.Builder setRangePartitioning(RangePartitioning rangePartitioning)
Parameter
NameDescription
rangePartitioningRangePartitioning
Returns
TypeDescription
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
NameDescription
dateTimeString
Returns
TypeDescription
SnapshotTableDefinition.Builder

setTimePartitioning(TimePartitioning timePartitioning)

public abstract SnapshotTableDefinition.Builder setTimePartitioning(TimePartitioning timePartitioning)
Parameter
NameDescription
timePartitioningTimePartitioning
Returns
TypeDescription
SnapshotTableDefinition.Builder