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
argTypes, equals, getFunctions, hashCode, hasReferenceTo, name, returnType, testAssignment, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
argTypes, getFunctions, 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 © 2016 The Apache Software Foundation