public abstract class NativeScalarFunction extends NativeFunction implements ScalarFunction
ScalarFunction
native classes.AssignmentTestable.TestResult
argTypes, name, returnType
UNRESOLVED
Modifier | Constructor and Description |
---|---|
protected |
NativeScalarFunction(java.lang.String name,
AbstractType<?> returnType,
AbstractType<?>... argsType) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAggregate()
Checks whether the function is an aggregate function or not.
|
boolean |
isCalledOnNullInput() |
protected boolean |
isPartialApplicationMonotonic(java.util.List<java.nio.ByteBuffer> partialParameters)
Checks if a partial application of the function is monotonic.
|
isNative, isPure
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, equals, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
execute, isMonotonic, partialApplication
addFunctionsTo, argTypes, columnName, compare, isNative, isPure, name, referencesUserType, returnType
testAssignment
protected NativeScalarFunction(java.lang.String name, AbstractType<?> returnType, AbstractType<?>... argsType)
public boolean isCalledOnNullInput()
isCalledOnNullInput
in interface ScalarFunction
public final boolean isAggregate()
Function
isAggregate
in interface Function
true
if the function is an aggregate function, false
otherwise.protected boolean isPartialApplicationMonotonic(java.util.List<java.nio.ByteBuffer> partialParameters)
A function is monotonic if it is either entirely nonincreasing or nondecreasing.
partialParameters
- the input parameters used to create the partial application of the functiontrue
if the partial application of the function is monotonic false
otherwise.Copyright © 2009- The Apache Software Foundation