public interface UserDefinedFunction extends Function
Function.Determinism
AbstractProcedure.Utils
RelationalObject.Filter
SchemaElement.SchemaElementType
Modifier and Type | Field and Description |
---|---|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static UserDefinedFunction[] |
NO_UDFS
An empty array of UDFs.
|
static TypeResolver<UserDefinedFunction> |
RESOLVER
The resolver of a
UserDefinedFunction . |
static int |
TYPE_ID
The type identifier.
|
DEFAULT_AGGREGATE, DEFAULT_ALLOWS_DISTINCT, DEFAULT_ALLOWS_ORDER_BY, DEFAULT_ANALYTIC, DEFAULT_DECOMPOSABLE, DEFAULT_NULL_ON_NULL, DEFAULT_USES_DISTINCT_ROWS, DEFAULT_VARARGS, NO_FUNCTIONS
DEFAULT_UPDATE_COUNT
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getCategory(Repository.UnitOfWork transaction) |
String |
getJavaClass(Repository.UnitOfWork transaction) |
String |
getJavaMethod(Repository.UnitOfWork transaction) |
Model |
getParent(Repository.UnitOfWork transaction) |
void |
setCategory(Repository.UnitOfWork transaction,
String newCategory) |
void |
setJavaClass(Repository.UnitOfWork transaction,
String newJavaClass) |
void |
setJavaMethod(Repository.UnitOfWork transaction,
String newJavaMethod) |
getDeterminism, isAggregate, isAllowsDistinct, isAllowsOrderBy, isAnalytic, isDecomposable, isNullOnNull, isUsesDistinctRows, isVarArgs, setAggregate, setAllowsDistinct, setAllowsOrderBy, setAnalytic, setDecomposable, setDeterminism, setNullOnNull, setUsesDistinctRows, setVarArgs
addParameter, getDescription, getNameInSource, getParameters, getUpdateCount, getUuid, removeParameter, setDescription, setNameInSource, setUpdateCount, setUuid
getCustomOptions, getStandardOptions, getStatementOptionNames, getStatementOptions, isCustomOption, isStandardOption, removeStatementOption, setStatementOption
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getRepository
getSchemaElementType, setSchemaElementType
static final KomodoType IDENTIFIER
static final UserDefinedFunction[] NO_UDFS
static final int TYPE_ID
static final TypeResolver<UserDefinedFunction> RESOLVER
UserDefinedFunction
.Model getParent(Repository.UnitOfWork transaction) throws KException
getParent
in interface AbstractProcedure
getParent
in interface KNode
KException
KNode.getParent(org.komodo.spi.repository.Repository.UnitOfWork)
String getCategory(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)category
property (can be empty)KException
- if an error occursString getJavaClass(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)Java class name
property (can be empty)KException
- if an error occursString getJavaMethod(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)Java method name
property (can be empty)KException
- if an error occursvoid setCategory(Repository.UnitOfWork transaction, String newCategory) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newCategory
- the new value of the category
property (can only be empty when removing)KException
- if an error occursvoid setJavaClass(Repository.UnitOfWork transaction, String newJavaClass) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newJavaClass
- the new value of the Java class name
property (can only be empty when removing)KException
- if an error occursvoid setJavaMethod(Repository.UnitOfWork transaction, String newJavaMethod) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newJavaMethod
- the new value of the Java method name
property (can only be empty when removing)KException
- if an error occursCopyright © 2013–2019. All rights reserved.