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,19 @@ 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
+
* <a name="ml-server-type-circle"></a>
168
+
169
+
* <p>
170
+
* Provides a client interface to the <a href="http://docs.marklogic.com/cts:circle" target="mlserverdoc">cts:circle</a> server function.
171
+
* @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>)
172
+
* @param center A point representing the center of the circle. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
173
+
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a> server data type
174
+
*/
175
+
public CtsCircleExpr circle(double radius, double center);
182
176
/**
183
177
* Returns a geospatial circle value.
184
178
*
@@ -190,7 +184,7 @@ public interface CtsExpr {
190
184
* @param center A point representing the center of the circle. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
191
185
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a> server data type
192
186
*/
193
-
public ServerExpression circle(ServerExpression radius, ServerExpression center);
187
+
public CtsCircleExpr circle(XsDoubleVal radius, XsDoubleVal center);
194
188
/**
195
189
* Returns a circle's center point.
196
190
*
@@ -201,7 +195,7 @@ public interface CtsExpr {
201
195
* @param circle The circle. (of <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a>)
202
196
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a> server data type
203
197
*/
204
-
public ServerExpression circleCenter(ServerExpression circle);
198
+
public ServerExpression circleCenter(CtsCircleExpr circle);
205
199
/**
206
200
* Returns a circle's radius.
207
201
*
@@ -212,7 +206,7 @@ public interface CtsExpr {
212
206
* @param circle The circle. (of <a href="{@docRoot}/doc-files/types/cts_circle.html">cts:circle</a>)
213
207
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
214
208
*/
215
-
public ServerExpression circleRadius(ServerExpression circle);
209
+
public ServerExpression circleRadius(CtsCircleExpr circle);
216
210
/**
217
211
* 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
212
* <p>
@@ -263,7 +257,7 @@ public interface CtsExpr {
263
257
* @param inner The innner (hole) polygons. (of <a href="{@docRoot}/doc-files/types/cts_polygon.html">cts:polygon</a>)
264
258
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_complex-polygon.html">cts:complex-polygon</a> server data type
265
259
*/
266
-
public ServerExpression complexPolygon(ServerExpression outer, ServerExpression inner);
260
+
public CtsPolygonExpr complexPolygon(CtsPolygonExpr outer, CtsPolygonExpr inner);
267
261
/**
268
262
* Returns a query matching documents in the directories with the given URIs.
269
263
* <p>
@@ -2474,7 +2468,7 @@ public interface CtsExpr {
2474
2468
* @param longitude The longitude of the point. (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
2475
2469
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a> server data type
2476
2470
*/
2477
-
public ServerExpression point(double latitude, double longitude);
2471
+
public CtsPointExpr point(double latitude, double longitude);
2478
2472
/**
2479
2473
* Returns a point value.
2480
2474
*
@@ -2486,7 +2480,7 @@ public interface CtsExpr {
2486
2480
* @param longitude The longitude of the point. (of <a href="{@docRoot}/doc-files/types/xs_double.html">xs:double</a>)
2487
2481
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a> server data type
2488
2482
*/
2489
-
public ServerExpression point(ServerExpression latitude, ServerExpression longitude);
2483
+
public CtsPointExpr point(XsDoubleVal latitude, XsDoubleVal longitude);
2490
2484
/**
2491
2485
* Returns a point's latitude value.
2492
2486
*
@@ -2497,7 +2491,7 @@ public interface CtsExpr {
2497
2491
* @param point The point. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
2498
2492
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
2499
2493
*/
2500
-
public ServerExpression pointLatitude(ServerExpression point);
2494
+
public ServerExpression pointLatitude(CtsPointExpr point);
2501
2495
/**
2502
2496
* Returns a point's longitude value.
2503
2497
*
@@ -2508,7 +2502,7 @@ public interface CtsExpr {
2508
2502
* @param point The point. (of <a href="{@docRoot}/doc-files/types/cts_point.html">cts:point</a>)
2509
2503
* @return a server expression with the <a href="{@docRoot}/doc-files/types/xs_numeric.html">xs:numeric</a> server data type
2510
2504
*/
2511
-
public ServerExpression pointLongitude(ServerExpression point);
2505
+
public ServerExpression pointLongitude(CtsPointExpr point);
2512
2506
/**
2513
2507
* Returns a geospatial polygon value.
2514
2508
*
@@ -2519,7 +2513,7 @@ public interface CtsExpr {
2519
2513
* @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
2514
* @return a server expression with the <a href="{@docRoot}/doc-files/types/cts_polygon.html">cts:polygon</a> server data type
2521
2515
*/
2522
-
public ServerExpression polygon(ServerExpression vertices);
2516
+
public CtsPolygonExpr polygon(XsAnyAtomicTypeSeqVal vertices);
2523
2517
/**
2524
2518
* 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
2519
* <p>
@@ -2852,13 +2846,41 @@ public interface CtsExpr {
2852
2846
* @return a CtsQueryExpr server expression
2853
2847
*/
2854
2848
public CtsQueryExpr wordQuery(XsStringSeqVal text, XsStringSeqVal options, XsDoubleVal weight);
2849
+
/**
2850
+
* Constructs a sequence of CtsBoxExpr items.
2851
+
* @param items the CtsBoxExpr items collected by the sequence
2852
+
* @return a CtsBoxSeqExpr sequence
2853
+
*/
2854
+
public CtsBoxSeqExpr boxSeq(CtsBoxExpr... items);
2855
+
2856
+
/**
2857
+
* Constructs a sequence of CtsCircleExpr items.
2858
+
* @param items the CtsCircleExpr items collected by the sequence
2859
+
* @return a CtsCircleSeqExpr sequence
2860
+
*/
2861
+
public CtsCircleSeqExpr circleSeq(CtsCircleExpr... items);
2862
+
2855
2863
/**
2856
2864
* Constructs a sequence of CtsPeriodExpr items.
2857
2865
* @param items the CtsPeriodExpr items collected by the sequence
2858
2866
* @return a CtsPeriodSeqExpr sequence
2859
2867
*/
2860
2868
public CtsPeriodSeqExpr periodSeq(CtsPeriodExpr... items);
2861
2869
2870
+
/**
2871
+
* Constructs a sequence of CtsPointExpr items.
2872
+
* @param items the CtsPointExpr items collected by the sequence
2873
+
* @return a CtsPointSeqExpr sequence
2874
+
*/
2875
+
public CtsPointSeqExpr pointSeq(CtsPointExpr... items);
2876
+
2877
+
/**
2878
+
* Constructs a sequence of CtsPolygonExpr items.
2879
+
* @param items the CtsPolygonExpr items collected by the sequence
2880
+
* @return a CtsPolygonSeqExpr sequence
2881
+
*/
2882
+
public CtsPolygonSeqExpr polygonSeq(CtsPolygonExpr... items);
2883
+
2862
2884
/**
2863
2885
* Constructs a sequence of CtsQueryExpr items.
2864
2886
* @param items the CtsQueryExpr items collected by the sequence
0 commit comments