Namespace: PreparePlan

planBuilder. PreparePlan

PreparePlan objects have methods.
Since:
  • 2.1.1

Methods


map(func) → {planBuilder.PlanExportablePlan}

This method applies the specified function to each row returned by the plan to produce a different result row. Provides a client interface to a server function. See PreparePlan.prototype.map
Parameters:
Name Type Argument Description
func PlanFunction <optional>
The function to be appied.
Since:
  • 2.1.1
Returns:
Type
planBuilder.PlanExportablePlan

reduce(func, seed) → {planBuilder.PlanExportablePlan}

This method applies a function or the builtin reducer to each row returned by the plan to produce a single result as with the reduce() method of JavaScript Array. Provides a client interface to a server function. See PreparePlan.prototype.reduce
Parameters:
Name Type Argument Description
func PlanFunction <optional>
The function to be appied.
seed XsAnyAtomicType <optional>
The value returned by the previous request.
Since:
  • 2.1.1
Returns:
Type
planBuilder.PlanExportablePlan
Copyright 2014-2018 MarkLogic Corporation Documentation generated by JSDoc 3.5.5 on 2018-01-18T02:49:31-08:00 using the DocStrap template.