Interface BatchReadOnlyTransaction (2.16.1)

public interface BatchReadOnlyTransaction extends ReadOnlyTransaction

Implements

ReadOnlyTransaction

Methods

cleanup()

public default void cleanup()

execute(Partition arg0)

public abstract ResultSet execute(Partition arg0)
Parameter
NameDescription
arg0Partition
Returns
TypeDescription
ResultSet
Exceptions
TypeDescription
SpannerException

getBatchTransactionId()

public abstract BatchTransactionId getBatchTransactionId()
Returns
TypeDescription
BatchTransactionId

partitionQuery(PartitionOptions arg0, Statement arg1, Options.QueryOption[] arg2)

public abstract List<Partition> partitionQuery(PartitionOptions arg0, Statement arg1, Options.QueryOption[] arg2)
Parameters
NameDescription
arg0PartitionOptions
arg1Statement
arg2QueryOption[]
Returns
TypeDescription
List<Partition>
Exceptions
TypeDescription
SpannerException

partitionRead(PartitionOptions arg0, String arg1, KeySet arg2, Iterable<String> arg3, Options.ReadOption[] arg4)

public abstract List<Partition> partitionRead(PartitionOptions arg0, String arg1, KeySet arg2, Iterable<String> arg3, Options.ReadOption[] arg4)
Parameters
NameDescription
arg0PartitionOptions
arg1String
arg2KeySet
arg3Iterable<String>
arg4ReadOption[]
Returns
TypeDescription
List<Partition>
Exceptions
TypeDescription
SpannerException

partitionReadUsingIndex(PartitionOptions arg0, String arg1, String arg2, KeySet arg3, Iterable<String> arg4, Options.ReadOption[] arg5)

public abstract List<Partition> partitionReadUsingIndex(PartitionOptions arg0, String arg1, String arg2, KeySet arg3, Iterable<String> arg4, Options.ReadOption[] arg5)
Parameters
NameDescription
arg0PartitionOptions
arg1String
arg2String
arg3KeySet
arg4Iterable<String>
arg5ReadOption[]
Returns
TypeDescription
List<Partition>
Exceptions
TypeDescription
SpannerException