You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata can be abstracted as this was done with Key. Possible trait can look like this:
traitMeta:Eq + Clone + Debug + Serialize + Deserialize{// Ordering type that specifies version of the value (the large value, the later is version)// Example: timestamptypeVersioningKey:Ord + Eq + Clone + Debug;// Returns version of record from its metadatafnget_version(&self) -> VersioningKey;typeMetaFilter:Debug;// Returns true when this metadata has equal fields with `filter`// This function is needed for `read_with`fnmatches_with(&self,filter:&MetaFilter) -> bool;}
This trait can allow to customize values versioning (it can be timestamp, creation time or any other versioning source). It will allow to remove explicit timestamp argument from write and delete functions. It will allow to build RangeFilter on top of VersioningKey.
The text was updated successfully, but these errors were encountered:
Metadata can be abstracted as this was done with
Key
. Possible trait can look like this:This trait can allow to customize values versioning (it can be timestamp, creation time or any other versioning source). It will allow to remove explicit timestamp argument from
write
anddelete
functions. It will allow to buildRangeFilter
on top ofVersioningKey
.The text was updated successfully, but these errors were encountered: