Class RootParser.RootArrayParser

java.lang.Object
org.apache.drill.exec.store.easy.json.parser.RootParser
org.apache.drill.exec.store.easy.json.parser.RootParser.RootArrayParser
Enclosing class:
RootParser

public static class RootParser.RootArrayParser extends RootParser
Parser for a compliant JSON data set which consists of an array at the top level, where each element of the array is a JSON object that represents a data record. A closing array bracket indicates end of data.
  • Constructor Details

  • Method Details

    • parseRoot

      public boolean parseRoot(TokenIterator tokenizer)
      Description copied from class: RootParser
      Parse one data object. This is the "root" object which may contain nested objects. Overridden to handle different end-of-data indicators for different contexts.
      Specified by:
      parseRoot in class RootParser
      Returns:
      true if an object was found, false if the end of data was reached.