INNER CODE UNIT · Java
readJavaScriptWithScope
mongodb/mongo-java-driver · bson/src/main/org/bson/AbstractBsonReader.java:392
public String readJavaScriptWithScope() {
checkPreconditions("readJavaScriptWithScope", BsonType.JAVASCRIPT_WITH_SCOPE);
setState(State.SCOPE_DOCUMENT);
return doReadJavaScriptWithScope();
}
@Override
public void readMaxKey() {
checkPreconditions("readMaxKey", BsonType.MAX_KEY);
setState(getNextState());
doReadMaxKey();
}
@Override
public void readMinKey() {
checkPreconditions("readMinKey", BsonType.MIN_KEY);
setState(getNextState());
doReadMinKey();