Class FromJsonFct
- java.lang.Object
-
- org.apache.cassandra.cql3.functions.AbstractFunction
-
- org.apache.cassandra.cql3.functions.NativeFunction
-
- org.apache.cassandra.cql3.functions.NativeScalarFunction
-
- org.apache.cassandra.cql3.functions.FromJsonFct
-
- All Implemented Interfaces:
AssignmentTestable,Function,ScalarFunction
public class FromJsonFct extends NativeScalarFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResult
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionNameNAME-
Fields inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
argTypes, name, returnType
-
Fields inherited from interface org.apache.cassandra.cql3.functions.Function
UNRESOLVED
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBufferexecute(ProtocolVersion protocolVersion, java.util.List<java.nio.ByteBuffer> parameters)Applies this function to the specified parameter.static FromJsonFctgetInstance(AbstractType<?> returnType)-
Methods inherited from class org.apache.cassandra.cql3.functions.NativeScalarFunction
isAggregate, isCalledOnNullInput, isPartialApplicationMonotonic
-
Methods inherited from class org.apache.cassandra.cql3.functions.NativeFunction
isNative, isPure
-
Methods inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, equals, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cql3.AssignmentTestable
testAssignment
-
Methods inherited from interface org.apache.cassandra.cql3.functions.Function
addFunctionsTo, argTypes, columnName, compare, isNative, isPure, name, referencesUserType, returnType
-
Methods inherited from interface org.apache.cassandra.cql3.functions.ScalarFunction
isMonotonic, partialApplication
-
-
-
-
Field Detail
-
NAME
public static final FunctionName NAME
-
-
Method Detail
-
getInstance
public static FromJsonFct getInstance(AbstractType<?> returnType)
-
execute
public java.nio.ByteBuffer execute(ProtocolVersion protocolVersion, java.util.List<java.nio.ByteBuffer> parameters)
Description copied from interface:ScalarFunctionApplies this function to the specified parameter.- Parameters:
protocolVersion- protocol version used for parameters and return valueparameters- the input parameters- Returns:
- the result of applying this function to the parameter
-
-