queryByPath abstract method

Stream<KeyEntry<K, V, T>> queryByPath({
  1. required KeyPattern keyPattern,
  2. required Predicate predicate,
  3. OrderByKey? orderBy,
  4. int? limit,
  5. int? skip,
})

Stream every (key, value, metadata) entry matching keyPattern AND predicate. The predicate is evaluated against the value's JSON-shaped fields.

Backends MUST throw UnsupportedError when called and supportsPathQueries is false. Consumers should gate on the flag before calling.

Implementation

Stream<KeyEntry<K, V, T>> queryByPath({
  required KeyPattern keyPattern,
  required Predicate predicate,
  OrderByKey? orderBy,
  int? limit,
  int? skip,
});