Package | Description |
---|---|
com.google.cloud |
Core classes for the
google-cloud library. |
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
static Date |
Date.fromJavaUtilDate(Date date)
Convert a Java Util Date to a Google Date.
|
static Date |
Date.fromYearMonthDay(int year,
int month,
int dayOfMonth)
Constructs a new Date instance.
|
static Date |
Date.parseDate(String date) |
Modifier and Type | Method and Description |
---|---|
int |
Date.compareTo(Date other) |
static Date |
Date.toJavaUtilDate(Date date)
Convert a Google Date to a Java Util Date.
|
Modifier and Type | Method and Description |
---|---|
abstract Date |
Value.getDate()
Returns the value of a
DATE -typed instance. |
Date |
StructReader.getDate(int columnIndex)
Returns the value of a non-
NULL column with type Type.date() . |
Date |
AbstractStructReader.getDate(int columnIndex) |
Date |
ForwardingStructReader.getDate(int columnIndex) |
Date |
StructReader.getDate(String columnName)
Returns the value of a non-
NULL column with type Type.date() . |
Date |
AbstractStructReader.getDate(String columnName) |
Date |
ForwardingStructReader.getDate(String columnName) |
protected abstract Date |
AbstractStructReader.getDateInternal(int columnIndex) |
Modifier and Type | Method and Description |
---|---|
abstract List<Date> |
Value.getDateArray()
Returns the value of an
ARRAY<DATE> -typed instance. |
List<Date> |
StructReader.getDateList(int columnIndex)
Returns the value of a non-
NULL column with type Type.array(Type.date()) . |
List<Date> |
AbstractStructReader.getDateList(int columnIndex) |
List<Date> |
ForwardingStructReader.getDateList(int columnIndex) |
List<Date> |
StructReader.getDateList(String columnName)
Returns the value of a non-
NULL column with type Type.array(Type.date()) . |
List<Date> |
AbstractStructReader.getDateList(String columnName) |
List<Date> |
ForwardingStructReader.getDateList(String columnName) |
protected abstract List<Date> |
AbstractStructReader.getDateListInternal(int columnIndex) |
Modifier and Type | Method and Description |
---|---|
Key.Builder |
Key.Builder.append(Date value)
Appends a
DATE value to the key |
static Value |
Value.date(Date v)
Returns a
DATE value. |
R |
ValueBinder.to(Date value)
Binds to
Value.date(value) |
Modifier and Type | Method and Description |
---|---|
static Value |
Value.dateArray(Iterable<Date> v)
Returns an
ARRAY<DATE> value. |
R |
ValueBinder.toDateArray(Iterable<Date> values)
Binds to
Value.dateArray(values) |
Copyright © 2019 Google LLC. All rights reserved.