Class NullValueParser

java.lang.Object
org.apache.drill.exec.store.easy.json.parser.AbstractElementParser
org.apache.drill.exec.store.easy.json.parser.NullValueParser
All Implemented Interfaces:
ElementParser
Direct Known Subclasses:
NullFieldParser

public abstract class NullValueParser extends AbstractElementParser
Parses nulls. On the first non-null token, replaces itself with a "resolved" parser to handle the actual structure.
  • Field Details

    • key

      protected final String key
  • Constructor Details

  • Method Details

    • parse

      public void parse(TokenIterator tokenizer)
      Parses nulls. On the first non-null Parses true | false | null | integer | float | string| embedded-object | { ... } | [ ... ]
    • resolve

      protected abstract ElementParser resolve(TokenIterator tokenizer)
      Replace this parser with a new parser based on the current parse context.