Class MySqlSchema
- java.lang.Object
-
- com.exasol.dbbuilder.dialects.AbstractDatabaseObject
-
- com.exasol.dbbuilder.dialects.AbstractSchema
-
- com.exasol.dbbuilder.dialects.mysql.MySqlSchema
-
- All Implemented Interfaces:
DatabaseObject,Schema,AutoCloseable
public class MySqlSchema extends AbstractSchema
MySQL database schema.
-
-
Field Summary
-
Fields inherited from class com.exasol.dbbuilder.dialects.AbstractSchema
tables
-
Fields inherited from class com.exasol.dbbuilder.dialects.AbstractDatabaseObject
name, owned
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MySqlTable.BuildercreateTableBuilder(String name)Create a builder for a table.protected com.exasol.db.IdentifiergetIdentifier(String name)Get an instance ofIdentifier.DatabaseObjectWritergetWriter()Get aDatabaseObjectWriter.-
Methods inherited from class com.exasol.dbbuilder.dialects.AbstractSchema
createTable, createTable, createTable, createTable, dropInternally, getTables, passColumnsToTableBuilder
-
Methods inherited from class com.exasol.dbbuilder.dialects.AbstractDatabaseObject
drop, getFullyQualifiedName, getName, isOwned, markDeleted, verifyNotDeleted
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.exasol.dbbuilder.dialects.DatabaseObject
close, drop, getFullyQualifiedName, getName, isOwned
-
-
-
-
Method Detail
-
getWriter
public DatabaseObjectWriter getWriter()
Description copied from class:AbstractSchemaGet aDatabaseObjectWriter.- Specified by:
getWriterin classAbstractSchema- Returns:
DatabaseObjectWriter
-
getIdentifier
protected com.exasol.db.Identifier getIdentifier(String name)
Description copied from class:AbstractSchemaGet an instance ofIdentifier.- Specified by:
getIdentifierin classAbstractSchema- Parameters:
name- identifier id- Returns:
- instance of
Identifier
-
createTableBuilder
public MySqlTable.Builder createTableBuilder(String name)
Description copied from interface:SchemaCreate a builder for a table.In cases where you need a more complex table that can be created by the convenience methods
createTable, this method provides a builder.- Specified by:
createTableBuilderin interfaceSchema- Overrides:
createTableBuilderin classAbstractSchema- Parameters:
name- table name- Returns:
- builder for the table
-
-