Class DefaultIteratorHolder
java.lang.Object
com.illumon.iris.importers.csv.parsers.DefaultIteratorHolder
This is a basic implementation that maintains the original IteratorHolder and delegates all calls directly to it.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultIteratorHolder
(io.deephaven.csv.parsers.Parser.GlobalContext gctx, io.deephaven.csv.parsers.IteratorHolder ih) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.csv.containers.ByteSlice
bs()
default void
Allows implementations to do any necessary cleanup.boolean
boolean
-
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.tryParseih
- 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.
-