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 |
---|---|
OTimestamp |
DocumentReader.getTimestamp() |
OTimestamp |
Value.getTimestamp()
Returns the value as a
OTimestamp object. |
OTimestamp |
Document.getTimestamp(FieldPath fieldPath)
Returns the value at the specified fieldPath as a
OTimestamp
object or null if the specified FieldPath does not
exist in the document. |
OTimestamp |
Document.getTimestamp(String fieldPath)
Returns the value at the specified fieldPath as a
OTimestamp
object or null if the specified FieldPath does not
exist in the document. |
Modifier and Type | Method and Description |
---|---|
DocumentBuilder |
DocumentBuilder.add(OTimestamp value) |
DocumentBuilder |
DocumentBuilder.put(String field,
OTimestamp value) |
Document |
Document.set(FieldPath fieldPath,
OTimestamp value)
Sets the value of the specified fieldPath in this Document to the
specified Timestamp.
|
Document |
Document.set(String fieldPath,
OTimestamp value)
Sets the value of the specified fieldPath in this Document to the
specified Timestamp.
|
Modifier and Type | Method and Description |
---|---|
OTimestamp |
DocumentBase.getTimestamp(String fieldPath) |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentBase.set(String fieldPath,
OTimestamp value) |
Modifier and Type | Method and Description |
---|---|
QueryCondition |
QueryCondition.is(FieldPath path,
QueryCondition.Op op,
OTimestamp value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given QueryCondition.Op against
the specified Timestamp value. |
QueryCondition |
QueryCondition.is(String path,
QueryCondition.Op op,
OTimestamp value)
Adds a condition that tests if the
Value at the specified
FieldPath satisfies the given QueryCondition.Op against
the specified Timestamp value. |
Value |
ValueBuilder.newValue(OTimestamp value)
|
DocumentMutation |
DocumentMutation.set(FieldPath path,
OTimestamp ts)
Sets the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
DocumentMutation.set(String path,
OTimestamp ts)
Sets the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
DocumentMutation.setOrReplace(FieldPath path,
OTimestamp ts)
Sets or replaces the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
DocumentMutation.setOrReplace(String path,
OTimestamp ts)
Sets or replaces the field at the given FieldPath to the specified
Timestamp value. |
Modifier and Type | Method and Description |
---|---|
OTimestamp |
ChangeNode.getTimestamp()
Returns the value as a
OTimestamp object. |
OTimestamp |
ChangeDataReader.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
static OTimestamp |
OTimestamp.parse(String dateTimeStr)
Parses and return an instance of
OTimestamp from the specified string. |
Modifier and Type | Method and Description |
---|---|
int |
OTimestamp.compareTo(OTimestamp o) |
Modifier and Type | Method and Description |
---|---|
OTimestamp |
DocumentReaderWithProjection.getTimestamp() |
static OTimestamp |
Documents.getTimestamp(Document document,
FieldPath fieldPath,
OTimestamp defaultValue)
Returns the value at the specified fieldPath as a
OTimestamp or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
static OTimestamp |
Documents.getTimestamp(Document document,
String fieldPath,
OTimestamp defaultValue)
Returns the value at the specified fieldPath as a
OTimestamp or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
Modifier and Type | Method and Description |
---|---|
static OTimestamp |
Documents.getTimestamp(Document document,
FieldPath fieldPath,
OTimestamp defaultValue)
Returns the value at the specified fieldPath as a
OTimestamp or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
static OTimestamp |
Documents.getTimestamp(Document document,
String fieldPath,
OTimestamp defaultValue)
Returns the value at the specified fieldPath as a
OTimestamp or the
specified defaultValue if the specified FieldPath does not
exist in the document. |
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.