Loading TOC...

MarkLogic 12 Product Documentation
ColumnBuilderPlan and op functions (Functions for Building Columns)

The following functions are used to build columns used by op.fromDocs function.

12 functions
Function name Description
ColumnBuilderPlan.prototype.addColumn Create a new column definition for use with op.fromDocs .
ColumnBuilderPlan.prototype.collation Sets the collation for the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.coordinateSystem Sets the coordinate-system for the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.default Sets the default value for the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.dimension Sets the vector dimension for the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.expr Sets the expression to create content or extract content from a document for the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.nullable Set the column created by ColumnBuilderPlan.prototype.addColumn nullable or not.
ColumnBuilderPlan.prototype.type Set the data type of the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.units Sets the units for the column created by ColumnBuilderPlan.prototype.addColumn .
ColumnBuilderPlan.prototype.xpath Sets the XPath expression in the document from which to extract content for the column created by ColumnBuilderPlan.prototype.addColumn .
op.columnBuilder Create column definitions which can be used in op.fromDocs .
op.context This helper function returns the node from the current processing row.