Interface TransactionContext (2.19.3)

public interface TransactionContext extends ReadContext

Implements

ReadContext

Methods

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

public default ResultSetStats analyzeUpdate(Statement arg0, ReadContext.QueryAnalyzeMode arg1, Options.UpdateOption[] arg2)
Parameters
Name Description
arg0 Statement
arg1 QueryAnalyzeMode
arg2 UpdateOption[]
Returns
Type Description
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
Name Description
arg0 Statement
arg1 QueryAnalyzeMode
arg2 UpdateOption[]
Returns
Type Description
ResultSet

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

public abstract long[] batchUpdate(Iterable<Statement> arg0, Options.UpdateOption[] arg1)
Parameters
Name Description
arg0 Iterable<Statement>
arg1 UpdateOption[]
Returns
Type Description
long[]

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

public abstract ApiFuture<long[]> batchUpdateAsync(Iterable<Statement> arg0, Options.UpdateOption[] arg1)
Parameters
Name Description
arg0 Iterable<Statement>
arg1 UpdateOption[]
Returns
Type Description
ApiFuture<long[]>

buffer(Mutation arg0)

public abstract void buffer(Mutation arg0)
Parameter
Name Description
arg0 Mutation

buffer(Iterable<Mutation> arg0)

public abstract void buffer(Iterable<Mutation> arg0)
Parameter
Name Description
arg0 Iterable<Mutation>

bufferAsync(Mutation arg0)

public default ApiFuture<Void> bufferAsync(Mutation arg0)
Parameter
Name Description
arg0 Mutation
Returns
Type Description
ApiFuture<Void>

bufferAsync(Iterable<Mutation> arg0)

public default ApiFuture<Void> bufferAsync(Iterable<Mutation> arg0)
Parameter
Name Description
arg0 Iterable<Mutation>
Returns
Type Description
ApiFuture<Void>

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

public abstract long executeUpdate(Statement arg0, Options.UpdateOption[] arg1)
Parameters
Name Description
arg0 Statement
arg1 UpdateOption[]
Returns
Type Description
long

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

public abstract ApiFuture<Long> executeUpdateAsync(Statement arg0, Options.UpdateOption[] arg1)
Parameters
Name Description
arg0 Statement
arg1 UpdateOption[]
Returns
Type Description
ApiFuture<Long>