Known Indirect Subclasses
BasicDBList,
BasicDBObject,
CommandResult,
GridFSDBFile,
GridFSFile,
GridFSInputFile,
LazyDBList,
LazyDBObject,
LazyWriteableDBObject,
RawDBObject,
ReflectionDBObject
BasicDBList |
a basic implementation of bson list that is mongo specific |
BasicDBObject |
a basic implementation of bson object that is mongo specific. |
CommandResult |
A simple wrapper for the result of getLastError() calls and other commands
|
GridFSDBFile |
This class enables to retrieve a GridFS file metadata and content. |
GridFSFile |
The abstract class representing a GridFS file |
GridFSInputFile |
This class represents a GridFS file to be written to the database
Operations include:
- writing data obtained from an InputStream
- getting an OutputStream to stream the data out |
LazyDBList |
|
LazyDBObject |
|
LazyWriteableDBObject |
|
RawDBObject |
This object wraps the binary object format ("BSON") used for the transport of serialized objects to / from the Mongo database. |
ReflectionDBObject |
This class enables to map simple Class fields to a BSON object fields
|
|
Class Overview
A key-value map that can be saved to the database.
Summary
Public Methods |
abstract
boolean
|
isPartialObject()
whether markAsPartialObject was ever called
only matters if you are going to upsert and do not want to risk losing fields
|
abstract
void
|
markAsPartialObject()
if this object was retrieved with only some fields (using a field filter)
this method will be called to mark it as such.
|
Public Methods
public
abstract
boolean
isPartialObject
()
whether markAsPartialObject was ever called
only matters if you are going to upsert and do not want to risk losing fields
public
abstract
void
markAsPartialObject
()
if this object was retrieved with only some fields (using a field filter)
this method will be called to mark it as such.