Class DefaultIteratorHolder

java.lang.Object
com.illumon.iris.importers.csv.parsers.DefaultIteratorHolder

public class DefaultIteratorHolder extends Object
This is a basic implementation that maintains the original IteratorHolder and delegates all calls directly to it.
  • Constructor Details

    • DefaultIteratorHolder

      public DefaultIteratorHolder(@NotNull io.deephaven.csv.parsers.Parser.GlobalContext gctx, @Nullable io.deephaven.csv.parsers.IteratorHolder ih)
      Constructor.
      Parameters:
      gctx - The Parser.GlobalContext holding various shared parameters received in Parser.tryParse
      ih - The IteratorHolder instance for the source column received in Parser.tryParse (Maybe null in case of empty file)
  • Method Details

    • bs

      public io.deephaven.csv.containers.ByteSlice bs()
    • tryMoveNext

      public boolean tryMoveNext() throws io.deephaven.csv.util.CsvReaderException
      Throws:
      io.deephaven.csv.util.CsvReaderException
    • isNullCell

      public boolean isNullCell()
    • forceExit

      default void forceExit()
      Allows implementations to do any necessary cleanup. By default, there is none.