Class CountingJsonReader

All Implemented Interfaces:
JsonProcessor

public class CountingJsonReader extends BaseJsonReader
  • Constructor Details

    • CountingJsonReader

      public CountingJsonReader(DrillBuf workBuf, boolean enableNanInf, boolean enableEscapeAnyChar)
  • Method Details

    • writeDocument

      protected void writeDocument(BaseWriter.ComplexWriter writer, com.fasterxml.jackson.core.JsonToken t) throws IOException
      Description copied from class: BaseJsonReader
      Writes the contents of the json node starting with the specified token into a complex vector. Token can take the following values: - START_ARRAY - the top level of json document is an array and skipping of the outer list is disabled - START_OBJECT - the top level of json document is a set of white space delimited maps or skipping of the outer list is enabled
      Specified by:
      writeDocument in class BaseJsonReader
      Throws:
      IOException
    • ensureAtLeastOneField

      public void ensureAtLeastOneField(BaseWriter.ComplexWriter writer)