Class JavaBasedUDFunction
- java.lang.Object
-
- org.apache.cassandra.cql3.functions.AbstractFunction
-
- org.apache.cassandra.cql3.functions.UserFunction
-
- org.apache.cassandra.cql3.functions.UDFunction
-
- org.apache.cassandra.cql3.functions.JavaBasedUDFunction
-
- All Implemented Interfaces:
AssignmentTestable
,Function
,ScalarFunction
,SchemaElement
public final class JavaBasedUDFunction extends UDFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResult
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.SchemaElement
SchemaElement.SchemaElementType
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.cql3.functions.UDFunction
argNames, argumentTypes, body, calledOnNullInput, language, resultType, udfContext
-
Fields inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
argTypes, name, returnType
-
Fields inherited from interface org.apache.cassandra.cql3.functions.Function
UNRESOLVED
-
Fields inherited from interface org.apache.cassandra.cql3.SchemaElement
NAME_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
executeAggregateUserDefined(java.lang.Object state, Arguments arguments)
protected java.nio.ByteBuffer
executeUserDefined(Arguments arguments)
protected java.util.concurrent.ExecutorService
executor()
-
Methods inherited from class org.apache.cassandra.cql3.functions.UDFunction
argNames, assertUdfsEnabled, body, compare, create, createBrokenFunction, decompose, elementType, equals, execute, executeForAggregate, hashCode, isAggregate, isCallableWrtNullable, isCalledOnNullInput, isPure, language, newArguments, referencesUserType, toCqlString, tryCreate, withUpdatedUserType
-
Methods inherited from class org.apache.cassandra.cql3.functions.UserFunction
isNative
-
Methods inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, getCompatibleTypeIfKnown, name, returnType, testAssignment, toCqlString, toString, typesMatch
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cql3.AssignmentTestable
getCompatibleTypeIfKnown, testAssignment
-
Methods inherited from interface org.apache.cassandra.cql3.functions.Function
addFunctionsTo, argTypes, columnName, isNative, name, returnType
-
Methods inherited from interface org.apache.cassandra.cql3.functions.ScalarFunction
isMonotonic, partialApplication
-
Methods inherited from interface org.apache.cassandra.cql3.SchemaElement
elementKeyspace, elementKeyspaceQuotedIfNeeded, elementName, elementNameQuotedIfNeeded
-
-
-
-
Method Detail
-
executor
protected java.util.concurrent.ExecutorService executor()
- Specified by:
executor
in classUDFunction
-
executeUserDefined
protected java.nio.ByteBuffer executeUserDefined(Arguments arguments)
- Specified by:
executeUserDefined
in classUDFunction
-
executeAggregateUserDefined
protected java.lang.Object executeAggregateUserDefined(java.lang.Object state, Arguments arguments)
- Specified by:
executeAggregateUserDefined
in classUDFunction
-
-