Class AdapterScript
- java.lang.Object
-
- com.exasol.dbbuilder.dialects.AbstractDatabaseObject
-
- com.exasol.dbbuilder.dialects.AbstractSchemaChild
-
- com.exasol.dbbuilder.dialects.exasol.AbstractScript
-
- com.exasol.dbbuilder.dialects.exasol.AdapterScript
-
- All Implemented Interfaces:
DatabaseObject,AutoCloseable
public class AdapterScript extends AbstractScript
Virtual Schema Adapter Script.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdapterScript.BuilderBuilder forAdapterScript.static classAdapterScript.LanguageLanguages supported for scripts.
-
Field Summary
-
Fields inherited from class com.exasol.dbbuilder.dialects.exasol.AbstractScript
content, writer
-
Fields inherited from class com.exasol.dbbuilder.dialects.AbstractSchemaChild
parentSchema
-
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 AdapterScript.Builderbuilder(ExasolImmediateDatabaseObjectWriter writer, Schema parentSchema, com.exasol.db.Identifier name)Get a builder forAdapterScript.protected voiddropInternally()This is called byAbstractDatabaseObject.drop()to actually execute the DROP statement.AdapterScript.LanguagegetLanguage()Get the implementation language.StringgetType()Get the type of the database object.-
Methods inherited from class com.exasol.dbbuilder.dialects.exasol.AbstractScript
getContent
-
Methods inherited from class com.exasol.dbbuilder.dialects.AbstractSchemaChild
getParent, hasParent
-
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
-
-
-
-
Method Detail
-
builder
public static AdapterScript.Builder builder(ExasolImmediateDatabaseObjectWriter writer, Schema parentSchema, com.exasol.db.Identifier name)
Get a builder forAdapterScript.- Parameters:
writer- data object writerparentSchema- parent schemaname- name of the script- Returns:
- builder for
AdapterScript
-
getType
public String getType()
Description copied from interface:DatabaseObjectGet the type of the database object.- Returns:
- type of the database object
-
getLanguage
public AdapterScript.Language getLanguage()
Get the implementation language.- Returns:
- language in which the adapter script is implemented
-
dropInternally
protected void dropInternally()
Description copied from class:AbstractDatabaseObjectThis is called byAbstractDatabaseObject.drop()to actually execute the DROP statement.- Specified by:
dropInternallyin classAbstractDatabaseObject
-
-