Interface SnowflakeSinkService

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
SnowflakeSinkServiceImpl

@Internal public interface SnowflakeSinkService extends AutoCloseable
Class for ingesting data to Snowflake table, and it's responsible for managing the lifecycle of the underlying client for ingesting the data into the external service.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Flush internal data, if applicable.
    void
    Insert a Map serialized record to be written.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • insert

      void insert(Map<String,Object> row) throws IOException
      Insert a Map serialized record to be written.
      Parameters:
      row - Map serialized Snowflake row to insert
      Throws:
      IOException
    • flush

      void flush() throws IOException
      Flush internal data, if applicable.
      Throws:
      IOException - if data flush failed to write to backend