Uses of Class
org.apache.cassandra.cql3.Duration
-
Packages that use Duration Package Description org.apache.cassandra.cql3 org.apache.cassandra.db.marshal org.apache.cassandra.serializers -
-
Uses of Duration in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 that return Duration Modifier and Type Method Description static Duration
Duration. from(java.lang.String input)
Converts aString
into a duration.static Duration
Duration. newInstance(int months, int days, long nanoseconds)
-
Uses of Duration in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal that return types with arguments of type Duration Modifier and Type Method Description TypeSerializer<Duration>
DurationType. getSerializer()
Methods in org.apache.cassandra.db.marshal with parameters of type Duration Modifier and Type Method Description protected void
SimpleDateType. validateDuration(Duration duration)
protected void
TemporalType. validateDuration(Duration duration)
Validates that the duration has the correct precision.protected void
TimestampType. validateDuration(Duration duration)
-
Uses of Duration in org.apache.cassandra.serializers
Methods in org.apache.cassandra.serializers that return Duration Modifier and Type Method Description <V> Duration
DurationSerializer. deserialize(V value, ValueAccessor<V> accessor)
Methods in org.apache.cassandra.serializers that return types with arguments of type Duration Modifier and Type Method Description java.lang.Class<Duration>
DurationSerializer. getType()
Methods in org.apache.cassandra.serializers with parameters of type Duration Modifier and Type Method Description java.nio.ByteBuffer
DurationSerializer. serialize(Duration duration)
java.lang.String
DurationSerializer. toString(Duration duration)
-