Package io.deephaven.extensions.barrage
Class ColumnChunksWriter<SOURCE_CHUNK_TYPE extends Chunk<Values>>
java.lang.Object
io.deephaven.extensions.barrage.ColumnChunksWriter<SOURCE_CHUNK_TYPE>
- All Implemented Interfaces:
SafeCloseable,AutoCloseable
public class ColumnChunksWriter<SOURCE_CHUNK_TYPE extends Chunk<Values>>
extends Object
implements SafeCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionColumnChunksWriter(ChunkWriter<SOURCE_CHUNK_TYPE> writer, List<SOURCE_CHUNK_TYPE> chunks) -
Method Summary
Modifier and TypeMethodDescriptionchunks()voidclose()empty(@NotNull BarrageOptions options) empty(@NotNull BarrageOptions options, @Nullable DictionaryWriterRegistry dictionaryRegistry) Likeempty(BarrageOptions), but threadsdictionaryRegistrydown to a dictionary-encoded writer nested within this column's writer (e.g.writer()
-
Constructor Details
-
ColumnChunksWriter
-
-
Method Details
-
writer
-
chunks
-
empty
public ChunkWriter.DrainableColumn empty(@NotNull @NotNull BarrageOptions options) throws IOException - Throws:
IOException
-
empty
public ChunkWriter.DrainableColumn empty(@NotNull @NotNull BarrageOptions options, @Nullable @Nullable DictionaryWriterRegistry dictionaryRegistry) throws IOException Likeempty(BarrageOptions), but threadsdictionaryRegistrydown to a dictionary-encoded writer nested within this column's writer (e.g. thevalueschild of a run-end-encoded column), so it still registers its state -- and emits its initial isDelta=false DictionaryBatch -- even when this column's very first batch carries no rows.- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSafeCloseable
-