protected static class BsonReader.Reader extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Reader(BsonDataInput data,
DocumentValueFactory valueFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Document |
endDocument() |
protected String |
readCString() |
protected MutableDocument |
readDocument(boolean array) |
protected void |
readElement(byte type,
MutableDocument bson) |
protected String |
readString() |
protected void |
startArray() |
protected void |
startDocument() |
protected Reader(BsonDataInput data, DocumentValueFactory valueFactory)
protected void startDocument()
throws IOException
IOExceptionprotected void startArray()
throws IOException
IOExceptionprotected MutableDocument readDocument(boolean array) throws IOException
IOExceptionprotected void readElement(byte type,
MutableDocument bson)
throws IOException
IOExceptionprotected String readCString() throws IOException
IOExceptionprotected String readString() throws IOException
IOExceptionprotected Document endDocument()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.