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)
|
LocalDate |
TypeCodec.DateCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
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 |
Row.getDate(int i)
Returns the
i th value as a date (without time). |
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 |
Row.getDate(String name)
Returns the value for
name 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). |
LocalDate |
TypeCodec.DateCodec.parse(String value) |
Modifier and Type | Method and Description |
---|---|
String |
TypeCodec.DateCodec.format(LocalDate value) |
ByteBuffer |
TypeCodec.DateCodec.serialize(LocalDate value,
ProtocolVersion protocolVersion) |
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). |
Copyright © 2012–2015. All rights reserved.