Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.connection |
Internal API for Google Cloud Spanner.
|
com.google.cloud.spanner.testing |
Modifier and Type | Method and Description |
---|---|
static Dialect |
Dialect.fromName(String name) |
static Dialect |
Dialect.fromProto(DatabaseDialect databaseDialect) |
default Dialect |
DatabaseClient.getDialect()
Returns the SQL dialect that is used by the database.
|
Dialect |
DatabaseInfo.getDialect()
The dialect that is used by the database.
|
static Dialect |
Dialect.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialect[] |
Dialect.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default OperationFuture<Database,CreateDatabaseMetadata> |
DatabaseAdminClient.createDatabase(String instanceId,
String createDatabaseStatement,
Dialect dialect,
Iterable<String> statements)
Creates a new database in a Cloud Spanner instance with the given
Dialect . |
DatabaseInfo.Builder |
DatabaseInfo.Builder.setDialect(Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
default Dialect |
Connection.getDialect()
The
Dialect that is used by this Connection . |
Modifier and Type | Method and Description |
---|---|
static AbstractStatementParser |
AbstractStatementParser.getInstance(Dialect dialect)
Get an instance of
AbstractStatementParser for the specified dialect. |
Modifier and Type | Method and Description |
---|---|
Database |
RemoteSpannerHelper.createTestDatabase(Dialect dialect,
Iterable<String> statements)
Creates a test database defined by
statements in the test instance. |
Copyright © 2022 Google LLC. All rights reserved.