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(int 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, equals, hashCode, hasReferenceTo, name, returnType, testAssignment, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addFunctionsTo, argTypes, hasReferenceTo, isNative, name, returnType
testAssignment
public static final FunctionName NAME
public static ToJsonFct getInstance(java.util.List<AbstractType<?>> argTypes) throws InvalidRequestException
InvalidRequestException
public java.nio.ByteBuffer execute(int 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 © 2017 The Apache Software Foundation