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
// IMPORTANT: Do not edit. This file is generated.
39
21
@@ -120,7 +102,7 @@ public interface CtsExpr {
120
102
* @param east The eastern boundary of the box. (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
121
103
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_box.html">cts:box</a> server data type
122
104
*/
123
-
public ServerExpression box(double south, double west, double north, double east);
105
+
public CtsBoxExpr box(double south, double west, double north, double east);
124
106
/**
125
107
* Returns a geospatial box value.
126
108
*
@@ -134,7 +116,7 @@ public interface CtsExpr {
134
116
* @param east The eastern boundary of the box. (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
135
117
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_box.html">cts:box</a> server data type
136
118
*/
137
-
public ServerExpression box(ServerExpression south, ServerExpression west, ServerExpression north, ServerExpression east);
119
+
public CtsBoxExpr box(XsDoubleVal south, XsDoubleVal west, XsDoubleVal north, XsDoubleVal east);
138
120
/**
139
121
* Returns a box's eastern boundary.
140
122
*
@@ -145,7 +127,7 @@ public interface CtsExpr {
145
127
* @param box The box. (of <a href="{@docRoot}/doc-files/types/cts_box.html">cts:box</a>)
146
128
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
147
129
*/
148
-
public ServerExpression boxEast(ServerExpression box);
130
+
public ServerExpression boxEast(CtsBoxExpr box);
149
131
/**
150
132
* Returns a box's northern boundary.
151
133
*
@@ -156,7 +138,7 @@ public interface CtsExpr {
156
138
* @param box The box. (of <a href="{@docRoot}/doc-files/types/cts_box.html">cts:box</a>)
157
139
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
158
140
*/
159
-
public ServerExpression boxNorth(ServerExpression box);
141
+
public ServerExpression boxNorth(CtsBoxExpr box);
160
142
/**
161
143
* Returns a box's southern boundary.
162
144
*
@@ -167,7 +149,7 @@ public interface CtsExpr {
167
149
* @param box The box. (of <a href="{@docRoot}/doc-files/types/cts_box.html">cts:box</a>)
168
150
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
169
151
*/
170
-
public ServerExpression boxSouth(ServerExpression box);
152
+
public ServerExpression boxSouth(CtsBoxExpr box);
171
153
/**
172
154
* Returns a box's western boundary.
173
155
*
@@ -178,7 +160,17 @@ public interface CtsExpr {
178
160
* @param box The box. (of <a href="{@docRoot}/doc-files/types/cts_box.html">cts:box</a>)
179
161
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
180
162
*/
181
-
public ServerExpression boxWest(ServerExpression box);
163
+
public ServerExpression boxWest(CtsBoxExpr box);
164
+
/**
165
+
* Returns a geospatial circle value.
166
+
*
167
+
* <p>
168
+
* Provides a client interface to the <a href="http://docs.marklogic.com/cts:circle" target="mlserverdoc">cts:circle</a> server function.
169
+
* @param radius The radius of the circle. The units for the radius is determined at runtime by the query options (miles is currently the only option). (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
170
+
* @param center A point representing the center of the circle. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
171
+
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a> server data type
172
+
*/
173
+
public CtsCircleExpr circle(double radius, double center);
182
174
/**
183
175
* Returns a geospatial circle value.
184
176
*
@@ -190,7 +182,7 @@ public interface CtsExpr {
190
182
* @param center A point representing the center of the circle. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
191
183
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a> server data type
192
184
*/
193
-
public ServerExpression circle(ServerExpression radius, ServerExpression center);
185
+
public CtsCircleExpr circle(XsDoubleVal radius, XsDoubleVal center);
194
186
/**
195
187
* Returns a circle's center point.
196
188
*
@@ -201,7 +193,7 @@ public interface CtsExpr {
201
193
* @param circle The circle. (of <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a>)
202
194
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a> server data type
203
195
*/
204
-
public ServerExpression circleCenter(ServerExpression circle);
196
+
public ServerExpression circleCenter(CtsCircleExpr circle);
205
197
/**
206
198
* Returns a circle's radius.
207
199
*
@@ -212,7 +204,7 @@ public interface CtsExpr {
212
204
* @param circle The circle. (of <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a>)
213
205
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
214
206
*/
215
-
public ServerExpression circleRadius(ServerExpression circle);
207
+
public ServerExpression circleRadius(CtsCircleExpr circle);
216
208
/**
217
209
* Match documents in at least one of the specified collections. It will match both documents and properties documents in the collections with the given URIs.
218
210
* <p>
@@ -263,7 +255,7 @@ public interface CtsExpr {
263
255
* @param inner The innner (hole) polygons. (of <a href="{@docRoot}/doc-files/types/cts_polygon.html">cts:polygon</a>)
264
256
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_complex-polygon.html">cts:complex-polygon</a> server data type
265
257
*/
266
-
public ServerExpression complexPolygon(ServerExpression outer, ServerExpression inner);
258
+
public CtsPolygonExpr complexPolygon(CtsPolygonExpr outer, CtsPolygonExpr inner);
267
259
/**
268
260
* Returns a query matching documents in the directories with the given URIs.
269
261
* <p>
@@ -2474,7 +2466,7 @@ public interface CtsExpr {
2474
2466
* @param longitude The longitude of the point. (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
2475
2467
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a> server data type
2476
2468
*/
2477
-
public ServerExpression point(double latitude, double longitude);
2469
+
public CtsPointExpr point(double latitude, double longitude);
2478
2470
/**
2479
2471
* Returns a point value.
2480
2472
*
@@ -2486,7 +2478,7 @@ public interface CtsExpr {
2486
2478
* @param longitude The longitude of the point. (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
2487
2479
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a> server data type
2488
2480
*/
2489
-
public ServerExpression point(ServerExpression latitude, ServerExpression longitude);
2481
+
public CtsPointExpr point(XsDoubleVal latitude, XsDoubleVal longitude);
2490
2482
/**
2491
2483
* Returns a point's latitude value.
2492
2484
*
@@ -2497,7 +2489,7 @@ public interface CtsExpr {
2497
2489
* @param point The point. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
2498
2490
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
2499
2491
*/
2500
-
public ServerExpression pointLatitude(ServerExpression point);
2492
+
public ServerExpression pointLatitude(CtsPointExpr point);
2501
2493
/**
2502
2494
* Returns a point's longitude value.
2503
2495
*
@@ -2508,7 +2500,7 @@ public interface CtsExpr {
2508
2500
* @param point The point. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
2509
2501
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
2510
2502
*/
2511
-
public ServerExpression pointLongitude(ServerExpression point);
2503
+
public ServerExpression pointLongitude(CtsPointExpr point);
2512
2504
/**
2513
2505
* Returns a geospatial polygon value.
2514
2506
*
@@ -2519,7 +2511,7 @@ public interface CtsExpr {
2519
2511
* @param vertices The vertices of the polygon, given in order. No edge may cover more than 180 degrees of either latitude or longitude. The polygon as a whole may not encompass both poles. These constraints are necessary to ensure an unambiguous interpretation of the polygon. There must be at least three vertices. The first vertex should be identical to the last vertex to close the polygon. vertexes. (of <a href="{@docRoot}/doc-files/types/xs_anyAtomicType.html">xs:anyAtomicType</a>)
2520
2512
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_polygon.html">cts:polygon</a> server data type
2521
2513
*/
2522
-
public ServerExpression polygon(ServerExpression vertices);
2514
+
public CtsPolygonExpr polygon(XsAnyAtomicTypeSeqVal vertices);
2523
2515
/**
2524
2516
* Returns a query that matches all documents where query matches document-properties. When searching documents or document-locks, this query type provides a convenient way to additionally constrain the search against document-properties fragments.
2525
2517
* <p>
@@ -2852,13 +2844,41 @@ public interface CtsExpr {
2852
2844
* @return a CtsQueryExpr server expression
2853
2845
*/
2854
2846
public CtsQueryExpr wordQuery(XsStringSeqVal text, XsStringSeqVal options, XsDoubleVal weight);
2847
+
/**
2848
+
* Constructs a sequence of CtsBoxExpr items.
2849
+
* @param items the CtsBoxExpr items collected by the sequence
2850
+
* @return a CtsBoxSeqExpr sequence
2851
+
*/
2852
+
public CtsBoxSeqExpr boxSeq(CtsBoxExpr... items);
2853
+
2854
+
/**
2855
+
* Constructs a sequence of CtsCircleExpr items.
2856
+
* @param items the CtsCircleExpr items collected by the sequence
2857
+
* @return a CtsCircleSeqExpr sequence
2858
+
*/
2859
+
public CtsCircleSeqExpr circleSeq(CtsCircleExpr... items);
2860
+
2855
2861
/**
2856
2862
* Constructs a sequence of CtsPeriodExpr items.
2857
2863
* @param items the CtsPeriodExpr items collected by the sequence
2858
2864
* @return a CtsPeriodSeqExpr sequence
2859
2865
*/
2860
2866
public CtsPeriodSeqExpr periodSeq(CtsPeriodExpr... items);
2861
2867
2868
+
/**
2869
+
* Constructs a sequence of CtsPointExpr items.
2870
+
* @param items the CtsPointExpr items collected by the sequence
2871
+
* @return a CtsPointSeqExpr sequence
2872
+
*/
2873
+
public CtsPointSeqExpr pointSeq(CtsPointExpr... items);
2874
+
2875
+
/**
2876
+
* Constructs a sequence of CtsPolygonExpr items.
2877
+
* @param items the CtsPolygonExpr items collected by the sequence
2878
+
* @return a CtsPolygonSeqExpr sequence
2879
+
*/
2880
+
public CtsPolygonSeqExpr polygonSeq(CtsPolygonExpr... items);
2881
+
2862
2882
/**
2863
2883
* Constructs a sequence of CtsQueryExpr items.
2864
2884
* @param items the CtsQueryExpr items collected by the sequence
0 commit comments