Class UpdateTableRequest (2.34.0)

public class UpdateTableRequest

Wrapper for com.google.bigtable.admin.v2.UpdateTableRequest

Allows for updating table:

  • Change stream retention period.

Inheritance

Object > UpdateTableRequest

Static Methods

of(String tableId)

public static UpdateTableRequest of(String tableId)
Parameter
NameDescription
tableIdString
Returns
TypeDescription
UpdateTableRequest

Methods

addChangeStreamRetention(Duration retention)

public UpdateTableRequest addChangeStreamRetention(Duration retention)

Update change stream retention period between 1 day and 7 days.

Parameter
NameDescription
retentionorg.threeten.bp.Duration
Returns
TypeDescription
UpdateTableRequest

disableChangeStreamRetention()

public UpdateTableRequest disableChangeStreamRetention()

Disable change stream for table

Returns
TypeDescription
UpdateTableRequest

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toProto(String projectId, String instanceId)

public UpdateTableRequest toProto(String projectId, String instanceId)
Parameters
NameDescription
projectIdString
instanceIdString
Returns
TypeDescription
com.google.bigtable.admin.v2.UpdateTableRequest