Package | Description |
---|---|
com.marklogic.client.expression |
The package provides classes for building Optic plan pipelines and expressions
for execution on the REST server.
|
Modifier and Type | Method and Description |
---|---|
abstract PlanFunction |
PlanBuilder.resolveFunction(java.lang.String functionName,
java.lang.String modulePath) |
PlanFunction |
PlanBuilderBase.resolveFunction(XsQNameVal functionName,
java.lang.String modulePath)
Specifies a JavaScript or XQuery function installed on the server for use
in post-processing in a map() or reduce() operation.
|
abstract PlanFunction |
PlanBuilder.resolveFunction(XsQNameVal functionName,
XsStringVal modulePath) |
Modifier and Type | Method and Description |
---|---|
PlanBuilder.ExportablePlan |
PlanBuilder.PreparePlan.map(PlanFunction func)
This method applies the specified function to each row returned by the plan to produce a different result row.
|
PlanBuilder.ExportablePlan |
PlanBuilder.PreparePlan.reduce(PlanFunction func)
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.
|
PlanBuilder.ExportablePlan |
PlanBuilder.PreparePlan.reduce(PlanFunction func,
java.lang.String seed)
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.
|
PlanBuilder.ExportablePlan |
PlanBuilder.PreparePlan.reduce(PlanFunction func,
XsAnyAtomicTypeVal seed)
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.
|
Copyright © 2013-2020 MarkLogic Corporation.