Class VirtualSchema
- java.lang.Object
-
- com.exasol.dbbuilder.dialects.AbstractDatabaseObject
-
- com.exasol.dbbuilder.dialects.exasol.VirtualSchema
-
- All Implemented Interfaces:
DatabaseObject
public class VirtualSchema extends AbstractDatabaseObject
Virtual Schema.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVirtualSchema.BuilderBuilder for aVirtualSchema.
-
Field Summary
-
Fields inherited from class com.exasol.dbbuilder.dialects.AbstractDatabaseObject
name, owned
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualSchema.Builderbuilder(ExasolImmediateDatabaseObjectWriter writer, com.exasol.db.Identifier name)Create a new builder for aVirtualSchema.protected voiddropInternally()This is called byAbstractDatabaseObject.drop()to actually execute the DROP statement.AdapterScriptgetAdapterScript()Get the adapter script that powers the Virtual Schema.ConnectionDefinitiongetConnectionDefinition()Get the connection definition.StringgetDialectName()Get the name of the Virtual Schema dialect.DatabaseObjectgetParent()Get the parent object.Map<String,String>getProperties()Get the raw adapter properties.StringgetSourceSchemaName()Get the name of the source schema.StringgetType()Get the type of the database object.booleanhasParent()Check if this object has a parent object that sets the scope within the database-
Methods inherited from class com.exasol.dbbuilder.dialects.AbstractDatabaseObject
drop, getFullyQualifiedName, getName, isOwned, markDeleted, verifyNotDeleted
-
-
-
-
Method Detail
-
builder
public static VirtualSchema.Builder builder(ExasolImmediateDatabaseObjectWriter writer, com.exasol.db.Identifier name)
Create a new builder for aVirtualSchema.- Parameters:
writer- database object writername- name of the Virtual Schema to be built- Returns:
- builder instance
-
getType
public String getType()
Description copied from interface:DatabaseObjectGet the type of the database object.- Returns:
- type of the database object
-
hasParent
public boolean hasParent()
Description copied from interface:DatabaseObjectCheck if this object has a parent object that sets the scope within the database- Returns:
trueif the object has a parent
-
getParent
public DatabaseObject getParent()
Description copied from interface:DatabaseObjectGet the parent object.- Returns:
- parent object
-
dropInternally
protected void dropInternally()
Description copied from class:AbstractDatabaseObjectThis is called byAbstractDatabaseObject.drop()to actually execute the DROP statement.- Specified by:
dropInternallyin classAbstractDatabaseObject
-
getSourceSchemaName
public String getSourceSchemaName()
Get the name of the source schema.- Returns:
- source schema name
-
getAdapterScript
public AdapterScript getAdapterScript()
Get the adapter script that powers the Virtual Schema.- Returns:
- adapter script
-
getDialectName
public String getDialectName()
Get the name of the Virtual Schema dialect.- Returns:
- dialect name
-
getConnectionDefinition
public ConnectionDefinition getConnectionDefinition()
Get the connection definition.- Returns:
- connection definition
-
-