Produce a cached version of this ResultSequence. If the provided ResultSequence is already cached (Cached is true), then nothing is done and this instance returns itself. Otherwise, a new, cached ResultSequence instance is created and populated with the XdmItems in the sequence. If the non-cached input ResultSequence has been partially iterated, only the remaining XdmItems will be cached. If the current item is not fetchable (ResultItem.Fetchable is false), it will be ignored.
A Cached ResultSequence.
ResultSequence Interface | Marklogic.Xcc Namespace