public class ToJsonFct extends NativeScalarFunction
AssignmentTestable.TestResult
Modifier and Type | Field and Description |
---|---|
static FunctionName |
NAME |
argTypes, name, returnType
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.
|
static ToJsonFct |
getInstance(java.util.List<AbstractType<?>> argTypes) |
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 static final FunctionName NAME
public static ToJsonFct getInstance(java.util.List<AbstractType<?>> argTypes) throws InvalidRequestException
InvalidRequestException
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- The Apache Software Foundation