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.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
Duration.from(java.lang.String input)
Converts a
String 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.
|
Modifier and Type | Method and Description |
---|---|
static TypeCodec<Duration> |
TypeCodec.duration()
Returns the default codec for the
Duration type . |
Copyright © 2009-2022 The Apache Software Foundation