public class BsonBinaryReader extends AbstractBsonReader
AbstractBsonReader.State| Constructor and Description |
|---|
BsonBinaryReader(BsonInput bsonInput)
Construct an instance.
|
BsonBinaryReader(ByteBuffer byteBuffer)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
Decimal128 |
doReadDecimal128()
Handles the logic to read Decimal128
|
void |
doReadStartArray()
Handles the logic to read the start of an array
|
BsonInput |
getBsonInput()
Gets the BSON input backing this instance.
|
BsonReaderMark |
getMark()
Gets a mark representing the current state of the reader.
|
void |
mark()
Deprecated.
|
BsonType |
readBsonType()
Reads a BSONType from the reader.
|
void |
reset()
Go back to the state at the last mark and removes the mark
|
getCurrentBsonType, getCurrentName, getState, peekBinarySize, peekBinarySubType, readBinaryData, readBinaryData, readBoolean, readBoolean, readDateTime, readDateTime, readDBPointer, readDBPointer, readDecimal128, readDecimal128, readDouble, readDouble, readEndArray, readEndDocument, readInt32, readInt32, readInt64, readInt64, readJavaScript, readJavaScript, readJavaScriptWithScope, readJavaScriptWithScope, readMaxKey, readMaxKey, readMinKey, readMinKey, readName, readName, readNull, readNull, readObjectId, readObjectId, readRegularExpression, readRegularExpression, readStartArray, readStartDocument, readString, readString, readSymbol, readSymbol, readTimestamp, readTimestamp, readUndefined, readUndefined, skipName, skipValuepublic BsonBinaryReader(ByteBuffer byteBuffer)
byteBuffer - the input for this readerpublic BsonBinaryReader(BsonInput bsonInput)
bsonInput - the input for this readerpublic void close()
AbstractBsonReaderclose in interface Closeableclose in interface AutoCloseableclose in interface BsonReaderclose in class AbstractBsonReaderpublic BsonInput getBsonInput()
public BsonType readBsonType()
BsonReaderreadBsonType in interface BsonReaderreadBsonType in class AbstractBsonReaderpublic Decimal128 doReadDecimal128()
AbstractBsonReaderpublic void doReadStartArray()
AbstractBsonReader@Deprecated public void mark()
BsonReaderpublic BsonReaderMark getMark()
BsonReaderpublic void reset()
BsonReaderCopyright © 2010 - 2020 Adobe. All Rights Reserved