Package com.exasol.dbbuilder
Class AdapterScript
- java.lang.Object
-
- com.exasol.dbbuilder.AbstractDatabaseObject
-
- com.exasol.dbbuilder.AbstractSchemaChild
-
- com.exasol.dbbuilder.AdapterScript
-
- All Implemented Interfaces:
DatabaseObject
public class AdapterScript extends AbstractSchemaChild
Virtual Schema Adapter Script
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdapterScript.Language
-
Field Summary
-
Fields inherited from class com.exasol.dbbuilder.AbstractSchemaChild
parentSchema
-
Fields inherited from class com.exasol.dbbuilder.AbstractDatabaseObject
name, writer
-
-
Constructor Summary
Constructors Constructor Description AdapterScript(DatabaseObjectWriter writer, Schema parentSchema, String name, AdapterScript.Language language, String content)Create a new instance of anAdapterScript.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()Get the actual script content.AdapterScript.LanguagegetLanguage()Get the implementation language.StringgetType()Get the type of the database object.-
Methods inherited from class com.exasol.dbbuilder.AbstractSchemaChild
getParent, hasParent
-
Methods inherited from class com.exasol.dbbuilder.AbstractDatabaseObject
getFullyQualifiedName, getName
-
-
-
-
Constructor Detail
-
AdapterScript
public AdapterScript(DatabaseObjectWriter writer, Schema parentSchema, String name, AdapterScript.Language language, String content)
Create a new instance of anAdapterScript.- Parameters:
writer- database object writerparentSchema- parent schemaname- name of the adapter scriptlanguage- language the the script is implemented incontent- the actual script
-
-
Method Detail
-
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
-
getContent
public String getContent()
Get the actual script content.- Returns:
- script content
-
-