Class BytesConversionFcts.ToBlobFunction
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.BytesConversionFcts.ToBlobFunction
- All Implemented Interfaces:
AssignmentTestable,Function,ScalarFunction
- Enclosing class:
- BytesConversionFcts
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.AssignmentTestable
AssignmentTestable.TestResult -
Field Summary
Fields inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
argTypes, name, returnTypeFields inherited from interface org.apache.cassandra.cql3.functions.Function
UNRESOLVED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApplies this function to the specified arguments.newArguments(ProtocolVersion version) Creates some new input arguments for this function.Returns a copy of this function using its old pre-5.0 name before the adoption of snake-cased function names.Methods inherited from class org.apache.cassandra.cql3.functions.NativeScalarFunction
isAggregate, isCalledOnNullInput, isPartialApplicationMonotonicMethods inherited from class org.apache.cassandra.cql3.functions.NativeFunction
isNative, isPureMethods inherited from class org.apache.cassandra.cql3.functions.AbstractFunction
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, equals, getCompatibleTypeIfKnown, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString, typesMatchMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.AssignmentTestable
getCompatibleTypeIfKnown, testAssignmentMethods inherited from interface org.apache.cassandra.cql3.functions.Function
addFunctionsTo, argTypes, columnName, compare, isNative, isPure, name, referencesUserType, returnTypeMethods inherited from interface org.apache.cassandra.cql3.functions.ScalarFunction
isMonotonic, partialApplication
-
Constructor Details
-
ToBlobFunction
-
-
Method Details
-
execute
Description copied from interface:ScalarFunctionApplies this function to the specified arguments.- Parameters:
arguments- the input arguments for the function- Returns:
- the result of applying this function to the arguments
-
withLegacyName
Description copied from class:NativeFunctionReturns a copy of this function using its old pre-5.0 name before the adoption of snake-cased function names. Those naming conventions were adopted in 5.0, but we still need to support the old names for compatibility. See CASSANDRA-18037 for further details.- Overrides:
withLegacyNamein classNativeFunction- Returns:
- a copy of this function using its old pre-5.0 deprecated name, or
nullif the pre-5.0 function name already satisfied the naming conventions.
-
newArguments
Description copied from interface:FunctionCreates some new input arguments for this function.- Specified by:
newArgumentsin interfaceFunction- Overrides:
newArgumentsin classNativeFunction- Parameters:
version- the protocol version- Returns:
- some new input arguments for this function
-