Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
static DateWithoutTime |
DateWithoutTime.fromDaysSinceEpoch(int daysSinceEpoch)
Builds a new instance from a number of days since January 1st, 1970 GMT.
|
static DateWithoutTime |
DateWithoutTime.fromMillisSinceEpoch(long millisSinceEpoch)
Builds a new instance from a number of milliseconds since January 1st, 1970 GMT.
|
static DateWithoutTime |
DateWithoutTime.fromYearMonthDay(int year,
int month,
int dayOfMonth)
Builds a new instance from a year/month/day specification.
|
DateWithoutTime |
Row.getDate(int i)
Returns the
i th value as a date (without time). |
DateWithoutTime |
GettableByIndexData.getDate(int i)
Returns the
i th value as a date (without time). |
DateWithoutTime |
BoundStatement.getDate(int i)
Returns the
i th value as a date (without time). |
DateWithoutTime |
Row.getDate(String name)
Returns the value for
name as a date (without time). |
DateWithoutTime |
GettableByNameData.getDate(String name)
Returns the value for
name as a date (without time). |
DateWithoutTime |
BoundStatement.getDate(String name)
Returns the value for
name as a date (without time). |
DateWithoutTime |
AbstractGettableData.getDate(String name)
Returns the value for
name as a date (without time). |
DateWithoutTime |
DateWithoutTime.plusDays(int days)
Builds a new instance by adding a number of days.
|
DateWithoutTime |
DateWithoutTime.plusMonths(int months)
Builds a new instance by adding a number of months.
|
DateWithoutTime |
DateWithoutTime.plusYears(int years)
Builds a new instance by adding a number of years.
|
Modifier and Type | Method and Description |
---|---|
T |
SettableByIndexData.setDate(int i,
DateWithoutTime v)
Set the
i th value to the provided date (without time). |
BoundStatement |
BoundStatement.setDate(int i,
DateWithoutTime v)
Set the
i th value to the provided date. |
T |
SettableByNameData.setDate(String name,
DateWithoutTime v)
Sets the value for (all occurrences of) variable
name to the
provided date (without time). |
BoundStatement |
BoundStatement.setDate(String name,
DateWithoutTime v)
Sets the value for (all occurrences of) variable
name to the
provided date. |
Copyright © 2012–2015. All rights reserved.