Class ConsistencyRequest (2.73.0)

public abstract class ConsistencyRequest

Inheritance

java.lang.Object > ConsistencyRequest

Static Methods

forDataBoost(String tableId)

public static ConsistencyRequest forDataBoost(String tableId)
Parameter
Name Description
tableId String
Returns
Type Description
ConsistencyRequest

forReplication(String tableId)

public static ConsistencyRequest forReplication(String tableId)
Parameter
Name Description
tableId String
Returns
Type Description
ConsistencyRequest

forReplication(String tableId, String consistencyToken)

public static ConsistencyRequest forReplication(String tableId, String consistencyToken)

Creates a request to check consistency using an existing token.

Parameters
Name Description
tableId String

The table ID.

consistencyToken String

The token to check. Must not be null.

Returns
Type Description
ConsistencyRequest

Constructors

ConsistencyRequest()

public ConsistencyRequest()

Methods

getConsistencyToken()

public abstract String getConsistencyToken()

Internal accessor for the consistency token. Must be public to be accessible from the stub package.

Returns
Type Description
String

getMode()

protected abstract CheckConsistencyRequest.ModeCase getMode()
Returns
Type Description
com.google.bigtable.admin.v2.CheckConsistencyRequest.ModeCase

getTableId()

protected abstract String getTableId()
Returns
Type Description
String

toCheckConsistencyProto(TableAdminRequestContext requestContext, String token)

public CheckConsistencyRequest toCheckConsistencyProto(TableAdminRequestContext requestContext, String token)
Parameters
Name Description
requestContext com.google.cloud.bigtable.data.v2.internal.TableAdminRequestContext
token String
Returns
Type Description
com.google.bigtable.admin.v2.CheckConsistencyRequest

toGenerateTokenProto(TableAdminRequestContext requestContext)

public GenerateConsistencyTokenRequest toGenerateTokenProto(TableAdminRequestContext requestContext)
Parameter
Name Description
requestContext com.google.cloud.bigtable.data.v2.internal.TableAdminRequestContext
Returns
Type Description
com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest