Loading TOC...

MarkLogic 10 Product Documentation
IteratePlan functions (IteratePlan Object)

The following prototype methods are used to execute the plan or export it for use by the op.import function.

4 functions
Function name Description
IteratePlan.prototype.explain This method returns a representation of the builtin execution plan.
IteratePlan.prototype.export This method generates a serialized representation of the Optic query to JSON so that it can be persisted as a file or used as a REST payload.
IteratePlan.prototype.generateView This method generates a view that encapsulates a query.
IteratePlan.prototype.result This method executes the plan (mapping or reducing, if specified) to generate the result, which is a plan, document plan, prepared plan, or map or reduce result plan.