Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
LocalDate.add(int field,
int amount)
|
static LocalDate |
LocalDate.fromDaysSinceEpoch(int daysSinceEpoch)
Builds a new instance from a number of days since January 1st, 1970 GMT.
|
static LocalDate |
LocalDate.fromMillisSinceEpoch(long millisSinceEpoch)
Builds a new instance from a number of milliseconds since January 1st, 1970 GMT.
|
static LocalDate |
LocalDate.fromYearMonthDay(int year,
int month,
int dayOfMonth)
Builds a new instance from a year/month/day specification.
|
LocalDate |
GettableByIndexData.getDate(int i)
Returns the
i th value as a date (without time). |
LocalDate |
BoundStatement.getDate(int i)
Returns the
i th value as a date (without time). |
LocalDate |
GettableByNameData.getDate(String name)
Returns the value for
name as a date (without time). |
LocalDate |
BoundStatement.getDate(String name)
Returns the value for
name as a date (without time). |
LocalDate |
AbstractGettableData.getDate(String name)
Returns the value for
name as a date (without time). |
Modifier and Type | Method and Description |
---|---|
static TypeCodec<LocalDate> |
TypeCodec.date()
Return the default codec for the CQL type
date . |
Modifier and Type | Method and Description |
---|---|
T |
SettableByIndexData.setDate(int i,
LocalDate v)
Set the
i th value to the provided date (without time). |
BoundStatement |
BoundStatement.setDate(int i,
LocalDate v)
Set the
i th value to the provided date (without time). |
T |
SettableByNameData.setDate(String name,
LocalDate v)
Sets the value for (all occurrences of) variable
name to the
provided date (without time). |
BoundStatement |
BoundStatement.setDate(String name,
LocalDate v)
Sets the value for (all occurrences of) variable
name to the
provided date (without time). |