@API.Public
public interface DBDocument
extends org.ojai.Document
| Modifier and Type | Method and Description |
|---|---|
DBDocument |
delete(org.ojai.FieldPath fieldPath) |
DBDocument |
delete(String fieldPath) |
DBDocument |
empty() |
ControlInfo |
getControlInfo(org.ojai.FieldPath fieldPath) |
ControlInfo |
getControlInfo(String fieldPath)
Get the control information (create/delete/append) information for the
field at the given path.
|
org.ojai.Value |
getId() |
ByteBuffer |
getIdBinary() |
String |
getIdString() |
DBDocument |
set(org.ojai.FieldPath fieldPath,
BigDecimal value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
boolean value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
byte value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
byte[] value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
byte[] value,
int off,
int len) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
ByteBuffer value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
Date value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
org.ojai.Document value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
double value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
float value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
int value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
org.ojai.types.Interval value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
List<? extends Object> value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
long value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
Map<String,? extends Object> value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
short value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
String value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
Time value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
Timestamp value) |
DBDocument |
set(org.ojai.FieldPath fieldPath,
org.ojai.Value value) |
DBDocument |
set(String fieldPath,
BigDecimal value) |
DBDocument |
set(String fieldPath,
boolean value) |
DBDocument |
set(String fieldPath,
byte value) |
DBDocument |
set(String fieldPath,
byte[] value) |
DBDocument |
set(String fieldPath,
byte[] value,
int off,
int len) |
DBDocument |
set(String fieldPath,
ByteBuffer value) |
DBDocument |
set(String fieldPath,
Date value) |
DBDocument |
set(String fieldPath,
org.ojai.Document value) |
DBDocument |
set(String fieldPath,
double value) |
DBDocument |
set(String fieldPath,
float value) |
DBDocument |
set(String fieldPath,
int value) |
DBDocument |
set(String fieldPath,
org.ojai.types.Interval value) |
DBDocument |
set(String fieldPath,
List<? extends Object> value) |
DBDocument |
set(String fieldPath,
long value) |
DBDocument |
set(String fieldPath,
Map<String,? extends Object> value) |
DBDocument |
set(String fieldPath,
short value) |
DBDocument |
set(String fieldPath,
String value) |
DBDocument |
set(String fieldPath,
Time value) |
DBDocument |
set(String fieldPath,
Timestamp value) |
DBDocument |
set(String fieldPath,
org.ojai.Value value) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
boolean[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
byte[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
double[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
float[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
int[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
long[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
Object... values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
short[] values) |
DBDocument |
setArray(org.ojai.FieldPath fieldPath,
String[] values) |
DBDocument |
setArray(String fieldPath,
boolean[] values) |
DBDocument |
setArray(String fieldPath,
byte[] values) |
DBDocument |
setArray(String fieldPath,
double[] values) |
DBDocument |
setArray(String fieldPath,
float[] values) |
DBDocument |
setArray(String fieldPath,
int[] values) |
DBDocument |
setArray(String fieldPath,
long[] values) |
DBDocument |
setArray(String fieldPath,
Object... values) |
DBDocument |
setArray(String fieldPath,
short[] values) |
DBDocument |
setArray(String fieldPath,
String[] values) |
void |
setId(ByteBuffer _id)
Sets the the "_id" field of this Document to the specified string.
|
void |
setId(String _id)
Sets the the "_id" field of this Document to the specified string.
|
DBDocument |
setId(org.ojai.Value _id)
Sets the the "_id" field of this Document to the specified Value.
|
DBDocument |
setNull(org.ojai.FieldPath fieldPath) |
DBDocument |
setNull(String fieldPath) |
asJsonString, asJsonString, asReader, asReader, asReader, getBinary, getBinary, getBoolean, getBoolean, getBooleanObj, getBooleanObj, getByte, getByte, getByteObj, getByteObj, getDate, getDate, getDecimal, getDecimal, getDouble, getDouble, getDoubleObj, getDoubleObj, getFloat, getFloat, getFloatObj, getFloatObj, getInt, getInt, getInterval, getInterval, getIntObj, getIntObj, getList, getList, getLong, getLong, getLongObj, getLongObj, getMap, getMap, getShort, getShort, getShortObj, getShortObj, getString, getString, getTime, getTime, getTimestamp, getTimestamp, getValue, getValue, size, toJavaBeanDBDocument setId(org.ojai.Value _id)
_id - Value to set as the value of "_id" field.org.ojai.Value getId()
void setId(String _id)
_id - String to set as the value of "_id" field.String getIdString()
org.ojai.exceptions.TypeException - if the _id of this Document is not of String type.void setId(ByteBuffer _id)
_id - ByteBuffer to set as the value of "_id" field.ByteBuffer getIdBinary()
org.ojai.exceptions.TypeException - if the _id of this Document is not of BINARY type.ControlInfo getControlInfo(String fieldPath)
ControlInfo getControlInfo(org.ojai.FieldPath fieldPath)
DBDocument empty()
empty in interface org.ojai.DocumentDBDocument set(String fieldPath, String value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, String value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, boolean value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, boolean value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, byte value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, byte value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, short value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, short value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, int value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, int value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, long value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, long value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, float value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, float value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, double value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, double value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, BigDecimal value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, BigDecimal value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, Time value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, Time value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, Date value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, Date value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, Timestamp value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, Timestamp value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, org.ojai.types.Interval value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, org.ojai.types.Interval value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, byte[] value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, byte[] value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, byte[] value, int off, int len)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, byte[] value, int off, int len)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, ByteBuffer value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, ByteBuffer value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, Map<String,? extends Object> value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, Map<String,? extends Object> value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, org.ojai.Document value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, org.ojai.Document value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, org.ojai.Value value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, org.ojai.Value value)
set in interface org.ojai.DocumentDBDocument set(String fieldPath, List<? extends Object> value)
set in interface org.ojai.DocumentDBDocument set(org.ojai.FieldPath fieldPath, List<? extends Object> value)
set in interface org.ojai.DocumentDBDocument setArray(String fieldPath, boolean[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, boolean[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, byte[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, byte[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, short[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, short[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, int[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, int[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, long[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, long[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, float[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, float[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, double[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, double[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, String[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, String[] values)
setArray in interface org.ojai.DocumentDBDocument setArray(String fieldPath, Object... values)
setArray in interface org.ojai.DocumentDBDocument setArray(org.ojai.FieldPath fieldPath, Object... values)
setArray in interface org.ojai.DocumentDBDocument setNull(String fieldPath)
setNull in interface org.ojai.DocumentDBDocument setNull(org.ojai.FieldPath fieldPath)
setNull in interface org.ojai.DocumentDBDocument delete(String fieldPath)
delete in interface org.ojai.DocumentDBDocument delete(org.ojai.FieldPath fieldPath)
delete in interface org.ojai.DocumentCopyright © 2015 Mapr Technologies, Inc.. All rights reserved.