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, isCalledOnNullInputisNativeaddFunctionsTo, argTypes, equals, hashCode, hasReferenceTo, name, returnType, testAssignment, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFunctionsTo, argTypes, hasReferenceTo, isNative, name, returnTypetestAssignmentpublic static final FunctionName NAME
public static ToJsonFct getInstance(java.util.List<AbstractType<?>> argTypes) throws InvalidRequestException
InvalidRequestExceptionpublic java.nio.ByteBuffer execute(int protocolVersion,
java.util.List<java.nio.ByteBuffer> parameters)
throws InvalidRequestException
ScalarFunctionprotocolVersion - 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