Uses of Class
org.apache.cassandra.cql3.Duration
Packages that use Duration
Package
Description
-
Uses of Duration in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 that return DurationModifier and TypeMethodDescriptionstatic DurationConverts aStringinto a duration.static DurationDuration.newInstance(int months, int days, long nanoseconds) Methods in org.apache.cassandra.cql3 with parameters of type DurationModifier and TypeMethodDescriptionstatic longRounds a time down to the closest multiple of a duration.static longDuration.floorTimestamp(long timeInMillis, Duration duration, long startingTimeInMillis) Rounds a timestamp down to the closest multiple of a duration. -
Uses of Duration in org.apache.cassandra.cql3.functions
Methods in org.apache.cassandra.cql3.functions with parameters of type DurationModifier and TypeMethodDescriptionprotected voidTimeFcts.FloorDateFunction.validateDuration(Duration duration) -
Uses of Duration in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal that return types with arguments of type DurationMethods in org.apache.cassandra.db.marshal with parameters of type DurationModifier and TypeMethodDescriptionAbstractTimeUUIDType.addDuration(Number temporal, Duration duration) TemporalType.addDuration(Number temporal, Duration duration) Adds the duration to the specified value.AbstractTimeUUIDType.substractDuration(Number temporal, Duration duration) TemporalType.substractDuration(Number temporal, Duration duration) Substract the duration from the specified value.protected voidSimpleDateType.validateDuration(Duration duration) protected voidTemporalType.validateDuration(Duration duration) Validates that the duration has the correct precision.protected voidTimestampType.validateDuration(Duration duration) -
Uses of Duration in org.apache.cassandra.serializers
Methods in org.apache.cassandra.serializers that return DurationModifier and TypeMethodDescription<V> DurationDurationSerializer.deserialize(V value, ValueAccessor<V> accessor) Methods in org.apache.cassandra.serializers that return types with arguments of type DurationMethods in org.apache.cassandra.serializers with parameters of type Duration