Interface DatabaseClient (2.20.2)
Stay organized with collections
Save and categorize content based on your preferences.
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)
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-08-28 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-08-28 UTC.",
"confidential": False
}