Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.admin.database.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.spanner.admin.database.v1.stub | |
com.google.cloud.spanner.spi.v1 | |
com.google.spanner.admin.database.v1 |
Modifier and Type | Method and Description |
---|---|
Database |
DatabaseInfo.getProto()
Returns the raw proto instance that was used to construct this
Database . |
Modifier and Type | Method and Description |
---|---|
Database |
DatabaseAdminClient.getDatabase(DatabaseName name)
Gets the state of a Cloud Spanner database.
|
Database |
DatabaseAdminClient.getDatabase(GetDatabaseRequest request)
Gets the state of a Cloud Spanner database.
|
Database |
DatabaseAdminClient.getDatabase(String name)
Gets the state of a Cloud Spanner database.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Database,CreateDatabaseMetadata> |
DatabaseAdminClient.createDatabaseAsync(CreateDatabaseRequest request)
Creates a new Cloud Spanner database and starts to prepare it for serving.
|
OperationFuture<Database,CreateDatabaseMetadata> |
DatabaseAdminClient.createDatabaseAsync(InstanceName parent,
String createStatement)
Creates a new Cloud Spanner database and starts to prepare it for serving.
|
OperationFuture<Database,CreateDatabaseMetadata> |
DatabaseAdminClient.createDatabaseAsync(String parent,
String createStatement)
Creates a new Cloud Spanner database and starts to prepare it for serving.
|
OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> |
DatabaseAdminClient.createDatabaseOperationCallable()
Creates a new Cloud Spanner database and starts to prepare it for serving.
|
OperationCallSettings<CreateDatabaseRequest,Database,CreateDatabaseMetadata> |
DatabaseAdminSettings.createDatabaseOperationSettings()
Returns the object with the settings used for calls to createDatabase.
|
OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> |
DatabaseAdminSettings.Builder.createDatabaseOperationSettings()
Returns the builder for the settings used for calls to createDatabase.
|
UnaryCallable<GetDatabaseRequest,Database> |
DatabaseAdminClient.getDatabaseCallable()
Gets the state of a Cloud Spanner database.
|
UnaryCallSettings<GetDatabaseRequest,Database> |
DatabaseAdminSettings.getDatabaseSettings()
Returns the object with the settings used for calls to getDatabase.
|
UnaryCallSettings.Builder<GetDatabaseRequest,Database> |
DatabaseAdminSettings.Builder.getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(InstanceName parent,
String databaseId,
BackupName backup)
Create a new database by restoring from a completed backup.
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(InstanceName parent,
String databaseId,
String backup)
Create a new database by restoring from a completed backup.
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(RestoreDatabaseRequest request)
Create a new database by restoring from a completed backup.
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(String parent,
String databaseId,
BackupName backup)
Create a new database by restoring from a completed backup.
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(String parent,
String databaseId,
String backup)
Create a new database by restoring from a completed backup.
|
OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseOperationCallable()
Create a new database by restoring from a completed backup.
|
OperationCallSettings<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> |
DatabaseAdminSettings.restoreDatabaseOperationSettings()
Returns the object with the settings used for calls to restoreDatabase.
|
OperationCallSettings.Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> |
DatabaseAdminSettings.Builder.restoreDatabaseOperationSettings()
Returns the builder for the settings used for calls to restoreDatabase.
|
Modifier and Type | Method and Description |
---|---|
static com.google.api.core.ApiFuture<DatabaseAdminClient.ListDatabasesPagedResponse> |
DatabaseAdminClient.ListDatabasesPagedResponse.createAsync(PageContext<ListDatabasesRequest,ListDatabasesResponse,Database> context,
com.google.api.core.ApiFuture<ListDatabasesResponse> futureResponse) |
protected DatabaseAdminClient.ListDatabasesPage |
DatabaseAdminClient.ListDatabasesPage.createPage(PageContext<ListDatabasesRequest,ListDatabasesResponse,Database> context,
ListDatabasesResponse response) |
com.google.api.core.ApiFuture<DatabaseAdminClient.ListDatabasesPage> |
DatabaseAdminClient.ListDatabasesPage.createPageAsync(PageContext<ListDatabasesRequest,ListDatabasesResponse,Database> context,
com.google.api.core.ApiFuture<ListDatabasesResponse> futureResponse) |
Modifier and Type | Method and Description |
---|---|
Database |
GapicSpannerRpc.getDatabase(String databaseName) |
Database |
SpannerRpc.getDatabase(String databaseName) |
Modifier and Type | Method and Description |
---|---|
OperationFuture<Database,CreateDatabaseMetadata> |
GapicSpannerRpc.createDatabase(String instanceName,
String createDatabaseStatement,
Iterable<String> additionalStatements,
Database databaseInfo) |
OperationFuture<Database,CreateDatabaseMetadata> |
SpannerRpc.createDatabase(String instanceName,
String createDatabaseStatement,
Iterable<String> additionalStatements,
Database database) |
SpannerRpc.Paginated<Database> |
GapicSpannerRpc.listDatabases(String instanceName,
int pageSize,
String pageToken) |
SpannerRpc.Paginated<Database> |
SpannerRpc.listDatabases(String instanceName,
int pageSize,
String pageToken) |
OperationFuture<Database,RestoreDatabaseMetadata> |
GapicSpannerRpc.restoreDatabase(Restore restore) |
OperationFuture<Database,RestoreDatabaseMetadata> |
SpannerRpc.restoreDatabase(Restore restore)
Restore a backup into the given database.
|
Modifier and Type | Method and Description |
---|---|
Database |
Database.Builder.build() |
Database |
Database.Builder.buildPartial() |
Database |
DatabaseAdminGrpc.DatabaseAdminBlockingStub.getDatabase(GetDatabaseRequest request)
Gets the state of a Cloud Spanner database.
|
Database |
ListDatabasesResponseOrBuilder.getDatabases(int index)
Databases that matched the request.
|
Database |
ListDatabasesResponse.getDatabases(int index)
Databases that matched the request.
|
Database |
ListDatabasesResponse.Builder.getDatabases(int index)
Databases that matched the request.
|
static Database |
Database.getDefaultInstance() |
Database |
Database.getDefaultInstanceForType() |
Database |
Database.Builder.getDefaultInstanceForType() |
static Database |
Database.parseDelimitedFrom(InputStream input) |
static Database |
Database.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Database |
Database.parseFrom(byte[] data) |
static Database |
Database.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Database |
Database.parseFrom(ByteBuffer data) |
static Database |
Database.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Database |
Database.parseFrom(ByteString data) |
static Database |
Database.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Database |
Database.parseFrom(CodedInputStream input) |
static Database |
Database.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Database |
Database.parseFrom(InputStream input) |
static Database |
Database.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Database> |
DatabaseAdminGrpc.DatabaseAdminFutureStub.getDatabase(GetDatabaseRequest request)
Gets the state of a Cloud Spanner database.
|
List<Database> |
ListDatabasesResponseOrBuilder.getDatabasesList()
Databases that matched the request.
|
List<Database> |
ListDatabasesResponse.getDatabasesList()
Databases that matched the request.
|
List<Database> |
ListDatabasesResponse.Builder.getDatabasesList()
Databases that matched the request.
|
static MethodDescriptor<GetDatabaseRequest,Database> |
DatabaseAdminGrpc.getGetDatabaseMethod() |
Parser<Database> |
Database.getParserForType() |
static Parser<Database> |
Database.parser() |
Modifier and Type | Method and Description |
---|---|
ListDatabasesResponse.Builder |
ListDatabasesResponse.Builder.addDatabases(Database value)
Databases that matched the request.
|
ListDatabasesResponse.Builder |
ListDatabasesResponse.Builder.addDatabases(int index,
Database value)
Databases that matched the request.
|
Database.Builder |
Database.Builder.mergeFrom(Database other) |
static Database.Builder |
Database.newBuilder(Database prototype) |
ListDatabasesResponse.Builder |
ListDatabasesResponse.Builder.setDatabases(int index,
Database value)
Databases that matched the request.
|
Modifier and Type | Method and Description |
---|---|
ListDatabasesResponse.Builder |
ListDatabasesResponse.Builder.addAllDatabases(Iterable<? extends Database> values)
Databases that matched the request.
|
void |
DatabaseAdminGrpc.DatabaseAdminImplBase.getDatabase(GetDatabaseRequest request,
StreamObserver<Database> responseObserver)
Gets the state of a Cloud Spanner database.
|
void |
DatabaseAdminGrpc.DatabaseAdminStub.getDatabase(GetDatabaseRequest request,
StreamObserver<Database> responseObserver)
Gets the state of a Cloud Spanner database.
|
Copyright © 2022 Google LLC. All rights reserved.