reactivemongo
.
api
BSONSerializationPack
Related Doc:
package api
object
BSONSerializationPack
extends
SerializationPack
The default serialization pack.
Linear Supertypes
SerializationPack
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
BSONSerializationPack
SerializationPack
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
type
Document
=
BSONDocument
Definition Classes
BSONSerializationPack
→
SerializationPack
type
ElementProducer
=
Producer
[
BSONElement
]
Definition Classes
BSONSerializationPack
→
SerializationPack
type
NarrowValueReader
[
A
]
=
BSONReader
[_ <:
BSONValue
,
A
]
Definition Classes
BSONSerializationPack
→
SerializationPack
type
Reader
[
A
]
=
BSONDocumentReader
[
A
]
Definition Classes
BSONSerializationPack
→
SerializationPack
type
Value
=
BSONValue
Definition Classes
BSONSerializationPack
→
SerializationPack
type
Writer
[
A
]
=
BSONDocumentWriter
[
A
]
Definition Classes
BSONSerializationPack
→
SerializationPack
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
object
IdentityReader
extends
Reader
[
Document
]
Definition Classes
BSONSerializationPack
→
SerializationPack
object
IdentityWriter
extends
Writer
[
Document
]
Definition Classes
BSONSerializationPack
→
SerializationPack
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
deserialize
[
A
]
(
document:
Document
,
reader:
Reader
[
A
]
)
:
A
Definition Classes
BSONSerializationPack
→
SerializationPack
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
isEmpty
(
document:
Document
)
:
Boolean
Definition Classes
BSONSerializationPack
→
SerializationPack
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
readAndDeserialize
[
A
]
(
response:
Response
,
reader:
Reader
[
A
]
)
:
A
Definition Classes
SerializationPack
def
readAndDeserialize
[
A
]
(
buffer:
ReadableBuffer
,
reader:
Reader
[
A
]
)
:
A
Definition Classes
SerializationPack
def
readFromBuffer
(
buffer:
ReadableBuffer
)
:
Document
Definition Classes
BSONSerializationPack
→
SerializationPack
def
readValue
[
A
]
(
value:
Value
,
reader:
WidenValueReader
[
A
]
)
:
Try
[
A
]
Definition Classes
BSONSerializationPack
→
SerializationPack
def
serialize
[
A
]
(
a:
A
,
writer:
Writer
[
A
]
)
:
Document
Definition Classes
BSONSerializationPack
→
SerializationPack
def
serializeAndWrite
[
A
]
(
buffer:
WritableBuffer
,
document:
A
,
writer:
Writer
[
A
]
)
:
WritableBuffer
Definition Classes
SerializationPack
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
widenReader
[
T
]
(
r:
NarrowValueReader
[
T
]
)
:
WidenValueReader
[
T
]
Definition Classes
BSONSerializationPack
→
SerializationPack
def
writeToBuffer
(
buffer:
WritableBuffer
,
document:
Document
)
:
WritableBuffer
Definition Classes
BSONSerializationPack
→
SerializationPack
def
writer
[
A
]
(
f: (
A
) ⇒
Document
)
:
Writer
[
A
]
Definition Classes
BSONSerializationPack
→
SerializationPack
Inherited from
SerializationPack
Inherited from
AnyRef
Inherited from
Any
Ungrouped
The default serialization pack.