Interface ChunkInputStreamGenerator.Factory
- All Known Implementing Classes:
DefaultChunkInputStreamGeneratorFactory
- Enclosing interface:
- ChunkInputStreamGenerator
public static interface ChunkInputStreamGenerator.Factory
Creator of
ChunkInputStreamGenerator
instances.
This API may not be stable, while the JS API's usages of it are implemented.
-
Method Details
-
makeInputStreamGenerator
<T> ChunkInputStreamGenerator makeInputStreamGenerator(ChunkType chunkType, Class<T> type, Class<?> componentType, Chunk<Values> chunk, long rowOffset) Returns an instance capable of writing the given chunk- Type Parameters:
T
- the type of data in the column- Parameters:
chunkType
- the type of the chunk to be writtentype
- the Java type of the column being writtencomponentType
- the Java type of data in an array/vector, or null if irrelevantchunk
- the chunk that will be written out to an input streamrowOffset
- the offset into the chunk to start writing from- Returns:
- an instance capable of serializing the given chunk
-