Class AdapterScript.Builder
- java.lang.Object
-
- com.exasol.dbbuilder.dialects.exasol.AdapterScript.Builder
-
- Enclosing class:
- AdapterScript
public static final class AdapterScript.Builder extends Object
Builder forAdapterScript.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringnameprotected booleanownedprotected SchemaparentSchema
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdapterScriptbuild()Build theAdapterScript.AdapterScript.Buildercontent(String content)Set the content of the adapter script.AdapterScript.BuilderdebuggerConnection(String debuggerConnection)Set an optional connection to a debugger.AdapterScript.Builderlanguage(AdapterScript.Language language)Set the language of the adapter script.AdapterScript.Buildername(String name)Set the name of the adapter script..AdapterScript.BuilderparentSchema(Schema parentSchema)Set the parent Schema.AdapterScript.Builderwriter(ExasolImmediateDatabaseObjectWriter writer)Set theExasolImmediateDatabaseObjectWriter.
-
-
-
Method Detail
-
parentSchema
public AdapterScript.Builder parentSchema(Schema parentSchema)
Set the parent Schema.- Parameters:
parentSchema- parent schema- Returns:
- self
-
writer
public AdapterScript.Builder writer(ExasolImmediateDatabaseObjectWriter writer)
Set theExasolImmediateDatabaseObjectWriter.- Parameters:
writer-ExasolImmediateDatabaseObjectWriter- Returns:
- self
-
language
public AdapterScript.Builder language(AdapterScript.Language language)
Set the language of the adapter script.- Parameters:
language- language of the adapter script- Returns:
- self
-
content
public AdapterScript.Builder content(String content)
Set the content of the adapter script.- Parameters:
content- script content- Returns:
- self
-
debuggerConnection
public AdapterScript.Builder debuggerConnection(String debuggerConnection)
Set an optional connection to a debugger. SeeExasolConfiguration.isAdapterScriptDebuggingEnabled()- Parameters:
debuggerConnection- optional connection to a debugger- Returns:
- self
-
name
public AdapterScript.Builder name(String name)
Set the name of the adapter script..- Parameters:
name- name of the adapter script- Returns:
- self
-
build
public AdapterScript build()
Build theAdapterScript.- Returns:
- built
AdapterScript.
-
-