Closed bartelink closed 10 months ago
Would be good to see an example of how to use it in actual applications as well
u/[]/c
means no need to filter based on id = "-1"
eqx query
shows 3 modes (inc retrieving the p
values); How to use the p
value is an external concernWe can:
/d/*
means only data in uncompressed folds, so should be relatively lowu.d.<FieldName>
)QueryMany
: pull back u
(and, optionally p
) and provide a paged result based on hydrating the State from the (potentially compressed) Snapshot and rendering that (can convey Version and State)
p
lets you identify the stream, but that's optional if it's state is sufficientTransactMany
: pull back u
, p
, _etag
and then (potentially concurrently) do a Transact
read and/or write roundtrip based on only that input
AccessStrategy.Unoptimized
(events only), it would also work
e
in lieu of u
u
, there's no ability to filter based on uncompressed foldsid = "-1"
(to rule out other event batches), or retrieve those too and sort by c.i
(if you know you'll hydrate the bulk of them)
--index-unfolds
/-U
option toeqx init
to index unfolds"/u/[]/c/?"
(To be able to filter based on the name of the Unfold)"/u/[]/d/*"
(To be able to search based on values in an uncompressed unfolds via #436)eqx query
facility to validate costs / correctness of the indexesCosmosStoreCategory.TryHydrateTip
to generate a memento based onu
(and optionally the_etag
if it's forTransact
purposes)TryLoad
shortcut (based onTryHydrateTip
, but solely returns the state)Load = LoadOption.FromMemento
from #413 (but notISyncContext.CreateMemento
)Future/unanswered questions:
CosmosStoreContainer
expose a Querying mechanism (and should that let you express filters viaIQueryable<UnfoldBody>
)