Class InMemoryAppendOnlyKeyValueTable

  • All Implemented Interfaces:
    com.snowflake.connectors.common.table.AppendOnlyTable

    public class InMemoryAppendOnlyKeyValueTable
    extends Object
    implements com.snowflake.connectors.common.table.AppendOnlyTable
    In memory implementation of AppendOnlyTable.
    • Constructor Detail

      • InMemoryAppendOnlyKeyValueTable

        public InMemoryAppendOnlyKeyValueTable()
    • Method Detail

      • fetch

        public Variant fetch​(String key)
        Specified by:
        fetch in interface com.snowflake.connectors.common.table.AppendOnlyTable
      • insert

        public void insert​(String key,
                           Variant value)
        Specified by:
        insert in interface com.snowflake.connectors.common.table.AppendOnlyTable
      • getAllWhere

        public List<Variant> getAllWhere​(Column filter)
        Specified by:
        getAllWhere in interface com.snowflake.connectors.common.table.AppendOnlyTable