Interface ChunkWriter.Factory
- All Known Implementing Classes:
DefaultChunkWriterFactory
- Enclosing interface:
- ChunkWriter<SOURCE_CHUNK_TYPE extends Chunk<Values>>
public static interface ChunkWriter.Factory
Creator of
ChunkWriter
instances.
TODO: https://github.com/deephaven/deephaven-core/issues/5927 This API may not be stable, while the JS API's usages of it are implemented.
-
Method Summary
Modifier and TypeMethodDescription<T extends Chunk<Values>>
ChunkWriter<T>newWriter
(@NotNull BarrageTypeInfo<org.apache.arrow.flatbuf.Field> typeInfo) Returns aChunkWriter
for the specified arguments.
-
Method Details
-
newWriter
<T extends Chunk<Values>> ChunkWriter<T> newWriter(@NotNull @NotNull BarrageTypeInfo<org.apache.arrow.flatbuf.Field> typeInfo) Returns aChunkWriter
for the specified arguments.- Parameters:
typeInfo
- the type of data to write into a chunk- Returns:
- a ChunkWriter based on the given options, factory, and type to write
-