Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
Duration.from(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 © 2012–2020. All rights reserved.