Package | Description |
---|---|
org.ojai | |
org.ojai.base | |
org.ojai.store | |
org.ojai.store.cdc | |
org.ojai.types | |
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
ODate |
Value.getDate()
Returns the value as a
ODate object. |
ODate |
DocumentReader.getDate() |
ODate |
Document.getDate(FieldPath fieldPath)
Returns the value at the specified fieldPath as a
ODate
object or null if the specified FieldPath does not
exist in the document. |
ODate |
Document.getDate(String fieldPath)
Returns the value at the specified fieldPath as a
ODate
object or null if the specified FieldPath does not
exist in the document. |
Modifier and Type | Method and Description |
---|---|
DocumentBuilder |
DocumentBuilder.add(ODate value) |
DocumentBuilder |
DocumentBuilder.put(String field,
ODate value) |
Document |
Document.set(FieldPath fieldPath,
ODate value)
Sets the value of the specified fieldPath in this Document to the
specified Date.
|
Document |
Document.set(String fieldPath,
ODate value)
Sets the value of the specified fieldPath in this Document to the
specified Date.
|
Modifier and Type | Method and Description |
---|---|
ODate |
DocumentBase.getDate(String fieldPath) |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentBase.set(String fieldPath,
ODate value) |
Modifier and Type | Method and Description |
---|---|
QueryCondition |
QueryCondition.is(FieldPath path,
QueryCondition.Op op,
ODate value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given QueryCondition.Op against
the specified Date value. |
QueryCondition |
QueryCondition.is(String path,
QueryCondition.Op op,
ODate value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given QueryCondition.Op against
the specified Date value. |
Value |
ValueBuilder.newValue(ODate value)
|
DocumentMutation |
DocumentMutation.set(FieldPath path,
ODate d)
Sets the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
DocumentMutation.set(String path,
ODate d)
Sets the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
DocumentMutation.setOrReplace(FieldPath path,
ODate d)
Sets or replaces the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
DocumentMutation.setOrReplace(String path,
ODate d)
Sets or replaces the field at the given FieldPath to the specified
Date value. |
Modifier and Type | Method and Description |
---|---|
ODate |
ChangeNode.getDate()
Returns the value as a
ODate object. |
ODate |
ChangeDataReader.getDate() |
Modifier and Type | Method and Description |
---|---|
static ODate |
ODate.fromDaysSinceEpoch(int daysSinceEpoch)
Return an
ODate instance from the specified number of days since epoch. |
static ODate |
ODate.parse(String dateStr)
Parses and return an instance of
ODate from the specified string. |
Modifier and Type | Method and Description |
---|---|
int |
ODate.compareTo(ODate o) |
Modifier and Type | Method and Description |
---|---|
ODate |
DocumentReaderWithProjection.getDate() |
static ODate |
Documents.getDate(Document document,
FieldPath fieldPath,
ODate defaultValue)
Returns the value at the specified fieldPath as a
ODate or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
static ODate |
Documents.getDate(Document document,
String fieldPath,
ODate defaultValue)
Returns the value at the specified fieldPath as a
ODate or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
Modifier and Type | Method and Description |
---|---|
static ODate |
Documents.getDate(Document document,
FieldPath fieldPath,
ODate defaultValue)
Returns the value at the specified fieldPath as a
ODate or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
static ODate |
Documents.getDate(Document document,
String fieldPath,
ODate defaultValue)
Returns the value at the specified fieldPath as a
ODate or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.