Send feedback
Interface DatabaseClient (2.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.21.0 keyboard_arrow_down
public interface DatabaseClient
Methods
batchWriteAtLeastOnce(Iterable<MutationGroup> arg0, Options.TransactionOption[] arg1)
public abstract ServerStream<BatchWriteResponse> batchWriteAtLeastOnce ( Iterable<MutationGroup> arg0 , Options . TransactionOption [] arg1 )
Returns
Type
Description
ServerStream <com.google.spanner.v1.BatchWriteResponse >
executePartitionedUpdate(Statement arg0, Options.UpdateOption[] arg1)
public abstract long executePartitionedUpdate ( Statement arg0 , Options . UpdateOption [] arg1 )
Returns
Type
Description
long
getDatabaseRole()
public default String getDatabaseRole ()
Returns
Type
Description
String
getDialect()
public default Dialect getDialect ()
readOnlyTransaction()
public abstract ReadOnlyTransaction readOnlyTransaction ()
readOnlyTransaction(TimestampBound arg0)
public abstract ReadOnlyTransaction readOnlyTransaction ( TimestampBound arg0 )
readWriteTransaction(Options.TransactionOption[] arg0)
public abstract TransactionRunner readWriteTransaction ( Options . TransactionOption [] arg0 )
runAsync(Options.TransactionOption[] arg0)
public abstract AsyncRunner runAsync ( Options . TransactionOption [] arg0 )
singleUse()
public abstract ReadContext singleUse ()
singleUse(TimestampBound arg0)
public abstract ReadContext singleUse ( TimestampBound arg0 )
singleUseReadOnlyTransaction()
public abstract ReadOnlyTransaction singleUseReadOnlyTransaction ()
singleUseReadOnlyTransaction(TimestampBound arg0)
public abstract ReadOnlyTransaction singleUseReadOnlyTransaction ( TimestampBound arg0 )
transactionManager(Options.TransactionOption[] arg0)
public abstract TransactionManager transactionManager ( Options . TransactionOption [] arg0 )
transactionManagerAsync(Options.TransactionOption[] arg0)
public abstract AsyncTransactionManager transactionManagerAsync ( Options . TransactionOption [] arg0 )
write(Iterable<Mutation> arg0)
public abstract Timestamp write ( Iterable<Mutation> arg0 )
Returns
Type
Description
com.google.cloud.Timestamp
writeAtLeastOnce(Iterable<Mutation> arg0)
public abstract Timestamp writeAtLeastOnce ( Iterable<Mutation> arg0 )
Returns
Type
Description
com.google.cloud.Timestamp
writeAtLeastOnceWithOptions(Iterable<Mutation> arg0, Options.TransactionOption[] arg1)
public abstract CommitResponse writeAtLeastOnceWithOptions ( Iterable<Mutation> arg0 , Options . TransactionOption [] arg1 )
writeWithOptions(Iterable<Mutation> arg0, Options.TransactionOption[] arg1)
public abstract CommitResponse writeWithOptions ( Iterable<Mutation> arg0 , Options . TransactionOption [] arg1 )
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]