public static final class TimeFcts.FloorDateFunction extends NativeScalarFunction
AssignmentTestable.TestResult
argTypes, name, returnType
UNRESOLVED
Modifier and Type | Method and Description |
---|---|
protected java.nio.ByteBuffer |
fromTimeInMillis(long timeInMillis)
Serializes the specified time.
|
static TimeFcts.FloorDateFunction |
newInstance() |
static TimeFcts.FloorDateFunction |
newInstanceWithStartTimeArgument() |
protected java.lang.Long |
toStartingTimeInMillis(java.nio.ByteBuffer bytes)
Deserializes the specified starting time.
|
protected java.lang.Long |
toTimeInMillis(java.nio.ByteBuffer bytes)
Deserializes the specified input time.
|
protected void |
validateDuration(Duration duration)
Validates that the duration has the correct precision.
|
isAggregate, isCalledOnNullInput
isNative, isPure
addFunctionsTo, argTypes, argumentsList, columnName, elementKeyspace, elementName, equals, hashCode, name, referencesUserType, returnType, testAssignment, toCqlString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isMonotonic, partialApplication
addFunctionsTo, argTypes, columnName, compare, isNative, isPure, name, referencesUserType, returnType
testAssignment
public static TimeFcts.FloorDateFunction newInstance()
public static TimeFcts.FloorDateFunction newInstanceWithStartTimeArgument()
protected java.nio.ByteBuffer fromTimeInMillis(long timeInMillis)
timeInMillis
- the time in millisecondsprotected java.lang.Long toStartingTimeInMillis(java.nio.ByteBuffer bytes)
bytes
- the serialized starting timeprotected java.lang.Long toTimeInMillis(java.nio.ByteBuffer bytes)
bytes
- the serialized timeprotected void validateDuration(Duration duration)
duration
- the duration to validate.Copyright © 2009-2022 The Apache Software Foundation