Class UdfScript
- java.lang.Object
-
- com.exasol.dbbuilder.dialects.AbstractDatabaseObject
-
- com.exasol.dbbuilder.dialects.AbstractSchemaChild
-
- com.exasol.dbbuilder.dialects.exasol.AbstractScript
-
- com.exasol.dbbuilder.dialects.exasol.udf.UdfScript
-
- All Implemented Interfaces:
DatabaseObject
public class UdfScript extends AbstractScript
This class represents UDF scripts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UdfScript.Builder
Builder forUdfScript
.static class
UdfScript.InputType
UDF input types.static class
UdfScript.Language
Languages supported by UDFs
-
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 UdfScript.Builder
builder(ExasolImmediateDatabaseObjectWriter writer, Schema parentSchema, com.exasol.db.Identifier name)
Get a builder forUdfScript
.void
drop()
Drop the database object and all contained objects.UdfScript.InputType
getInputType()
Get theUdfScript.InputType
of this UDF.UdfScript.Language
getLanguage()
Get theUdfScript.Language
of this UDF.List<Column>
getParameters()
Get the input parameters for this UDF.UdfReturnType
getReturnType()
Get theUdfReturnType
of this UDF.String
getType()
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
getFullyQualifiedName, getName, isOwned
-
-
-
-
Method Detail
-
builder
public static UdfScript.Builder builder(ExasolImmediateDatabaseObjectWriter writer, Schema parentSchema, com.exasol.db.Identifier name)
Get a builder forUdfScript
.- Parameters:
writer
- data object writerparentSchema
- parent schemaname
- name of the script- Returns:
- builder for
UdfScript
-
getType
public String getType()
Description copied from interface:DatabaseObject
Get the type of the database object.- Returns:
- type of the database object
-
getParameters
public List<Column> getParameters()
Get the input parameters for this UDF.- Returns:
- list of input parameters
-
getReturnType
public UdfReturnType getReturnType()
Get theUdfReturnType
of this UDF.- Returns:
UdfReturnType
of this UDF
-
getInputType
public UdfScript.InputType getInputType()
Get theUdfScript.InputType
of this UDF.- Returns:
UdfScript.InputType
of this UDF
-
getLanguage
public UdfScript.Language getLanguage()
Get theUdfScript.Language
of this UDF.- Returns:
UdfScript.Language
of this UDF
-
drop
public void drop()
Description copied from interface:DatabaseObject
Drop the database object and all contained objects.
-
-