Interface IngestionStrategy<T>
-
public interface IngestionStrategy<T>Interface to a batch of rows into the row buffer based on different on error options
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InsertValidationResponseinsertRows(net.snowflake.ingest.streaming.internal.AbstractRowBuffer<T> rowBuffer, Iterable<Map<String,Object>> rows, String startOffsetToken, String endOffsetToken)Insert a batch of rows into the row buffer
-
-
-
Method Detail
-
insertRows
InsertValidationResponse insertRows(net.snowflake.ingest.streaming.internal.AbstractRowBuffer<T> rowBuffer, Iterable<Map<String,Object>> rows, String startOffsetToken, String endOffsetToken)
Insert a batch of rows into the row buffer- Parameters:
rows- input rowstartOffsetToken- start offset token of the batchendOffsetToken- offset token of the latest row in the batch- Returns:
- insert response that possibly contains errors because of insertion failures
-
-