Uses of Class
org.apache.cassandra.cql3.functions.types.Duration
-
Packages that use Duration Package Description org.apache.cassandra.cql3.functions.types Contains pieces of the Java Driver that are needed to handle data types in C* User-Defined-Functions/Aggregates. -
-
Uses of Duration in org.apache.cassandra.cql3.functions.types
Methods in org.apache.cassandra.cql3.functions.types 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)
Creates a duration with the given number of months, days and nanoseconds.Methods in org.apache.cassandra.cql3.functions.types that return types with arguments of type Duration Modifier and Type Method Description static TypeCodec<Duration>
TypeCodec. duration()
Returns the default codec for theDuration type
.
-