Class TimeFcts.TemporalConversionFunction
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.TimeFcts.TemporalConversionFunction
- All Implemented Interfaces:
AssignmentTestable,Function,ScalarFunction
- Enclosing class:
- TimeFcts
-
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
ConstructorsModifierConstructorDescriptionprotectedTemporalConversionFunction(String name, AbstractType<?> returnType, AbstractType<?>... argsType) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract ByteBufferconvertArgument(long timeInMillis) Applies this function to the specified arguments.Methods inherited from class org.apache.cassandra.cql3.functions.NativeScalarFunction
isAggregate, isCalledOnNullInput, isPartialApplicationMonotonicMethods inherited from class org.apache.cassandra.cql3.functions.NativeFunction
isNative, isPure, newArguments, withLegacyNameMethods 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, newArguments, referencesUserType, returnTypeMethods inherited from interface org.apache.cassandra.cql3.functions.ScalarFunction
isMonotonic, partialApplication
-
Constructor Details
-
TemporalConversionFunction
protected TemporalConversionFunction(String name, AbstractType<?> returnType, AbstractType<?>... argsType)
-
-
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
-
beforeExecution
protected void beforeExecution() -
convertArgument
-