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
Copy file name to clipboardExpand all lines: lib/plan-builder-generated.js
+29-28Lines changed: 29 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2022 MarkLogic Corporation
2
+
* Copyright (c) 2023 MarkLogic Corporation
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -7428,10 +7428,10 @@ whereDistinct(...args) {
7428
7428
return new PlanModifyPlan(this, 'op', 'where-distinct', args);
7429
7429
}
7430
7430
/**
7431
-
* 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}
7431
+
* Provides a client interface to a server function.
7432
7432
* @method planBuilder.ModifyPlan#write
7433
-
* @since 2.1.1
7434
-
* @param { PlanDocColsIdentifier } [docCols] -
7433
+
* @since 3.1.0
7434
+
* @param { PlanDocColsIdentifier } [docCols] - the docCols value.
7435
7435
* @returns { planBuilder.ModifyPlan }
7436
7436
*/
7437
7437
write(...args) {
@@ -7440,10 +7440,10 @@ write(...args) {
7440
7440
return new PlanModifyPlan(this, 'op', 'write', checkedArgs);
7441
7441
}
7442
7442
/**
7443
-
* 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}
7443
+
* Provides a client interface to a server function.
7444
7444
* @method planBuilder.ModifyPlan#remove
7445
-
* @since 2.1.1
7446
-
* @param { PlanDocIdentifier } [removeCol] -
7445
+
* @since 3.1.0
7446
+
* @param { PlanDocIdentifier } [removeCol] - the column containing URIs to be removed
7447
7447
* @returns { planBuilder.ModifyPlan }
7448
7448
*/
7449
7449
remove(...args) {
@@ -7452,10 +7452,10 @@ remove(...args) {
7452
7452
return new PlanModifyPlan(this, 'op', 'remove', checkedArgs);
7453
7453
}
7454
7454
/**
7455
-
* 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}
7455
+
* Provides a client interface to a server function.
7456
7456
* @method planBuilder.ModifyPlan#lockForUpdate
7457
-
* @since 2.1.1
7458
-
* @param { PlanDocIdentifier } [lockUriCol] -
7457
+
* @since 3.1.0
7458
+
* @param { PlanDocIdentifier } [lockUriCol] - the column containing URIs to be locked
7459
7459
* @returns { planBuilder.ModifyPlan }
7460
7460
*/
7461
7461
lockForUpdate(...args) {
@@ -7466,9 +7466,9 @@ lockForUpdate(...args) {
7466
7466
/**
7467
7467
* Provides a client interface to a server function.
* @param { PlanDocIdentifier } [transformDocCol] - the column containing content to be transformed.
7471
+
* @param { PlanTransformDef } [transformDef] - defines a transform to be used.
7472
7472
* @returns { planBuilder.ModifyPlan }
7473
7473
*/
7474
7474
transformDoc(...args) {
@@ -7483,9 +7483,9 @@ transformDoc(...args) {
7483
7483
/**
7484
7484
* Provides a client interface to a server function.
7485
7485
* @method planBuilder.ModifyPlan#joinDocCols
7486
-
* @since 2.1.1
7487
-
* @param { PlanDocColsIdentifier } [cols] -
7488
-
* @param { PlanColumnName } [docIdCol] -
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.
7489
7489
* @returns { planBuilder.ModifyPlan }
7490
7490
*/
7491
7491
joinDocCols(...args) {
@@ -7500,9 +7500,10 @@ joinDocCols(...args) {
7500
7500
/**
7501
7501
* Provides a client interface to a server function.
7502
7502
* @method planBuilder.ModifyPlan#validateDoc
7503
-
* @since 2.1.1
7504
-
* @param { PlanColumnName } [validateDocCol] -
7505
-
* @param { PlanSchemaDef } [schemaDef] -
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).
7506
7507
* @returns { planBuilder.ModifyPlan }
7507
7508
*/
7508
7509
validateDoc(...args) {
@@ -7517,7 +7518,7 @@ validateDoc(...args) {
7517
7518
/**
7518
7519
* This function flattens an array value into multiple rows.Then performs a op:join-inner on the rest of the rows. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.unnestInner|ModifyPlan.prototype.unnestInner}
7519
7520
* @method planBuilder.ModifyPlan#unnestInner
7520
-
* @since 2.1.1
7521
+
* @since 3.0.0
7521
7522
* @param { PlanExprColName } [inputColumn] - The input column, which contains an array, to flatten into rows. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col if you need to identify columns in the two views that have the same column name.
7522
7523
* @param { PlanExprColName } [valueColumn] - The output column which contains the flattened array values. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed.
7523
7524
* @param { PlanExprColName } [ordinalColumn] - The ordinalColumn is optional. If specified, an additional column will be added to the rows of flattened array values, starting from 1. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed.
@@ -7535,7 +7536,7 @@ unnestInner(...args) {
7535
7536
/**
7536
7537
* This function flattens an array value into multiple rows.Then performs a op:join-left-outer on the rest of the rows. Provides a client interface to a server function. See {@link http://docs.marklogic.com/ModifyPlan.prototype.unnestLeftOuter|ModifyPlan.prototype.unnestLeftOuter}
7537
7538
* @method planBuilder.ModifyPlan#unnestLeftOuter
7538
-
* @since 2.1.1
7539
+
* @since 3.0.0
7539
7540
* @param { PlanExprColName } [inputColumn] - The input column, which contains an array, to flatten into rows. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col if you need to identify columns in the two views that have the same column name.
7540
7541
* @param { PlanExprColName } [valueColumn] - The output column which contains the flattened array values. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed.
7541
7542
* @param { PlanExprColName } [ordinalColumn] - The ordinalColumn is optional. If specified, an additional column will be added to the rows of flattened array values, starting from 1. This can be a string of the column name or an op:col. Use op:view-col or op:schema-col as needed.
@@ -7562,10 +7563,10 @@ class PlanAccessPlan extends PlanModifyPlan {
7562
7563
super(prior, ns, fn, args);
7563
7564
}
7564
7565
/**
7565
-
* 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}
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}
7566
7567
* @method planBuilder.AccessPlan#col
7567
7568
* @since 2.1.1
7568
-
* @param { XsString } [column] -
7569
+
* @param { XsString } [column] - The Optic AccessorPlan created by op:from-view, op:from-triples, or op:from-lexicons.
7569
7570
* @returns { planBuilder.PlanColumn }
7570
7571
*/
7571
7572
col(...args) {
@@ -7964,10 +7965,10 @@ param(...args) {
7964
7965
return new PlanParam('op', 'param', checkedArgs);
7965
7966
}
7966
7967
/**
7967
-
* 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}
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}
7968
7969
* @method planBuilder#col
7969
7970
* @since 2.1.1
7970
-
* @param { XsString } [column] -
7971
+
* @param { XsString } [column] - The Optic AccessorPlan created by op:from-view, op:from-triples, or op:from-lexicons.
7971
7972
* @returns { planBuilder.PlanColumn }
7972
7973
*/
7973
7974
col(...args) {
@@ -8229,7 +8230,7 @@ fromSearch(...args) {
8229
8230
/**
8230
8231
* This function constructs document rows with rows provided by a parameter. Provides a client interface to a server function. See {@link http://docs.marklogic.com/op.fromParam|op.fromParam}
8231
8232
* @method planBuilder#fromParam
8232
-
* @since 2.1.1
8233
+
* @since 3.1.0
8233
8234
* @param { XsString } [paramName] - The paramName parameter specifies the placeholder parameter supplying the rows.
8234
8235
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
8235
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.
@@ -8247,7 +8248,7 @@ fromParam(...args) {
8247
8248
/**
8248
8249
* 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}
8249
8250
* @method planBuilder#fromDocDescriptors
8250
-
* @since 2.1.1
8251
+
* @since 3.1.0
8251
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.
8252
8253
* @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}
8266
8267
* @method planBuilder#fromDocUris
8267
-
* @since 2.1.1
8268
+
* @since 3.1.0
8268
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.
8269
8270
* @param { XsString } [qualifier] - Specifies a name for qualifying the column names.
0 commit comments