Class WebChunkWriterFactory
java.lang.Object
io.deephaven.web.client.api.barrage.WebChunkWriterFactory
- All Implemented Interfaces:
ChunkWriter.Factory
Creates writers for chunks. All chunks are expected to be ObjectChunks initially, this class will transform them as
needed to the appropriate types. Chunks should contain the correct data, but may have that masked as Any to allow for
null.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Chunk<Values>>
ChunkWriter<T> newWriter(@NotNull BarrageTypeInfo<org.apache.arrow.flatbuf.Field> typeInfo) Returns aChunkWriterfor the specified arguments.
-
Constructor Details
-
WebChunkWriterFactory
public WebChunkWriterFactory()
-
-
Method Details
-
newWriter
public <T extends Chunk<Values>> ChunkWriter<T> newWriter(@NotNull @NotNull BarrageTypeInfo<org.apache.arrow.flatbuf.Field> typeInfo) Description copied from interface:ChunkWriter.FactoryReturns aChunkWriterfor the specified arguments.- Specified by:
newWriterin interfaceChunkWriter.Factory- Parameters:
typeInfo- the type of data to write into a chunk- Returns:
- a ChunkWriter based on the given options, factory, and type to write
-