Interface IngestionStrategy<T>


  • public interface IngestionStrategy<T>
    Interface to a batch of rows into the row buffer based on different on error options
    • 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 row
        startOffsetToken - start offset token of the batch
        endOffsetToken - offset token of the latest row in the batch
        Returns:
        insert response that possibly contains errors because of insertion failures