Class OracleSchema
- java.lang.Object
-
- com.exasol.dbbuilder.dialects.AbstractDatabaseObject
-
- com.exasol.dbbuilder.dialects.AbstractSchema
-
- com.exasol.dbbuilder.dialects.oracle.OracleSchema
-
- All Implemented Interfaces:
DatabaseObject,Schema
public class OracleSchema extends AbstractSchema
OracleSchema.
-
-
Field Summary
-
Fields inherited from class com.exasol.dbbuilder.dialects.AbstractSchema
tables
-
Fields inherited from class com.exasol.dbbuilder.dialects.AbstractDatabaseObject
name, owned
-
-
Constructor Summary
Constructors Constructor Description OracleSchema(OracleImmediateDatabaseObjectWriter writer, OracleIdentifier name)Create a new instance ofOracleSchema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablecreateTable(String name, List<String> columnNames, List<String> columnTypes)Create a table with an arbitrary number of columns.OracleTable.BuildercreateTableBuilder(String name)Create a builder for a table.protected OracleIdentifiergetIdentifier(String name)Get an instance ofIdentifier.protected DatabaseObjectWritergetWriter()Get aDatabaseObjectWriter.-
Methods inherited from class com.exasol.dbbuilder.dialects.AbstractSchema
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
drop, getFullyQualifiedName, getName, isOwned
-
-
-
-
Constructor Detail
-
OracleSchema
public OracleSchema(OracleImmediateDatabaseObjectWriter writer, OracleIdentifier name)
Create a new instance ofOracleSchema.- Parameters:
writer- object writername- name of the schema
-
-
Method Detail
-
getWriter
protected DatabaseObjectWriter getWriter()
Description copied from class:AbstractSchemaGet aDatabaseObjectWriter.- Specified by:
getWriterin classAbstractSchema- Returns:
DatabaseObjectWriter
-
getIdentifier
protected OracleIdentifier 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 OracleTable.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
-
createTable
public Table createTable(String name, List<String> columnNames, List<String> columnTypes)
Description copied from interface:SchemaCreate a table with an arbitrary number of columns.- Specified by:
createTablein interfaceSchema- Overrides:
createTablein classAbstractSchema- Parameters:
name- name of the tablecolumnNames- list of column namescolumnTypes- list of column types- Returns:
- table
-
-