public class SpannerTableStatements extends Object
| Constructor and Description |
|---|
SpannerTableStatements(SpannerDialect spannerDialect) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
createTable(org.hibernate.mapping.Table table,
org.hibernate.boot.Metadata metadata)
Generates the statements needed to create a table.
|
List<String> |
dropTable(org.hibernate.mapping.Table table)
Generates the statements needed to drop a table.
|
void |
initializeSpannerDatabaseInfo(SpannerDatabaseInfo spannerDatabaseInfo)
Initializes the
SpannerDatabaseInfo which contains information about what tables and
indices exist in the Spanner database. |
public SpannerTableStatements(SpannerDialect spannerDialect)
public void initializeSpannerDatabaseInfo(SpannerDatabaseInfo spannerDatabaseInfo)
SpannerDatabaseInfo which contains information about what tables and
indices exist in the Spanner database.spannerDatabaseInfo - the SpannerDatabaseInfo to load.public List<String> dropTable(org.hibernate.mapping.Table table)
Copyright © 2022 Google LLC. All rights reserved.