Mongo 2.7.3
Package Index
|
Class Index
com.mongodb
com.mongodb.gridfs
com.mongodb.io
com.mongodb.util
org.bson
org.bson.io
org.bson.types
org.bson.util
Interfaces
BSONCallback
BSONDecoder
BSONEncoder
BSONObject
Transformer
Classes
BasicBSONCallback
BasicBSONDecoder
BasicBSONDecoder.BSONInput
BasicBSONEncoder
BasicBSONObject
BSON
BSONLazyDecoder
EmptyBSONCallback
KeyCachingLazyBSONObject
LazyBSONCallback
LazyBSONDecoder
LazyBSONList
LazyBSONList.LazyBSONListIterator
LazyBSONObject
LazyBSONObject.LazyBSONKeySet
LazyDBList
NewBSONDecoder
Exceptions
BSONException
Package Index
|
Class Index
View Source
Summary:
Nested Classes
|
Inherited Fields
|
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public class
LazyBSONList
extends
LazyBSONObject
implements
List
<E>
java.lang.Object
↳
org.bson.LazyBSONObject
↳
org.bson.LazyBSONList
Known Direct Subclasses
LazyDBList
LazyDBList
Summary
Nested Classes
class
LazyBSONList.LazyBSONListIterator
[Expand]
Inherited Fields
From class
org.bson.LazyBSONObject
protected final
LazyBSONCallback
_callback
protected final int
_doc_start_offset
protected final
BSONByteBuffer
_input
Public Constructors
LazyBSONList
(byte[] data,
LazyBSONCallback
callback)
LazyBSONList
(byte[] data, int offset,
LazyBSONCallback
callback)
LazyBSONList
(
BSONByteBuffer
buffer,
LazyBSONCallback
callback)
LazyBSONList
(
BSONByteBuffer
buffer, int offset,
LazyBSONCallback
callback)
Public Methods
void
add
(int arg0,
Object
arg1)
boolean
add
(
Object
arg0)
boolean
addAll
(
Collection
arg0)
boolean
addAll
(int arg0,
Collection
arg1)
void
clear
()
boolean
contains
(
Object
arg0)
boolean
containsAll
(
Collection
arg0)
Object
get
(int pos)
int
indexOf
(
Object
arg0)
Iterator
iterator
()
int
lastIndexOf
(
Object
arg0)
ListIterator
listIterator
(int arg0)
ListIterator
listIterator
()
Object
remove
(int arg0)
boolean
remove
(
Object
arg0)
boolean
removeAll
(
Collection
arg0)
boolean
retainAll
(
Collection
arg0)
Object
set
(int arg0,
Object
arg1)
int
size
()
List
subList
(int arg0, int arg1)
Object[]
toArray
()
Object[]
toArray
(
Object[]
arg0)
[Expand]
Inherited Methods
From class
org.bson.LazyBSONObject
boolean
containsField
(
String
s)
Checks if this object contains a field with the given name.
boolean
containsKey
(
String
s)
Deprecated
Set
<
Entry
<
String
,
Object
>>
entrySet
()
This method will be more efficient than using a combination of keySet() and get(String key)
boolean
equals
(
Object
o)
Object
get
(
String
key)
Gets a field from this object by a given name.
int
getBSONSize
()
int
getElementBSONSize
(int offset)
byte
getElementType
(int offset)
Object
getElementValue
(LazyBSONObject.ElementRecord record)
int
hashCode
()
boolean
isElementEmpty
(int offset)
boolean
isEmpty
()
Set
<
String
>
keySet
()
Returns this object's fields' names
void
pipe
(
OutputStream
os)
Object
put
(
String
key,
Object
v)
Sets a name/value pair in this object.
void
putAll
(
Map
m)
Sets all key/value pairs from a map into this object
void
putAll
(
BSONObject
o)
Sets all key/value pairs from an object into this object
Object
removeField
(
String
key)
Removes a field with a given name from this object.
int
sizeCString
(int offset)
Returns the size of the BSON cstring at the given offset in the buffer
Map
toMap
()
Returns a map representing this BSONObject.
String
toString
()
Returns a JSON serialization of this object
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
From interface
java.lang.Iterable
abstract
Iterator
<T>
iterator
()
From interface
java.util.Collection
abstract boolean
add
(E arg0)
abstract boolean
addAll
(
Collection
<? extends E> arg0)
abstract void
clear
()
abstract boolean
contains
(
Object
arg0)
abstract boolean
containsAll
(
Collection
<?> arg0)
abstract boolean
equals
(
Object
arg0)
abstract int
hashCode
()
abstract boolean
isEmpty
()
abstract
Iterator
<E>
iterator
()
abstract boolean
remove
(
Object
arg0)
abstract boolean
removeAll
(
Collection
<?> arg0)
abstract boolean
retainAll
(
Collection
<?> arg0)
abstract int
size
()
abstract <T> T[]
toArray
(T[] arg0)
abstract
Object[]
toArray
()
From interface
java.util.List
abstract boolean
add
(E arg0)
abstract void
add
(int arg0, E arg1)
abstract boolean
addAll
(
Collection
<? extends E> arg0)
abstract boolean
addAll
(int arg0,
Collection
<? extends E> arg1)
abstract void
clear
()
abstract boolean
contains
(
Object
arg0)
abstract boolean
containsAll
(
Collection
<?> arg0)
abstract boolean
equals
(
Object
arg0)
abstract E
get
(int arg0)
abstract int
hashCode
()
abstract int
indexOf
(
Object
arg0)
abstract boolean
isEmpty
()
abstract
Iterator
<E>
iterator
()
abstract int
lastIndexOf
(
Object
arg0)
abstract
ListIterator
<E>
listIterator
(int arg0)
abstract
ListIterator
<E>
listIterator
()
abstract E
remove
(int arg0)
abstract boolean
remove
(
Object
arg0)
abstract boolean
removeAll
(
Collection
<?> arg0)
abstract boolean
retainAll
(
Collection
<?> arg0)
abstract E
set
(int arg0, E arg1)
abstract int
size
()
abstract
List
<E>
subList
(int arg0, int arg1)
abstract <T> T[]
toArray
(T[] arg0)
abstract
Object[]
toArray
()
From interface
org.bson.BSONObject
abstract boolean
containsField
(
String
s)
Checks if this object contains a field with the given name.
abstract boolean
containsKey
(
String
s)
This method is deprecated. No replacement.
abstract
Object
get
(
String
key)
Gets a field from this object by a given name.
abstract
Set
<
String
>
keySet
()
Returns this object's fields' names
abstract
Object
put
(
String
key,
Object
v)
Sets a name/value pair in this object.
abstract void
putAll
(
BSONObject
o)
Sets all key/value pairs from an object into this object
abstract void
putAll
(
Map
m)
Sets all key/value pairs from a map into this object
abstract
Object
removeField
(
String
key)
Removes a field with a given name from this object.
abstract
Map
toMap
()
Returns a map representing this BSONObject.
Public Constructors
public
LazyBSONList
(byte[] data,
LazyBSONCallback
callback)
public
LazyBSONList
(byte[] data, int offset,
LazyBSONCallback
callback)
public
LazyBSONList
(
BSONByteBuffer
buffer,
LazyBSONCallback
callback)
public
LazyBSONList
(
BSONByteBuffer
buffer, int offset,
LazyBSONCallback
callback)
Public Methods
public void
add
(int arg0,
Object
arg1)
public boolean
add
(
Object
arg0)
public boolean
addAll
(
Collection
arg0)
public boolean
addAll
(int arg0,
Collection
arg1)
public void
clear
()
public boolean
contains
(
Object
arg0)
public boolean
containsAll
(
Collection
arg0)
public
Object
get
(int pos)
public int
indexOf
(
Object
arg0)
public
Iterator
iterator
()
public int
lastIndexOf
(
Object
arg0)
public
ListIterator
listIterator
(int arg0)
public
ListIterator
listIterator
()
public
Object
remove
(int arg0)
public boolean
remove
(
Object
arg0)
public boolean
removeAll
(
Collection
arg0)
public boolean
retainAll
(
Collection
arg0)
public
Object
set
(int arg0,
Object
arg1)
public int
size
()
public
List
subList
(int arg0, int arg1)
public
Object[]
toArray
()
public
Object[]
toArray
(
Object[]
arg0)