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
IOException
protected void startArray() throws IOException
IOException
protected MutableDocument readDocument(boolean array) throws IOException
IOException
protected void readElement(byte type, MutableDocument bson) throws IOException
IOException
protected String readCString() throws IOException
IOException
protected String readString() throws IOException
IOException
protected Document endDocument()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.