public class TokenFct extends NativeScalarFunction
AssignmentTestable.TestResult
argTypes, name, returnType
Constructor and Description |
---|
TokenFct(TableMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
execute(ProtocolVersion protocolVersion,
java.util.List<java.nio.ByteBuffer> parameters)
Applies this function to the specified parameter.
|
isAggregate, isCalledOnNullInput
isNative
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, equals, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addFunctionsTo, argTypes, columnName, compare, isNative, name, referencesUserType, returnType
testAssignment
public TokenFct(TableMetadata metadata)
public java.nio.ByteBuffer execute(ProtocolVersion protocolVersion, java.util.List<java.nio.ByteBuffer> parameters) throws InvalidRequestException
ScalarFunction
protocolVersion
- protocol version used for parameters and return valueparameters
- the input parametersInvalidRequestException
- if this function cannot not be applied to the parameterCopyright © 2009-2021 The Apache Software Foundation