Class ValueDefFactory

java.lang.Object
org.apache.drill.exec.store.easy.json.parser.ValueDefFactory

public class ValueDefFactory extends Object
Constructs a ValueDef by looking ahead on the input stream. Looking ahead is safe because this class only looks at syntactic tokens such as {, [ or the first value token. The underlying JSON parser is left with the first value token as its current token. Pushes other tokens back on the token stack so they can be re-consumed by the actual parser.