Interface Flusher<T>
-
- Type Parameters:
T- type of column data (ArrowVectorSchemaRootorParquetChunkData)
- All Known Implementing Classes:
ArrowFlusher,ParquetFlusher
public interface Flusher<T>Interface to convertChannelDatabuffered inRowBufferto the underlying format implementation for faster processing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFlusher.SerializationResultHolds result of the buffered rows conversion: channel metadata and stats.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Flusher.SerializationResultserialize(List<net.snowflake.ingest.streaming.internal.ChannelData<T>> channelsDataPerTable, String filePath)Serialize buffered rows into the underlying format.
-
-
-
Method Detail
-
serialize
Flusher.SerializationResult serialize(List<net.snowflake.ingest.streaming.internal.ChannelData<T>> channelsDataPerTable, String filePath) throws IOException
Serialize buffered rows into the underlying format.- Parameters:
channelsDataPerTable- buffered rowsfilePath- file path- Returns:
Flusher.SerializationResult- Throws:
IOException
-
-