Class EmptyArrayFieldParser

All Implemented Interfaces:
ElementParser

public class EmptyArrayFieldParser extends EmptyArrayParser
Represents a run of empty arrays for which we have no type information. Resolves to an actual type when a non-empty array appears. Must resolve the array even if it contains nulls so we can count the null values.
  • Constructor Details

    • EmptyArrayFieldParser

      public EmptyArrayFieldParser(TupleParser tupleParser, String key)
  • Method Details

    • forceResolution

      public void forceResolution()
    • resolve

      protected ElementParser resolve(TokenIterator tokenizer)
      The column type is now known from context. Create a new array column, writer and parser to replace this parser.
      Specified by:
      resolve in class EmptyArrayParser