You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return new types.XsString('geo', 'geohash-subhashes', checkedArgs);
3194
3196
3195
3197
}
@@ -5393,8 +5395,8 @@ decodeFromNCName(...args) {
5393
5395
* @method planBuilder.xdmp#describe
5394
5396
* @since 2.1.1
5395
5397
* @param { Item } [item] - The item sequence whose description is returned.
5396
-
* @param { XsUnsignedInt } [maxSequenceLength] - Represents the maximum number of items per sequence to print. The default is 3. () means no maximum.
5397
-
* @param { XsUnsignedInt } [maxItemLength] - Represents the maximum number of characters per item to print. The default is 64. The minimum is 8. () means no limit.
5398
+
* @param { XsUnsignedInt } [maxSequenceLength] - Represents the maximum number of items per sequence to print. The default is 3.
5399
+
* @param { XsUnsignedInt } [maxItemLength] - Represents the maximum number of characters per item to print. The default is 64. The minimum is 8.
5398
5400
* @returns { XsString }
5399
5401
*/
5400
5402
describe(...args) {
@@ -7367,7 +7369,7 @@ orderBy(...args) {
7367
7369
* This method prepares the specified plan for execution as an optional final step before execution. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.prepare|ModifyPlan.prototype.prepare}
7368
7370
* @method planBuilder.ModifyPlan#prepare
7369
7371
* @since 2.1.1
7370
-
* @param { XsInt } [optimize] - The optimization level, which can be 0, 1, or 2 (with 1 as the default).
7372
+
* @param { XsInt } [optimize] - The optimization level, which can be 0, 1, or 2 (1 is mostly used).
7371
7373
* @returns { planBuilder.PreparePlan }
7372
7374
*/
7373
7375
prepare(...args) {
@@ -7428,7 +7430,7 @@ whereDistinct(...args) {
7428
7430
return new PlanModifyPlan(this, 'op', 'where-distinct', args);
7429
7431
}
7430
7432
/**
7431
-
* Provides a client interface to a server function.
7433
+
* Inserts or overwrites the documents identified by the uri column with the data supplied by the other document descriptor columns. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.write|ModifyPlan.prototype.write}
7432
7434
* @method planBuilder.ModifyPlan#write
7433
7435
* @since 3.1.0
7434
7436
* @param { PlanDocColsIdentifier } [docCols] - the docCols value.
@@ -7440,7 +7442,7 @@ write(...args) {
7440
7442
return new PlanModifyPlan(this, 'op', 'write', checkedArgs);
7441
7443
}
7442
7444
/**
7443
-
* Provides a client interface to a server function.
7445
+
* This method deletes a document from the database. If the document does not exist, this method does not throw an error. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.remove|ModifyPlan.prototype.remove}
7444
7446
* @method planBuilder.ModifyPlan#remove
7445
7447
* @since 3.1.0
7446
7448
* @param { PlanDocIdentifier } [removeCol] - the column containing URIs to be removed
@@ -7452,7 +7454,7 @@ remove(...args) {
7452
7454
return new PlanModifyPlan(this, 'op', 'remove', checkedArgs);
7453
7455
}
7454
7456
/**
7455
-
* Provides a client interface to a server function.
7457
+
* Gets an early lock on documents that will be updated later in the pipeline with an operation like remove() or write(). Documents are always locked, but for complex pipelines, it can be beneficial to lock the document early, so to minimize the potential for lock contention. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.lockForUpdate|ModifyPlan.prototype.lockForUpdate}
7456
7458
* @method planBuilder.ModifyPlan#lockForUpdate
7457
7459
* @since 3.1.0
7458
7460
* @param { PlanDocIdentifier } [lockUriCol] - the column containing URIs to be locked
@@ -7464,11 +7466,11 @@ lockForUpdate(...args) {
7464
7466
return new PlanModifyPlan(this, 'op', 'lock-for-update', checkedArgs);
7465
7467
}
7466
7468
/**
7467
-
* Provides a client interface to a server function.
7469
+
* This function applies a transformation to a column that contains documents. This transform module needs to be stored in the modules database. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.transformDoc|ModifyPlan.prototype.transformDoc}
7468
7470
* @method planBuilder.ModifyPlan#transformDoc
7469
-
* @since 3.1.0
7470
-
* @param { PlanDocIdentifier } [transformDocCol] - the column containing content to be transformed.
7471
-
* @param { PlanTransformDef } [transformDef] - defines a transform to be used.
7471
+
* @since 3.1.0
7472
+
* @param { PlanDocIdentifier } [transformDocCol] - The 'kind' key of the schema map must be 'mjs'(the default), or 'xslt'. The 'path' key specifies the main module in the modules database. The 'params' key specifies parameter values passed to the main module. (refer to xdmp:invoke and xdmp:xslt-invoke).
7473
+
* @param { PlanTransformDef } [transformDef] - defines a transform to be used.
7472
7474
* @returns { planBuilder.ModifyPlan }
7473
7475
*/
7474
7476
transformDoc(...args) {
@@ -7481,11 +7483,11 @@ transformDoc(...args) {
7481
7483
7482
7484
}
7483
7485
/**
7484
-
* Provides a client interface to a server function.
7486
+
* This function populates the view with the uri, doc, collections, metadata, permissions, and / or quality document descriptor columns for database document values. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.joinDocCols|ModifyPlan.prototype.joinDocCols}
7485
7487
* @method planBuilder.ModifyPlan#joinDocCols
7486
-
* @since 3.1.0
7487
-
* @param { PlanDocColsIdentifier } [cols] - Supplies a document column identifier object to specify which document columns to join and their names. The names cannot conflict with existing column names.
7488
-
* @param { PlanColumnName } [docIdCol] - The document uri or fragment id value. This is either an op.fragmentIdCol object specifying a fragment id column or a document uri column.
7488
+
* @since 3.1.0
7489
+
* @param { PlanDocColsIdentifier } [cols] - The source column to join. This is either an op:fragment-id-col specifying a fragment id column or a op:col, op:view-col or op:schema-col that contains document uris. Joining on a fragment id is more efficient than joining on an uri column.
7490
+
* @param { PlanColumnName } [docIdCol] - The document uri or fragment id value. This is either an op.fragmentIdCol object specifying a fragment id column or a document uri column.
7489
7491
* @returns { planBuilder.ModifyPlan }
7490
7492
*/
7491
7493
joinDocCols(...args) {
@@ -7498,12 +7500,12 @@ joinDocCols(...args) {
7498
7500
7499
7501
}
7500
7502
/**
7501
-
* Provides a client interface to a server function.
7503
+
* Validate the document based on a supplied schema. This schema needs to be stored in the schema database. Check appserver error log for validate errors. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.validateDoc|ModifyPlan.prototype.validateDoc}
7502
7504
* @method planBuilder.ModifyPlan#validateDoc
7503
-
* @since 3.1.0
7504
-
* @param { PlanColumnName } [validateDocCol] - Contains the document to validate.
7505
-
* @param { PlanSchemaDef } [schemaDef] - This is an object. The required 'kind' property of the schema object must be 'jsonSchema', 'schematron', or 'xmlSchema'. When 'kind' is 'jsonSchema' or 'schemtron' then a property 'schemaUri' is required.
7506
-
* Property 'mode' takes 'strict', 'lax' or 'type' (refer to xdmp.validate).
7505
+
* @since 3.1.0
7506
+
* @param { PlanColumnName } [validateDocCol] - The required 'kind' key of the schemaDef map must be 'jsonSchema', 'schematron', or 'xmlSchema'. When 'kind' is 'jsonSchema' or 'schemtron' then a key 'schemaUri' is required. Key 'mode' takes 'strict', 'lax' or 'type' (refer to xdmp:validate).
7507
+
* @param { PlanSchemaDef } [schemaDef] - This is an object. The required 'kind' property of the schema object must be 'jsonSchema', 'schematron', or 'xmlSchema'. When 'kind' is 'jsonSchema' or 'schemtron' then a property 'schemaUri' is required.
7508
+
* Property 'mode' takes 'strict', 'lax' or 'type' (refer to xdmp.validate).
7507
7509
* @returns { planBuilder.ModifyPlan }
7508
7510
*/
7509
7511
validateDoc(...args) {
@@ -7563,7 +7565,7 @@ class PlanAccessPlan extends PlanModifyPlan {
7563
7565
super(prior, ns, fn, args);
7564
7566
}
7565
7567
/**
7566
-
* This method identifies a column, where the column name is unique. A qualifier on the column name isn't necessary (and might not exist). In positions where only a column name can appear, the unqualified column name can also be provided as a string. Qualified column names cannot be provided as a string. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.col|op.col}
7568
+
* Identifies a column where the column name is unique and a qualifier on the column name isn't necessary (and might not exist). Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.col|op.col}
7567
7569
* @method planBuilder.AccessPlan#col
7568
7570
* @since 2.1.1
7569
7571
* @param { XsString } [column] - The Optic AccessorPlan created by op:from-view, op:from-triples, or op:from-lexicons.
@@ -7965,7 +7967,7 @@ param(...args) {
7965
7967
return new PlanParam('op', 'param', checkedArgs);
7966
7968
}
7967
7969
/**
7968
-
* This method identifies a column, where the column name is unique. A qualifier on the column name isn't necessary (and might not exist). In positions where only a column name can appear, the unqualified column name can also be provided as a string. Qualified column names cannot be provided as a string. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.col|op.col}
7970
+
* Identifies a column where the column name is unique and a qualifier on the column name isn't necessary (and might not exist). Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.col|op.col}
7969
7971
* @method planBuilder#col
7970
7972
* @since 2.1.1
7971
7973
* @param { XsString } [column] - The Optic AccessorPlan created by op:from-view, op:from-triples, or op:from-lexicons.
@@ -8233,7 +8235,7 @@ fromSearch(...args) {
8233
8235
* @since 3.1.0
8234
8236
* @param { XsString } [paramName] - The paramName parameter specifies the placeholder parameter supplying the rows.
8235
8237
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
8236
-
* @param { PlanRowColTypes } [rowColTypes] - Describes the columns with an array of JavaScript objects. It's a combinations of column, type and nullable. The 'column' is the column name, which is required. The 'type' is the optional type of the column, which can be an atomic type or the default of none. The 'nullable' is an optional boolean defaulting to false. If your rows contains only uri, doc, collections, metadata, permissions, quality and temporalCollection columns, you could simply use op.docColTypes instead.
8238
+
* @param { PlanRowColTypes } [rowColTypes] - Describes the columns with a sequence of maps. It's a combinations of column, type and nullable. The 'column' is the column name, which is required. The 'type' is the optional type of the column, which can be an atomic type or the default of none. The 'nullable' is an optional boolean defaulting to false. If your rows contains only uri, doc, collections, metadata, permissions, quality and temporalCollection columns, you could simply use op:doc-col-types instead.
8237
8239
* @returns { planBuilder.AccessPlan }
8238
8240
*/
8239
8241
fromParam(...args) {
@@ -8248,8 +8250,8 @@ fromParam(...args) {
8248
8250
/**
8249
8251
* This function constructs document rows from the docsDescriptors. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.fromDocDescriptors|op.fromDocDescriptors}
8250
8252
* @method planBuilder#fromDocDescriptors
8251
-
* @since 3.1.0
8252
-
* @param { PlanDocDescriptor } [docDescriptor] - An array of document descriptors. Each document descriptor describes a document. A document descriptor contains a combination of uri, doc, collections, metadata, permissions, quality and temporalCollection. This is a simpler form of op.fromParam.
8253
+
* @since 3.1.0
8254
+
* @param { PlanDocDescriptor } [docDescriptor] - A map of document descriptors. Each document descriptor describes a document. A document descriptor contains a combination of uri, doc, collections, metadata, permissions, quality and temporalCollection. This is a simpler form of op:from-param.
8253
8255
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
* This function matches and returns the uri, content, and score for documents. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.fromDocUris|op.fromDocUris}
8267
8269
* @method planBuilder#fromDocUris
8268
-
* @since 3.1.0
8269
-
* @param { PlanQueryDef } [querydef] - Qualifies a set of documents. The query can be a cts.query or as an array of document URI string literals.
8270
+
* @since 3.1.0
8271
+
* @param { PlanQueryDef } [querydef] - Qualifies a set of documents. The query can be a cts:query or as a sequence of document URI string literals.
8270
8272
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
* Constructs a document column identifier object for columns of uri, doc, collections, metadata, permissions, quality and temporalCollection. The document column identifier object can be passed to the prototype.joinDocCols or prototype.write. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.docCols|op.docCols}
8899
+
* Constructs a document column identifier object for columns of uri, doc, collections, metadata, permissions, quality and temporalCollection. The document column identifier object can be passed to the op:join-doc-cols or op:write. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.docCols|op.docCols}
8898
8900
* @method planBuilder#docCols
8899
8901
* @since 2.1.1
8900
8902
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
8901
-
* @param { XsString } [names] - An array of columns names, a combination of uri, doc, collections, metadata, permissions, quality and temporalCollection.
8903
+
* @param { XsString } [names] - A sequence of columns names, a combination of uri, doc, collections, metadata, permissions, quality and temporalCollection.
8902
8904
* @returns { planBuilder.PlanDocColsIdentifier }
8903
8905
*/
8904
8906
docCols(...args) {
@@ -8911,7 +8913,7 @@ docCols(...args) {
8911
8913
8912
8914
}
8913
8915
/**
8914
-
* Provides the 3rd parameter for op.fromParam for row column types. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.docColTypes|op.docColTypes}
8916
+
* Provides the 3rd parameter for op:from-param for row column types. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.docColTypes|op.docColTypes}
0 commit comments