Skip to content

Commit 7f96ae4

Browse files
committed
Generate code for 3rd parameter of op.xpath
1 parent 3b561c9 commit 7f96ae4

File tree

18 files changed

+459
-116
lines changed

18 files changed

+459
-116
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/expression/CtsExpr.java

Lines changed: 99 additions & 25 deletions
Large diffs are not rendered by default.

marklogic-client-api/src/main/java/com/marklogic/client/expression/JsonExpr.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public interface JsonExpr {
165165
*/
166166
public ServerExpression subarray(ServerExpression array, ServerExpression startingLoc, ServerExpression length);
167167
/**
168-
* Constructs json:array from a sequence of items.
168+
* Constructs a json:array from a sequence of items.
169169
*
170170
* <a name="ml-server-type-to-array"></a>
171171
@@ -175,46 +175,46 @@ public interface JsonExpr {
175175
*/
176176
public ServerExpression toArray();
177177
/**
178-
* Constructs json:array from a sequence of items.
178+
* Constructs a json:array from a sequence of items.
179179
* <p>
180180
* Provides a client interface to the <a href="http://docs.marklogic.com/json:to-array" target="mlserverdoc">json:to-array</a> server function.
181-
* @param items A sequence of items. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
181+
* @param items The items to be used as elements in the constructed array. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
182182
* @return a server expression with the <a href="{@docRoot}/doc-files/types/json_array.html">json:array</a> server data type
183183
*/
184184
public ServerExpression toArray(ServerExpression items);
185185
/**
186-
* Constructs json:array from a sequence of items.
186+
* Constructs a json:array from a sequence of items.
187187
* <p>
188188
* Provides a client interface to the <a href="http://docs.marklogic.com/json:to-array" target="mlserverdoc">json:to-array</a> server function.
189-
* @param items A sequence of items. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
189+
* @param items The items to be used as elements in the constructed array. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
190190
* @param limit The size of the array to construct. If the size is less than the length of the item sequence, only as "limit" items are put into the array. If the size is more than the length of the sequence, the array is filled with null values up to the limit. (of <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a>)
191191
* @return a server expression with the <a href="{@docRoot}/doc-files/types/json_array.html">json:array</a> server data type
192192
*/
193193
public ServerExpression toArray(ServerExpression items, double limit);
194194
/**
195-
* Constructs json:array from a sequence of items.
195+
* Constructs a json:array from a sequence of items.
196196
* <p>
197197
* Provides a client interface to the <a href="http://docs.marklogic.com/json:to-array" target="mlserverdoc">json:to-array</a> server function.
198-
* @param items A sequence of items. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
198+
* @param items The items to be used as elements in the constructed array. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
199199
* @param limit The size of the array to construct. If the size is less than the length of the item sequence, only as "limit" items are put into the array. If the size is more than the length of the sequence, the array is filled with null values up to the limit. (of <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a>)
200200
* @return a server expression with the <a href="{@docRoot}/doc-files/types/json_array.html">json:array</a> server data type
201201
*/
202202
public ServerExpression toArray(ServerExpression items, ServerExpression limit);
203203
/**
204-
* Constructs json:array from a sequence of items.
204+
* Constructs a json:array from a sequence of items.
205205
* <p>
206206
* Provides a client interface to the <a href="http://docs.marklogic.com/json:to-array" target="mlserverdoc">json:to-array</a> server function.
207-
* @param items A sequence of items. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
207+
* @param items The items to be used as elements in the constructed array. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
208208
* @param limit The size of the array to construct. If the size is less than the length of the item sequence, only as "limit" items are put into the array. If the size is more than the length of the sequence, the array is filled with null values up to the limit. (of <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a>)
209209
* @param zero The value to use to pad out the array, if necessary. By default the empty sequence is used. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
210210
* @return a server expression with the <a href="{@docRoot}/doc-files/types/json_array.html">json:array</a> server data type
211211
*/
212212
public ServerExpression toArray(ServerExpression items, double limit, ServerExpression zero);
213213
/**
214-
* Constructs json:array from a sequence of items.
214+
* Constructs a json:array from a sequence of items.
215215
* <p>
216216
* Provides a client interface to the <a href="http://docs.marklogic.com/json:to-array" target="mlserverdoc">json:to-array</a> server function.
217-
* @param items A sequence of items. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
217+
* @param items The items to be used as elements in the constructed array. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
218218
* @param limit The size of the array to construct. If the size is less than the length of the item sequence, only as "limit" items are put into the array. If the size is more than the length of the sequence, the array is filled with null values up to the limit. (of <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a>)
219219
* @param zero The value to use to pad out the array, if necessary. By default the empty sequence is used. (of <a href="{@docRoot}/doc-files/types/item.html">item</a>)
220220
* @return a server expression with the <a href="{@docRoot}/doc-files/types/json_array.html">json:array</a> server data type

0 commit comments

Comments
 (0)