Class NullFieldParser

All Implemented Interfaces:
ElementParser

public class NullFieldParser extends NullValueParser
Parser for a field that contains only nulls. Waits, consuming nulls, until a non-null value appears, after which this parser is replaced by the "resolved" parser. The loader will force resolution at the end of the batch if no actual values are seen before then.
  • Constructor Details

  • Method Details

    • forceResolution

      public void forceResolution()
    • resolve

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