Package | Description |
---|---|
org.ojai | |
org.ojai.beans | |
org.ojai.json | |
org.ojai.store | |
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
DocumentBuilder |
DocumentBuilder.add(BigDecimal value)
Adds a
BigDecimal value at the current index in the current array
and advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(boolean value)
Adds a
boolean value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(byte value)
Adds a
byte value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(byte[] value)
Appends the byte array as a
BINARY value to the current array. |
DocumentBuilder |
DocumentBuilder.add(byte[] value,
int offset,
int length)
Appends the byte array bounded by offset and length as a
BINARY
value to the current array. |
DocumentBuilder |
DocumentBuilder.add(ByteBuffer value)
Appends the
ByteBuffer as a BINARY value to the current array. |
DocumentBuilder |
DocumentBuilder.add(Document value)
Appends the
Document to the current array. |
DocumentBuilder |
DocumentBuilder.add(double value)
Adds a
double value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(float value)
Adds a
float value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(int value)
Adds an
int value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(long value)
Adds a
long value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(ODate value) |
DocumentBuilder |
DocumentBuilder.add(OInterval value) |
DocumentBuilder |
DocumentBuilder.add(OTime value) |
DocumentBuilder |
DocumentBuilder.add(OTimestamp value) |
DocumentBuilder |
DocumentBuilder.add(short value)
Adds a
short value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(String value)
Adds a
String value at the current index in the current array and
advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.add(Value value)
Appends the
Value to the current array. |
DocumentBuilder |
DocumentBuilder.addDate(int days)
Appends the specified
date value represented as the number of
days since epoch to the current array. |
DocumentBuilder |
DocumentBuilder.addDecimal(byte[] unscaledValue,
int scale)
Adds a byte array containing the two's complement binary representation
and an
int scale as a DECIMAL value at the current index
in the current array and advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.addDecimal(double decimalValue)
Adds a double number as a
DECIMAL value at the current index in the
current array and advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.addDecimal(int unscaledValue,
int scale)
Adds an
int unscaled value and an int scale as a
DECIMAL value at the current index in the current array
and advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.addDecimal(long decimalValue)
Adds a long number as a
DECIMAL value at the current index in the
current array and advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.addDecimal(long unscaledValue,
int scale)
Adds an
long unscaled value and an int scale as a
DECIMAL value at the current index in the current array
and advances the current index by 1. |
DocumentBuilder |
DocumentBuilder.addInterval(long durationInMs) |
DocumentBuilder |
DocumentBuilder.addNewArray() |
DocumentBuilder |
DocumentBuilder.addNewMap() |
DocumentBuilder |
DocumentBuilder.addNull()
Appends a
NULL value to the current array. |
DocumentBuilder |
DocumentBuilder.addTime(int millis)
Appends the specified
time value represented as number of
milliseconds since midnight to the current array. |
DocumentBuilder |
DocumentBuilder.addTimestamp(long timeMillis) |
DocumentBuilder |
DocumentBuilder.endArray() |
DocumentBuilder |
DocumentBuilder.endMap() |
DocumentBuilder |
DocumentBuilder.put(String field,
BigDecimal value) |
DocumentBuilder |
DocumentBuilder.put(String field,
boolean value)
Associates the specified
boolean value with the specified
field in the current map. |
DocumentBuilder |
DocumentBuilder.put(String field,
byte value) |
DocumentBuilder |
DocumentBuilder.put(String field,
byte[] value) |
DocumentBuilder |
DocumentBuilder.put(String field,
byte[] value,
int offset,
int length) |
DocumentBuilder |
DocumentBuilder.put(String field,
ByteBuffer value) |
DocumentBuilder |
DocumentBuilder.put(String field,
Document value) |
DocumentBuilder |
DocumentBuilder.put(String field,
double value) |
DocumentBuilder |
DocumentBuilder.put(String field,
float value) |
DocumentBuilder |
DocumentBuilder.put(String field,
int value) |
DocumentBuilder |
DocumentBuilder.put(String field,
long value) |
DocumentBuilder |
DocumentBuilder.put(String field,
Map<String,Object> value) |
DocumentBuilder |
DocumentBuilder.put(String field,
ODate value) |
DocumentBuilder |
DocumentBuilder.put(String field,
OInterval value) |
DocumentBuilder |
DocumentBuilder.put(String field,
OTime value) |
DocumentBuilder |
DocumentBuilder.put(String field,
OTimestamp value) |
DocumentBuilder |
DocumentBuilder.put(String field,
short value) |
DocumentBuilder |
DocumentBuilder.put(String field,
String value)
Associates the specified
String value with the specified
field in the current map. |
DocumentBuilder |
DocumentBuilder.put(String field,
Value value) |
DocumentBuilder |
DocumentBuilder.putDate(String field,
int days)
Associates the specified
date value represented as the number
of days since epoch with the specified field in the
current map. |
DocumentBuilder |
DocumentBuilder.putDecimal(String field,
byte[] unscaledValue,
int scale) |
DocumentBuilder |
DocumentBuilder.putDecimal(String field,
double decimalValue) |
DocumentBuilder |
DocumentBuilder.putDecimal(String field,
int unscaledValue,
int scale) |
DocumentBuilder |
DocumentBuilder.putDecimal(String field,
long decimalValue) |
DocumentBuilder |
DocumentBuilder.putDecimal(String field,
long unscaledValue,
int scale) |
DocumentBuilder |
DocumentBuilder.putInterval(String field,
int months,
int days,
int milliseconds) |
DocumentBuilder |
DocumentBuilder.putInterval(String field,
long durationInMs) |
DocumentBuilder |
DocumentBuilder.putNewArray(String field) |
DocumentBuilder |
DocumentBuilder.putNewMap(String field) |
DocumentBuilder |
DocumentBuilder.putNull(String field) |
DocumentBuilder |
DocumentBuilder.putTime(String field,
int millis)
Associates the specified
time value represented as number of
milliseconds since midnight with the specified field in the
current map. |
DocumentBuilder |
DocumentBuilder.putTimestamp(String field,
long timeMillis)
Associates the specified
timestamp value represented as the number
of milliseconds since epoch with the specified field in the
current map. |
DocumentBuilder |
DocumentBuilder.setArrayIndex(int index)
Sets the index in the current array at which the next value will be added.
|
Modifier and Type | Method and Description |
---|---|
static Document |
BeanCodec.decode(DocumentBuilder db,
Object bean) |
Modifier and Type | Method and Description |
---|---|
static DocumentBuilder |
Json.newDocumentBuilder()
Returns a new instance of JSON DocumentBuilder.
|
static DocumentBuilder |
Json.newDocumentBuilder(JsonOptions options)
Returns a new instance of JSON DocumentBuilder with the specified JsonOptions.
|
Modifier and Type | Method and Description |
---|---|
static void |
Json.writeReaderToBuilder(DocumentReader r,
DocumentBuilder w)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentBuilder |
Driver.newDocumentBuilder()
Returns a new DocumentBuilder object.
|
DocumentBuilder |
Connection.newDocumentBuilder()
Returns a new DocumentBuilder object.
|
Modifier and Type | Method and Description |
---|---|
static void |
Documents.writeReaderToBuilder(DocumentReader reader,
DocumentBuilder builder)
|
Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.