Interface BatchReadOnlyTransaction (2.25.1)

public interface BatchReadOnlyTransaction extends ReadOnlyTransaction

Implements

ReadOnlyTransaction

Methods

cleanup()

public default void cleanup()

execute(Partition arg0)

public abstract ResultSet execute(Partition arg0)
Parameter
Name Description
arg0 Partition
Returns
Type Description
ResultSet
Exceptions
Type Description
SpannerException

getBatchTransactionId()

public abstract BatchTransactionId getBatchTransactionId()
Returns
Type Description
BatchTransactionId

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

public abstract List<Partition> partitionQuery(PartitionOptions arg0, Statement arg1, Options.QueryOption[] arg2)
Parameters
Name Description
arg0 PartitionOptions
arg1 Statement
arg2 QueryOption[]
Returns
Type Description
List<Partition>
Exceptions
Type Description
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
Name Description
arg0 PartitionOptions
arg1 String
arg2 KeySet
arg3 Iterable<String>
arg4 ReadOption[]
Returns
Type Description
List<Partition>
Exceptions
Type Description
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
Name Description
arg0 PartitionOptions
arg1 String
arg2 String
arg3 KeySet
arg4 Iterable<String>
arg5 ReadOption[]
Returns
Type Description
List<Partition>
Exceptions
Type Description
SpannerException