Cloud Spanner API
Stay organized with collections
Save and categorize content based on your preferences.
Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
Service: spanner.googleapis.com
The Service name spanner.googleapis.com
is needed to create RPC client stubs.
Methods |
CancelOperation
|
Starts asynchronous cancellation on a long-running operation. |
DeleteOperation
|
Deletes a long-running operation. |
GetOperation
|
Gets the latest state of a long-running operation. |
ListOperations
|
Lists operations that match the specified filter in the request. |
WaitOperation
|
Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. |
Methods |
BatchCreateSessions
|
Creates multiple new sessions. |
BatchWrite
|
Batches the supplied mutation groups in a collection of efficient transactions. |
BeginTransaction
|
Begins a new transaction. |
Commit
|
Commits a transaction. |
CreateSession
|
Creates a new session. |
DeleteSession
|
Ends a session, releasing server resources associated with it. |
ExecuteBatchDml
|
Executes a batch of SQL DML statements. |
ExecuteSql
|
Executes an SQL statement, returning all results in a single reply. |
ExecuteStreamingSql
|
Like ExecuteSql , except returns the result set as a stream. |
GetSession
|
Gets a session. |
ListSessions
|
Lists all sessions in a given database. |
PartitionQuery
|
Creates a set of partition tokens that can be used to execute a query operation in parallel. |
PartitionRead
|
Creates a set of partition tokens that can be used to execute a read operation in parallel. |
Read
|
Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql . |
Rollback
|
Rolls back a transaction, releasing any locks it holds. |
StreamingRead
|
Like Read , except returns the result set as a stream. |
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-07-16 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"
}]