Interface AppendOnlyTable

  • All Known Implementing Classes:
    AppendOnlyKeyValueTable

    public interface AppendOnlyTable
    A representation of a table to which the records can only be appended, never updated.
    • Method Detail

      • fetch

        Variant fetch​(String key)
        Fetches the most recent value stored under the provided key.
        Parameters:
        key - key associated with the value
        Returns:
        most recent value stored under the provided key
        Throws:
        KeyNotFoundException - if no object under provided key exists
      • insert

        void insert​(String key,
                    Variant value)
        Inserts the provided value under the provided key into this table.
        Parameters:
        key - key associated with the value
        value - value
      • getAllWhere

        List<Variant> getAllWhere​(Column filter)
        Returns all values from this table where the record matches the provided filter.
        Parameters:
        filter - filter for the table records
        Returns:
        values from records which match the provided filter