Uses of Enum
com.google.cloud.spanner.Dialect
Packages that use Dialect
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
Internal API for Google Cloud Spanner.
-
Uses of Dialect in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return DialectModifier and TypeMethodDescriptionstatic Dialectstatic DialectDialect.fromProto(DatabaseDialect databaseDialect) default DialectDatabaseClient.getDialect()Returns the SQL dialect that is used by the database.DatabaseInfo.getDialect()The dialect that is used by the database.static DialectReturns 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.Methods in com.google.cloud.spanner with parameters of type DialectModifier and TypeMethodDescriptiondefault com.google.api.gax.longrunning.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 givenDialect.Type.getSpannerTypeName(Dialect dialect) Returns the type name as used by the database in the given dialect.DatabaseInfo.Builder.setDialect(Dialect dialect) -
Uses of Dialect in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection that return DialectModifier and TypeMethodDescriptiondefault DialectConnection.getDialect()TheDialectthat is used by thisConnection.ConnectionOptions.getDialect()Methods in com.google.cloud.spanner.connection with parameters of type DialectModifier and TypeMethodDescriptionstatic AbstractStatementParserAbstractStatementParser.getInstance(Dialect dialect) Get an instance ofAbstractStatementParserfor the specified dialect. -
Uses of Dialect in com.google.cloud.spanner.testing
Methods in com.google.cloud.spanner.testing with parameters of type DialectModifier and TypeMethodDescriptionRemoteSpannerHelper.createTestDatabase(Dialect dialect, Iterable<String> statements) Creates a test database defined bystatementsin the test instance.