Interface Flusher<T>
-
- Type Parameters:
T
- type of column data (ParquetChunkData
)
- All Known Implementing Classes:
ParquetFlusher
public interface Flusher<T>
Interface to convertChannelData
buffered inRowBuffer
to the underlying format implementation for faster processing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Flusher.SerializationResult
Holds result of the buffered rows conversion: channel metadata and stats.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Flusher.SerializationResult
serialize(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
-
-