- B_BINARY - Static variable in class org.bson.BSON
-
- B_FUNC - Static variable in class org.bson.BSON
-
- B_GENERAL - Static variable in class org.bson.BSON
-
- B_UUID - Static variable in class org.bson.BSON
-
- babbleToMongod(String) - Static method in class org.bson.types.ObjectId
-
- backpatchSize(int) - Method in class org.bson.io.OutputBuffer
-
Backpatches the size of a document or string by writing the size into the four bytes starting at getPosition() -
size.
- backpatchSize(int, int) - Method in class org.bson.io.OutputBuffer
-
Backpatches the size of a document or string by writing the size into the four bytes starting at getPosition() - size -
additionalOffset
.
- BasicBSONCallback - Class in org.bson
-
An implementation of BsonCallback
that creates an instance of BSONObject.
- BasicBSONCallback() - Constructor for class org.bson.BasicBSONCallback
-
Creates a new instance.
- BasicBSONDecoder - Class in org.bson
-
Basic implementation of BSONDecoder interface that creates BasicBSONObject instances
- BasicBSONDecoder() - Constructor for class org.bson.BasicBSONDecoder
-
- BasicBSONDecoder.BSONInput - Class in org.bson
-
- BasicBSONEncoder - Class in org.bson
-
This is meant to be pooled or cached.
- BasicBSONEncoder() - Constructor for class org.bson.BasicBSONEncoder
-
- BasicBSONList - Class in org.bson.types
-
Utility class to allow array DBObject
s to be created.
- BasicBSONList() - Constructor for class org.bson.types.BasicBSONList
-
- BasicBSONObject - Class in org.bson
-
A simple implementation of DBObject
.
- BasicBSONObject() - Constructor for class org.bson.BasicBSONObject
-
Creates an empty object.
- BasicBSONObject(int) - Constructor for class org.bson.BasicBSONObject
-
Creates an empty object.
- BasicBSONObject(String, Object) - Constructor for class org.bson.BasicBSONObject
-
Creates a BSONObject initialised with a single key/value pair.
- BasicBSONObject(Map) - Constructor for class org.bson.BasicBSONObject
-
Creates a DBObject from a map.
- BasicOutputBuffer - Class in org.bson.io
-
A BSON output stream that stores the output in a single, un-pooled byte array.
- BasicOutputBuffer() - Constructor for class org.bson.io.BasicOutputBuffer
-
- BINARY - Static variable in class org.bson.BSON
-
- Binary - Class in org.bson.types
-
Generic binary holder.
- Binary(byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary object with the default binary type of 0
- Binary(byte, byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary with the specified type and data.
- Bits - Class in org.bson.io
-
Utility class for reading values from an input stream.
- Bits() - Constructor for class org.bson.io.Bits
-
- BOOLEAN - Static variable in class org.bson.BSON
-
- BSON - Class in org.bson
-
- BSON() - Constructor for class org.bson.BSON
-
- BSONByteBuffer - Class in org.bson.io
-
- BSONCallback - Interface in org.bson
-
A callback interface for describing the structure of a BSON document.
- BSONDecoder - Interface in org.bson
-
An interface for decoders of BSON documents.
- BSONEncoder - Interface in org.bson
-
A BSONEncoder
is a class which can be used to turn documents into byte arrays.
- BSONException - Exception in org.bson
-
A general runtime exception raised in BSON processing.
- BSONException(String) - Constructor for exception org.bson.BSONException
-
- BSONException(int, String) - Constructor for exception org.bson.BSONException
-
- BSONException(String, Throwable) - Constructor for exception org.bson.BSONException
-
- BSONException(int, String, Throwable) - Constructor for exception org.bson.BSONException
-
- BSONInput(InputStream) - Constructor for class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- BSONLazyDecoder - Class in org.bson
-
- BSONLazyDecoder() - Constructor for class org.bson.BSONLazyDecoder
-
Deprecated.
- BSONObject - Interface in org.bson
-
A key-value map that can be saved to the database.
- BSONTimestamp - Class in org.bson.types
-
This is used for internal increment values.
- BSONTimestamp() - Constructor for class org.bson.types.BSONTimestamp
-
Construct a new instance with a null time and a 0 increment.
- BSONTimestamp(int, int) - Constructor for class org.bson.types.BSONTimestamp
-
Construct a new instance for the given time and increment.
- buf - Variable in class org.bson.io.BSONByteBuffer
-
Deprecated.
- BUF_SIZE - Static variable in class org.bson.io.PoolOutputBuffer
-
Deprecated.
- ClassMap<T> - Class in org.bson.util
-
Maps Class objects to values.
- ClassMap() - Constructor for class org.bson.util.ClassMap
-
- clear() - Method in class org.bson.LazyBSONList
-
- clear() - Method in class org.bson.util.ClassMap
-
As per java.util.Map
, removes all of the mappings from this map (optional operation).
- clear() - Method in class org.bson.util.StringRangeSet
-
Deprecated.
- clearAllHooks() - Static method in class org.bson.BSON
-
Remove all decoding and encoding hooks for all classes.
- clearDecodingHooks() - Static method in class org.bson.BSON
-
Clears all decoding hooks.
- clearEncodingHooks() - Static method in class org.bson.BSON
-
Clears all encoding hooks.
- CODE - Static variable in class org.bson.BSON
-
- Code - Class in org.bson.types
-
For using the Code type.
- Code(String) - Constructor for class org.bson.types.Code
-
Construct a new instance with the given code.
- CODE_W_SCOPE - Static variable in class org.bson.BSON
-
- CodeWScope - Class in org.bson.types
-
A representation of the JavaScript Code with Scope BSON type.
- CodeWScope(String, BSONObject) - Constructor for class org.bson.types.CodeWScope
-
Construct an instance.
- compareTo(BSONTimestamp) - Method in class org.bson.types.BSONTimestamp
-
- compareTo(ObjectId) - Method in class org.bson.types.ObjectId
-
- contains(Object) - Method in class org.bson.LazyBSONList
-
- contains(Object) - Method in class org.bson.LazyBSONObject.LazyBSONKeySet
-
Deprecated.
- contains(Object) - Method in class org.bson.util.StringRangeSet
-
Deprecated.
- containsAll(Collection) - Method in class org.bson.LazyBSONList
-
- containsAll(Collection<?>) - Method in class org.bson.LazyBSONObject.LazyBSONKeySet
-
Deprecated.
- containsAll(Collection<?>) - Method in class org.bson.util.StringRangeSet
-
Deprecated.
- containsField(String) - Method in class org.bson.BasicBSONObject
-
Checks if this object contains a given field
- containsField(String) - Method in interface org.bson.BSONObject
-
Checks if this object contains a field with the given name.
- containsField(String) - Method in class org.bson.KeyCachingLazyBSONObject
-
Deprecated.
- containsField(String) - Method in class org.bson.LazyBSONObject
-
- containsField(String) - Method in class org.bson.types.BasicBSONList
-
- containsKey(String) - Method in class org.bson.BasicBSONObject
-
Deprecated.
- containsKey(String) - Method in interface org.bson.BSONObject
-
- containsKey(String) - Method in class org.bson.LazyBSONObject
-
Deprecated.
- containsKey(String) - Method in class org.bson.types.BasicBSONList
-
Deprecated.
- create() - Method in class org.bson.BasicBSONCallback
-
Factory method for creating a new BSONObject.
- create(boolean, List<String>) - Method in class org.bson.BasicBSONCallback
-
Helper method to create either a BSON Object or a BSON List depending upon whether the array
parameter is true or not.
- createArray(byte[], int) - Method in class org.bson.LazyBSONCallback
-
Create a LazyBSONList
from the given bytes starting from the given offset.
- createBSONCallback() - Method in class org.bson.BasicBSONCallback
-
- createBSONCallback() - Method in interface org.bson.BSONCallback
-
Factory method for BSONCallbacks.
- createBSONCallback() - Method in class org.bson.EmptyBSONCallback
-
- createDBRef(String, ObjectId) - Method in class org.bson.LazyBSONCallback
-
This is a factory method pattern to create appropriate objects for BSON type DBPointer(0x0c).
- createFromLegacyFormat(int, int, int) - Static method in class org.bson.types.ObjectId
-
Creates an ObjectId using time, machine and inc values.
- createList() - Method in class org.bson.BasicBSONCallback
-
Factory method for creating a new BSON List.
- createNew() - Method in class org.bson.util.SimplePool
-
Deprecated.
- createObject(byte[], int) - Method in class org.bson.LazyBSONCallback
-
Create a LazyBSONObject
instance from the given bytes starting from the given offset.
- cur() - Method in class org.bson.BasicBSONCallback
-
Gets the current value
- curName() - Method in class org.bson.BasicBSONCallback
-
Gets the name of the current field
- get() - Method in class org.bson.BasicBSONCallback
-
- get(String) - Method in class org.bson.BasicBSONObject
-
Gets a value from this object
- get() - Method in interface org.bson.BSONCallback
-
Returns the finished top-level Document.
- get(String) - Method in interface org.bson.BSONObject
-
Gets a field from this object by a given name.
- get() - Method in class org.bson.EmptyBSONCallback
-
- get(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- get(byte[], int, int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- get(byte[]) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- get(String) - Method in class org.bson.KeyCachingLazyBSONObject
-
Deprecated.
- get() - Method in class org.bson.LazyBSONCallback
-
- get(int) - Method in class org.bson.LazyBSONList
-
- get(String) - Method in class org.bson.LazyBSONObject
-
- get(String) - Method in class org.bson.types.BasicBSONList
-
Gets a value at an index.
- get() - Static method in class org.bson.types.ObjectId
-
Gets a new object id.
- get(Object) - Method in class org.bson.util.ClassMap
-
Gets the value associated with either this Class or a superclass of this class.
- get() - Method in class org.bson.util.SimplePool
-
Deprecated.
- getAncestry(Class<T>) - Static method in class org.bson.util.ClassMap
-
Helper method that walks superclass and interface graph, superclasses first, then interfaces, to compute an ancestry list.
- getBoolean(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a boolean.
- getBoolean(String, boolean) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a boolean
- getBSONSize() - Method in class org.bson.LazyBSONObject
-
Gets the size in bytes of the BSON document.
- getBytes() - Method in class org.bson.LazyBSONObject
-
- getCode() - Method in class org.bson.types.Code
-
Get the Javascript code.
- getCString(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- getCurrentCounter() - Static method in class org.bson.types.ObjectId
-
Gets the current value of the auto-incrementing counter.
- getCurrentInc() - Static method in class org.bson.types.ObjectId
-
- getData() - Method in class org.bson.types.Binary
-
Get a copy of the binary value.
- getDate(String) - Method in class org.bson.BasicBSONObject
-
Returns the date or null if not set.
- getDate(String, Date) - Method in class org.bson.BasicBSONObject
-
Returns the date or def if not set.
- getDate() - Method in class org.bson.types.ObjectId
-
Gets the timestamp as a Date
instance.
- getDecodingHooks(Class) - Static method in class org.bson.BSON
-
Returns the decoding hook(s) associated with the specific class
- getDouble(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a double
.
- getDouble(String, double) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an double
.
- getElementBSONSize(int) - Method in class org.bson.LazyBSONObject
-
- getElementType(int) - Method in class org.bson.LazyBSONObject
-
- getElementValue(LazyBSONObject.ElementRecord) - Method in class org.bson.LazyBSONObject
-
- getEncodingHooks(Class<?>) - Static method in class org.bson.BSON
-
Returns the encoding hook(s) associated with the specified class.
- getErrorCode() - Method in exception org.bson.BSONException
-
Returns the error code.
- getGenMachineId() - Static method in class org.bson.types.ObjectId
-
Deprecated.
- getInc() - Method in class org.bson.types.BSONTimestamp
-
Gets the increment value.
- getInc() - Method in class org.bson.types.ObjectId
-
- getInt(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an int
.
- getInt(String, int) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an int
.
- getInt(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
Gets a Little Endian Integer
- getIntBE(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- getIntLE(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- getLong(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a long
.
- getLong(String, long) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an long
.
- getLong(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- getMachine() - Method in class org.bson.types.ObjectId
-
- getMax() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- getObjectId(String) - Method in class org.bson.BasicBSONObject
-
Returns the object id or null if not set.
- getObjectId(String, ObjectId) - Method in class org.bson.BasicBSONObject
-
Returns the object id or def if not set.
- getOffset() - Method in class org.bson.LazyBSONObject
-
- getOutputBuffer() - Method in class org.bson.BasicBSONEncoder
-
Gets the buffer the BSON is being encoded into.
- getPos() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- getPosition() - Method in class org.bson.io.BasicOutputBuffer
-
- getPosition() - Method in class org.bson.io.OutputBuffer
-
Gets the current position in the stream.
- getPosition() - Method in class org.bson.io.PoolOutputBuffer
-
Deprecated.
- getScope() - Method in class org.bson.types.CodeWScope
-
Gets the scope, which is is a mapping from identifiers to values, representing the scope in which the code should be evaluated.
- getString(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a string
- getString(String, String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a string
- getSymbol() - Method in class org.bson.types.Symbol
-
Gets the symbol.
- getTime() - Method in class org.bson.types.BSONTimestamp
-
Gets the time in seconds since epoch.
- getTime() - Method in class org.bson.types.ObjectId
-
- getTimeSecond() - Method in class org.bson.types.ObjectId
-
- getTimestamp() - Method in class org.bson.types.ObjectId
-
Gets the timestamp (number of seconds since the Unix epoch).
- getType() - Method in class org.bson.types.Binary
-
Get the binary sub type as a byte.
- getUTF8String(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- gotBinary(String, byte, byte[]) - Method in class org.bson.BasicBSONCallback
-
- gotBinary(String, byte, byte[]) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a binary value.
- gotBinary(String, byte, byte[]) - Method in class org.bson.EmptyBSONCallback
-
- gotBinary(String, byte, byte[]) - Method in class org.bson.LazyBSONCallback
-
- gotBinaryArray(String, byte[]) - Method in class org.bson.BasicBSONCallback
-
Deprecated.
- gotBinaryArray(String, byte[]) - Method in interface org.bson.BSONCallback
-
Deprecated.
- gotBinaryArray(String, byte[]) - Method in class org.bson.EmptyBSONCallback
-
Deprecated.
- gotBoolean(String, boolean) - Method in class org.bson.BasicBSONCallback
-
- gotBoolean(String, boolean) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a Boolean value.
- gotBoolean(String, boolean) - Method in class org.bson.EmptyBSONCallback
-
- gotCode(String, String) - Method in class org.bson.BasicBSONCallback
-
- gotCode(String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a JavaScript value.
- gotCode(String, String) - Method in class org.bson.EmptyBSONCallback
-
- gotCodeWScope(String, String, Object) - Method in class org.bson.BasicBSONCallback
-
- gotCodeWScope(String, String, Object) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a JavaScript with Scope value.
- gotCodeWScope(String, String, Object) - Method in class org.bson.EmptyBSONCallback
-
- gotDate(String, long) - Method in class org.bson.BasicBSONCallback
-
- gotDate(String, long) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a DateTime value.
- gotDate(String, long) - Method in class org.bson.EmptyBSONCallback
-
- gotDBRef(String, String, ObjectId) - Method in class org.bson.BasicBSONCallback
-
- gotDBRef(String, String, ObjectId) - Method in interface org.bson.BSONCallback
-
Invoked when
BSONDecoder
encountered a DBPointer(0x0c) type field in a byte sequence.
- gotDBRef(String, String, ObjectId) - Method in class org.bson.EmptyBSONCallback
-
- gotDouble(String, double) - Method in class org.bson.BasicBSONCallback
-
- gotDouble(String, double) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a Double value.
- gotDouble(String, double) - Method in class org.bson.EmptyBSONCallback
-
- gotInt(String, int) - Method in class org.bson.BasicBSONCallback
-
- gotInt(String, int) - Method in interface org.bson.BSONCallback
-
Called when reading a field with an Int32 value.
- gotInt(String, int) - Method in class org.bson.EmptyBSONCallback
-
- gotLong(String, long) - Method in class org.bson.BasicBSONCallback
-
- gotLong(String, long) - Method in interface org.bson.BSONCallback
-
Called when reading a field with an Int64 value.
- gotLong(String, long) - Method in class org.bson.EmptyBSONCallback
-
- gotMaxKey(String) - Method in class org.bson.BasicBSONCallback
-
- gotMaxKey(String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a MaxKey value.
- gotMaxKey(String) - Method in class org.bson.EmptyBSONCallback
-
- gotMinKey(String) - Method in class org.bson.BasicBSONCallback
-
- gotMinKey(String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a MinKey value.
- gotMinKey(String) - Method in class org.bson.EmptyBSONCallback
-
- gotNull(String) - Method in class org.bson.BasicBSONCallback
-
- gotNull(String) - Method in interface org.bson.BSONCallback
-
Called when reading a BSON field that exists but has a null value.
- gotNull(String) - Method in class org.bson.EmptyBSONCallback
-
- gotObjectId(String, ObjectId) - Method in class org.bson.BasicBSONCallback
-
- gotObjectId(String, ObjectId) - Method in interface org.bson.BSONCallback
-
Called when reading a field with an ObjectID value.
- gotObjectId(String, ObjectId) - Method in class org.bson.EmptyBSONCallback
-
- gotRegex(String, String, String) - Method in class org.bson.BasicBSONCallback
-
- gotRegex(String, String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a Regex value.
- gotRegex(String, String, String) - Method in class org.bson.EmptyBSONCallback
-
- gotString(String, String) - Method in class org.bson.BasicBSONCallback
-
- gotString(String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a String value.
- gotString(String, String) - Method in class org.bson.EmptyBSONCallback
-
- gotSymbol(String, String) - Method in class org.bson.BasicBSONCallback
-
- gotSymbol(String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a Symbol value.
- gotSymbol(String, String) - Method in class org.bson.EmptyBSONCallback
-
- gotTimestamp(String, int, int) - Method in class org.bson.BasicBSONCallback
-
- gotTimestamp(String, int, int) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a Timestamp value.
- gotTimestamp(String, int, int) - Method in class org.bson.EmptyBSONCallback
-
- gotUndefined(String) - Method in class org.bson.BasicBSONCallback
-
- gotUndefined(String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with an Undefined value.
- gotUndefined(String) - Method in class org.bson.EmptyBSONCallback
-
- gotUUID(String, long, long) - Method in class org.bson.BasicBSONCallback
-
- gotUUID(String, long, long) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
UUID
value.
- gotUUID(String, long, long) - Method in class org.bson.EmptyBSONCallback
-
- pipe(OutputStream) - Method in class org.bson.io.BasicOutputBuffer
-
- pipe(DataOutput) - Method in class org.bson.io.BasicOutputBuffer
-
Deprecated.
- pipe(OutputStream) - Method in class org.bson.io.OutputBuffer
-
Pipe the contents of this output buffer into the given output stream
- pipe(OutputStream) - Method in class org.bson.io.PoolOutputBuffer
-
Deprecated.
- pipe(OutputStream) - Method in class org.bson.LazyBSONObject
-
Pipe the raw bytes into the given output stream.
- PoolOutputBuffer - Class in org.bson.io
-
- PoolOutputBuffer() - Constructor for class org.bson.io.PoolOutputBuffer
-
Deprecated.
- position(int) - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- put(String, Object) - Method in class org.bson.BasicBSONObject
-
- put(String, Object) - Method in interface org.bson.BSONObject
-
Sets a name/value pair in this object.
- put(String, Object) - Method in class org.bson.LazyBSONObject
-
Always throws UnsupportedOperationException
.
- put(String, Object) - Method in class org.bson.types.BasicBSONList
-
Puts a value at an index.
- put(int, Object) - Method in class org.bson.types.BasicBSONList
-
Puts a value at an index.
- put(Class<?>, T) - Method in class org.bson.util.ClassMap
-
As per java.util.Map
, associates the specified value with the specified key in this map.
- putAll(Map) - Method in class org.bson.BasicBSONObject
-
- putAll(BSONObject) - Method in class org.bson.BasicBSONObject
-
- putAll(BSONObject) - Method in interface org.bson.BSONObject
-
Sets all key/value pairs from an object into this object
- putAll(Map) - Method in interface org.bson.BSONObject
-
Sets all key/value pairs from a map into this object
- putAll(BSONObject) - Method in class org.bson.LazyBSONObject
-
Always throws UnsupportedOperationException
.
- putAll(Map) - Method in class org.bson.LazyBSONObject
-
Always throws UnsupportedOperationException
.
- putAll(Map) - Method in class org.bson.types.BasicBSONList
-
- putAll(BSONObject) - Method in class org.bson.types.BasicBSONList
-
- putBinary(String, byte[]) - Method in class org.bson.BasicBSONEncoder
-
Encodes a byte array field
- putBinary(String, Binary) - Method in class org.bson.BasicBSONEncoder
-
Encodes a Binary field
- putBoolean(String, Boolean) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field with a Boolean
or boolean
value
- putCode(String, Code) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field to a JAVASCRIPT value.
- putCodeWScope(String, CodeWScope) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field to a JAVASCRIPT_WITH_SCOPE value.
- putDate(String, Date) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field with data and time value.
- putNull(String) - Method in class org.bson.BasicBSONEncoder
-
Encodes a null value
- putNumber(String, Number) - Method in class org.bson.BasicBSONEncoder
-
Encodes any number field.
- putObject(BSONObject) - Method in class org.bson.BasicBSONEncoder
-
Encodes a BSONObject
.
- putObject(String, BSONObject) - Method in class org.bson.BasicBSONEncoder
-
This is really for embedded objects
- putObject(BSONObject) - Method in interface org.bson.BSONEncoder
-
Encoder and write a document into underlying buffer.
- putObjectId(String, ObjectId) - Method in class org.bson.BasicBSONEncoder
-
Encodes an ObjectId field to an OBJECT_ID.
- putSpecial(String, Object) - Method in class org.bson.BasicBSONEncoder
-
Special values are not encoded into documents.
- putString(String, String) - Method in class org.bson.BasicBSONEncoder
-
Encodes a String field
- putSymbol(String, Symbol) - Method in class org.bson.BasicBSONEncoder
-
Encodes a Symbol field
- putTimestamp(String, BSONTimestamp) - Method in class org.bson.BasicBSONEncoder
-
Encodes a BSON timestamp
- putUndefined(String) - Method in class org.bson.BasicBSONEncoder
-
Encodes an undefined value
- putUUID(String, UUID) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field with a
UUID
value.
- read() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- readCStr() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- readDouble() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- readFully(InputStream, byte[]) - Static method in class org.bson.io.Bits
-
Reads bytes from the input stream and puts them into the given byte buffer.
- readFully(InputStream, byte[], int) - Static method in class org.bson.io.Bits
-
Reads bytes from the input stream and puts them into the given byte buffer.
- readFully(InputStream, byte[], int, int) - Static method in class org.bson.io.Bits
-
Reads bytes from the input stream and puts them into the given byte buffer.
- readInt() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- readInt(InputStream) - Static method in class org.bson.io.Bits
-
Reads and returns a single integer value from the input stream.
- readInt(InputStream, byte[]) - Static method in class org.bson.io.Bits
-
Reads and returns a single integer value from the input stream.
- readInt(byte[]) - Static method in class org.bson.io.Bits
-
Reads and returns a single integer value from the buffer.
- readInt(byte[], int) - Static method in class org.bson.io.Bits
-
Reads and returns a single integer value from the buffer.
- readIntBE() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- readIntBE(byte[], int) - Static method in class org.bson.io.Bits
-
Reads and returns a single big-endian integer value
- readLong() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- readLong(InputStream) - Static method in class org.bson.io.Bits
-
Reads and returns a single long value from the input stream.
- readLong(InputStream, byte[]) - Static method in class org.bson.io.Bits
-
Reads and returns a single long value from the input stream.
- readLong(byte[]) - Static method in class org.bson.io.Bits
-
Reads and returns a single long value from the buffer.
- readLong(byte[], int) - Static method in class org.bson.io.Bits
-
Reads and returns a single long value from the buffer.
- readObject(byte[]) - Method in class org.bson.BasicBSONDecoder
-
- readObject(InputStream) - Method in class org.bson.BasicBSONDecoder
-
- readObject(byte[]) - Method in interface org.bson.BSONDecoder
-
Read a single BSON object from the given bytes.
- readObject(InputStream) - Method in interface org.bson.BSONDecoder
-
Read a single BSON object from the given input stream.
- readObject(byte[]) - Method in class org.bson.LazyBSONDecoder
-
- readObject(InputStream) - Method in class org.bson.LazyBSONDecoder
-
- readObject(byte[]) - Method in class org.bson.NewBSONDecoder
-
Deprecated.
- readObject(InputStream) - Method in class org.bson.NewBSONDecoder
-
Deprecated.
- readUTF8String() - Method in class org.bson.BasicBSONDecoder.BSONInput
-
Deprecated.
- REF - Static variable in class org.bson.BSON
-
- REGEX - Static variable in class org.bson.BSON
-
- regexFlag(char) - Static method in class org.bson.BSON
-
Converts a regular expression modifier from the database into Java regular expression flags.
- regexFlags(String) - Static method in class org.bson.BSON
-
Converts a sequence of regular expression modifiers from the database into Java regular expression flags.
- regexFlags(int) - Static method in class org.bson.BSON
-
Converts Java regular expression flags into regular expression modifiers from the database.
- remove() - Method in class org.bson.LazyBSONList.LazyBSONListIterator
-
- remove(Object) - Method in class org.bson.LazyBSONList
-
- remove(int) - Method in class org.bson.LazyBSONList
-
- remove(Object) - Method in class org.bson.LazyBSONObject.LazyBSONKeySet
-
Deprecated.
- remove(Object) - Method in class org.bson.util.ClassMap
-
As per java.util.Map
, removes the mapping for a key from this map if it is present
- remove(Object) - Method in class org.bson.util.StringRangeSet
-
Deprecated.
- removeAll(Collection) - Method in class org.bson.LazyBSONList
-
- removeAll(Collection<?>) - Method in class org.bson.util.StringRangeSet
-
Deprecated.
- removeDecodingHook(Class, Transformer) - Static method in class org.bson.BSON
-
Remove a specific encoding hook for a specific class.
- removeDecodingHooks(Class) - Static method in class org.bson.BSON
-
Remove all decoding hooks for a specific class.
- removeEncodingHook(Class, Transformer) - Static method in class org.bson.BSON
-
Remove a specific encoding hook for a specific class.
- removeEncodingHooks(Class) - Static method in class org.bson.BSON
-
Remove all encoding hooks for a specific class.
- removeField(String) - Method in class org.bson.BasicBSONObject
-
Deletes a field from this object.
- removeField(String) - Method in interface org.bson.BSONObject
-
Removes a field with a given name from this object.
- removeField(String) - Method in class org.bson.LazyBSONObject
-
Always throws UnsupportedOperationException
.
- removeField(String) - Method in class org.bson.types.BasicBSONList
-
- reset() - Method in class org.bson.BasicBSONCallback
-
- reset() - Method in interface org.bson.BSONCallback
-
Resets the callback, clearing all state.
- reset() - Method in class org.bson.EmptyBSONCallback
-
- reset() - Method in class org.bson.io.BSONByteBuffer
-
Deprecated.
- reset() - Method in class org.bson.io.PoolOutputBuffer
-
Deprecated.
- reset() - Method in class org.bson.LazyBSONCallback
-
- retainAll(Collection) - Method in class org.bson.LazyBSONList
-
- retainAll(Collection<?>) - Method in class org.bson.util.StringRangeSet
-
Deprecated.