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 classUdfScript.BuilderBuilder forUdfScript.static classUdfScript.InputTypeUDF input types.static classUdfScript.LanguageLanguages 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.Builderbuilder(ExasolImmediateDatabaseObjectWriter writer, Schema parentSchema, com.exasol.db.Identifier name)Get a builder forUdfScript.protected voiddropInternally()This is called byAbstractDatabaseObject.drop()to actually execute the DROP statement.UdfScript.InputTypegetInputType()Get theUdfScript.InputTypeof this UDF.UdfScript.LanguagegetLanguage()Get theUdfScript.Languageof this UDF.List<Column>getParameters()Get the input parameters for this UDF.UdfReturnTypegetReturnType()Get theUdfReturnTypeof this UDF.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
-
-
-
-
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:DatabaseObjectGet 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 theUdfReturnTypeof this UDF.- Returns:
UdfReturnTypeof this UDF
-
getInputType
public UdfScript.InputType getInputType()
Get theUdfScript.InputTypeof this UDF.- Returns:
UdfScript.InputTypeof this UDF
-
getLanguage
public UdfScript.Language getLanguage()
Get theUdfScript.Languageof this UDF.- Returns:
UdfScript.Languageof this UDF
-
dropInternally
protected void dropInternally()
Description copied from class:AbstractDatabaseObjectThis is called byAbstractDatabaseObject.drop()to actually execute the DROP statement.- Specified by:
dropInternallyin classAbstractDatabaseObject
-
-