Class Options (2.21.0)

public final class Options implements Serializable

Inheritance

Object > Options

Implements

Serializable

Static Methods

bufferRows(int arg0)

public static Options.ReadAndQueryOption bufferRows(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
ReadAndQueryOption

commitStats()

public static Options.TransactionOption commitStats()
Returns
Type Description
TransactionOption

dataBoostEnabled(Boolean arg0)

public static Options.DataBoostQueryOption dataBoostEnabled(Boolean arg0)
Parameter
Name Description
arg0 Boolean
Returns
Type Description
com.google.cloud.spanner.Options.DataBoostQueryOption

decodeMode(DecodeMode arg0)

public static Options.ReadAndQueryOption decodeMode(DecodeMode arg0)
Parameter
Name Description
arg0 DecodeMode
Returns
Type Description
ReadAndQueryOption

directedRead(DirectedReadOptions arg0)

public static Options.ReadAndQueryOption directedRead(DirectedReadOptions arg0)
Parameter
Name Description
arg0 com.google.spanner.v1.DirectedReadOptions
Returns
Type Description
ReadAndQueryOption

etag(String arg0)

public static Options.DeleteAdminApiOption etag(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
DeleteAdminApiOption

excludeTxnFromChangeStreams()

public static Options.UpdateTransactionOption excludeTxnFromChangeStreams()
Returns
Type Description
UpdateTransactionOption

filter(String arg0)

public static Options.ListOption filter(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ListOption

limit(long arg0)

public static Options.ReadOption limit(long arg0)
Parameter
Name Description
arg0 long
Returns
Type Description
ReadOption

maxCommitDelay(Duration arg0)

public static Options.TransactionOption maxCommitDelay(Duration arg0)
Parameter
Name Description
arg0 Duration
Returns
Type Description
TransactionOption

optimisticLock()

public static Options.TransactionOption optimisticLock()
Returns
Type Description
TransactionOption

orderBy(Options.RpcOrderBy arg0)

public static Options.ReadOption orderBy(Options.RpcOrderBy arg0)
Parameter
Name Description
arg0 RpcOrderBy
Returns
Type Description
ReadOption

pageSize(int arg0)

public static Options.ListOption pageSize(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
ListOption

pageToken(String arg0)

public static Options.ListOption pageToken(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ListOption

prefetchChunks(int arg0)

public static Options.ReadAndQueryOption prefetchChunks(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
ReadAndQueryOption

priority(Options.RpcPriority arg0)

public static Options.ReadQueryUpdateTransactionOption priority(Options.RpcPriority arg0)
Parameter
Name Description
arg0 RpcPriority
Returns
Type Description
ReadQueryUpdateTransactionOption

tag(String arg0)

public static Options.ReadQueryUpdateTransactionOption tag(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
ReadQueryUpdateTransactionOption

validateOnly(Boolean arg0)

public static Options.CreateUpdateDeleteAdminApiOption validateOnly(Boolean arg0)
Parameter
Name Description
arg0 Boolean
Returns
Type Description
CreateUpdateDeleteAdminApiOption

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides