public interface Function extends AbstractProcedure
Modifier and Type | Interface and Description |
---|---|
static class |
Function.Determinism
The categories of a function's determinism.
|
AbstractProcedure.Utils
RelationalObject.Filter
SchemaElement.SchemaElementType
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_AGGREGATE
The default value for the
aggregate property. |
static boolean |
DEFAULT_ALLOWS_DISTINCT
The default value for the
allows distinct property. |
static boolean |
DEFAULT_ALLOWS_ORDER_BY
The default value for the
allows order by property. |
static boolean |
DEFAULT_ANALYTIC
The default value for the
analytic property. |
static boolean |
DEFAULT_DECOMPOSABLE
The default value for the
decomposable property. |
static boolean |
DEFAULT_NULL_ON_NULL
The default value for the
null on null property. |
static boolean |
DEFAULT_USES_DISTINCT_ROWS
The default value for the
uses distinct rows property. |
static boolean |
DEFAULT_VARARGS
The default value for the
varargs property. |
static Function[] |
NO_FUNCTIONS
An empty array of functions.
|
DEFAULT_UPDATE_COUNT
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
addParameter, getDescription, getNameInSource, getParameters, getParent, 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 boolean DEFAULT_AGGREGATE
aggregate
property. Value is false .static final boolean DEFAULT_ALLOWS_DISTINCT
allows distinct
property. Value is false .static final boolean DEFAULT_ALLOWS_ORDER_BY
allows order by
property. Value is false .static final boolean DEFAULT_ANALYTIC
analytic
property. Value is false .static final boolean DEFAULT_DECOMPOSABLE
decomposable
property. Value is false .static final boolean DEFAULT_NULL_ON_NULL
null on null
property. Value is false .static final boolean DEFAULT_USES_DISTINCT_ROWS
uses distinct rows
property. Value is false .static final boolean DEFAULT_VARARGS
varargs
property. Value is false .static final Function[] NO_FUNCTIONS
Function.Determinism getDeterminism(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)determinism
property (can be empty)KException
- if an error occursboolean isAggregate(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function is an aggregateKException
- if an error occursDEFAULT_AGGREGATE
boolean isAllowsDistinct(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function allows the DISTINCT keywordKException
- if an error occursDEFAULT_ALLOWS_DISTINCT
boolean isAllowsOrderBy(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function supports the ORDER BY clauseKException
- if an error occursDEFAULT_ALLOWS_ORDER_BY
boolean isAnalytic(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function is analyticKException
- if an error occursDEFAULT_ANALYTIC
boolean isDecomposable(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function is decomposableKException
- if an error occursDEFAULT_DECOMPOSABLE
boolean isNullOnNull(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function is called when any of its parameters is null
KException
- if an error occursDEFAULT_NULL_ON_NULL
boolean isUsesDistinctRows(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function uses distinct rowsKException
- if an error occursDEFAULT_USES_DISTINCT_ROWS
boolean isVarArgs(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)true
if the function has variable argumentsKException
- if an error occursDEFAULT_VARARGS
void setAggregate(Repository.UnitOfWork transaction, boolean newAggregate) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newAggregate
- the new value for the aggregate
propertyKException
- if an error occursDEFAULT_AGGREGATE
void setAllowsDistinct(Repository.UnitOfWork transaction, boolean newAllowsDistinct) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newAllowsDistinct
- the new value for the allows distinct
propertyKException
- if an error occursDEFAULT_ALLOWS_DISTINCT
void setAllowsOrderBy(Repository.UnitOfWork transaction, boolean newAllowsOrderBy) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newAllowsOrderBy
- the new value for the allows order by
propertyKException
- if an error occursDEFAULT_ALLOWS_ORDER_BY
void setAnalytic(Repository.UnitOfWork transaction, boolean newIsAnalytic) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newIsAnalytic
- the new value for the analytic
propertyKException
- if an error occursDEFAULT_ANALYTIC
void setDecomposable(Repository.UnitOfWork transaction, boolean newDecomposable) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newDecomposable
- the new value for the decomposable
propertyKException
- if an error occursDEFAULT_DECOMPOSABLE
void setDeterminism(Repository.UnitOfWork transaction, Function.Determinism newDeterminism) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newDeterminism
- the new value for the determinism
propertyKException
- if an error occursvoid setNullOnNull(Repository.UnitOfWork transaction, boolean newNullOnNull) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newNullOnNull
- the new value for the null on null
propertyKException
- if an error occursDEFAULT_NULL_ON_NULL
void setUsesDistinctRows(Repository.UnitOfWork transaction, boolean newUsesDistinctRows) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newUsesDistinctRows
- the new value for the uses distinct rows
propertyKException
- if an error occursDEFAULT_USES_DISTINCT_ROWS
void setVarArgs(Repository.UnitOfWork transaction, boolean newVarArgs) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newVarArgs
- the new value for the variable arguments
propertyKException
- if an error occursDEFAULT_VARARGS
Copyright © 2013–2019. All rights reserved.