Interface TransactionContext (2.16.1)

public interface TransactionContext extends ReadContext

Implements

ReadContext

Methods

analyzeUpdate(Statement arg0, ReadContext.QueryAnalyzeMode arg1, Options.UpdateOption[] arg2)

public default ResultSetStats analyzeUpdate(Statement arg0, ReadContext.QueryAnalyzeMode arg1, Options.UpdateOption[] arg2)
Parameters
NameDescription
arg0Statement
arg1QueryAnalyzeMode
arg2UpdateOption[]
Returns
TypeDescription
com.google.spanner.v1.ResultSetStats

analyzeUpdateStatement(Statement arg0, ReadContext.QueryAnalyzeMode arg1, Options.UpdateOption[] arg2)

public default ResultSet analyzeUpdateStatement(Statement arg0, ReadContext.QueryAnalyzeMode arg1, Options.UpdateOption[] arg2)
Parameters
NameDescription
arg0Statement
arg1QueryAnalyzeMode
arg2UpdateOption[]
Returns
TypeDescription
ResultSet

batchUpdate(Iterable<Statement> arg0, Options.UpdateOption[] arg1)

public abstract long[] batchUpdate(Iterable<Statement> arg0, Options.UpdateOption[] arg1)
Parameters
NameDescription
arg0Iterable<Statement>
arg1UpdateOption[]
Returns
TypeDescription
long[]

batchUpdateAsync(Iterable<Statement> arg0, Options.UpdateOption[] arg1)

public abstract ApiFuture<long[]> batchUpdateAsync(Iterable<Statement> arg0, Options.UpdateOption[] arg1)
Parameters
NameDescription
arg0Iterable<Statement>
arg1UpdateOption[]
Returns
TypeDescription
ApiFuture<long[]>

buffer(Mutation arg0)

public abstract void buffer(Mutation arg0)
Parameter
NameDescription
arg0Mutation

buffer(Iterable<Mutation> arg0)

public abstract void buffer(Iterable<Mutation> arg0)
Parameter
NameDescription
arg0Iterable<Mutation>

bufferAsync(Mutation arg0)

public default ApiFuture<Void> bufferAsync(Mutation arg0)
Parameter
NameDescription
arg0Mutation
Returns
TypeDescription
ApiFuture<Void>

bufferAsync(Iterable<Mutation> arg0)

public default ApiFuture<Void> bufferAsync(Iterable<Mutation> arg0)
Parameter
NameDescription
arg0Iterable<Mutation>
Returns
TypeDescription
ApiFuture<Void>

executeUpdate(Statement arg0, Options.UpdateOption[] arg1)

public abstract long executeUpdate(Statement arg0, Options.UpdateOption[] arg1)
Parameters
NameDescription
arg0Statement
arg1UpdateOption[]
Returns
TypeDescription
long

executeUpdateAsync(Statement arg0, Options.UpdateOption[] arg1)

public abstract ApiFuture<Long> executeUpdateAsync(Statement arg0, Options.UpdateOption[] arg1)
Parameters
NameDescription
arg0Statement
arg1UpdateOption[]
Returns
TypeDescription
ApiFuture<Long>