The properties of the ResultSequence interface are listed below. For a complete list of ResultSequence interface members, see the ResultSequence Members topic.
Cached | Indicates whether this is a cached (detached) ResultSequence. A cached ResultSequence has fully buffered all the ResultItem data values and no longer depends on an active server connection. A cached ResultSequence may be accessed repeatedly and/or randomly. Cached ResultSequence objects do not need to be closed because they no longer have any reference to a server connection. But if they are closed (by invoking Close(), then the buffered data values are released and it is no longer usable. |
Closed | Indicates whether this ResultSequence is closed. |
Current | Fetch the current ResultItem object in the ResultSequence. The property ResultItem.Fetchable indicates whether the value for this item is available. Simple data values (numbers, dates, durations, etc) are cached and may always be re-fetched. Large data values (nodes, text, etc) that are read as a stream or a reader are not guaranteed to be fetchable more than once. |
ResultSequence Interface | Marklogic.Xcc Namespace