Package | Description |
---|---|
com.marklogic.client.expression |
The package provides classes for building Optic plan pipelines and expressions
for execution on the REST server.
|
com.marklogic.client.type |
The package provides interfaces specifying the type of an expression or
value as passed to a
PlanBuilder method
or returned from a RowRecord method. |
Modifier and Type | Method and Description |
---|---|
XsDoubleVal |
XsValue.doubleVal(double value)
Takes a double primitive and constructs an xs:double value
|
Modifier and Type | Method and Description |
---|---|
CtsBoxExpr |
CtsExpr.box(XsDoubleVal south,
XsDoubleVal west,
XsDoubleVal north,
XsDoubleVal east)
Returns a geospatial box value.
|
CtsCircleExpr |
CtsExpr.circle(XsDoubleVal radius,
XsDoubleVal center)
Returns a geospatial circle value.
|
XsDoubleSeqVal |
XsValue.doubleSeq(XsDoubleVal... values)
Takes any number of xs:double values and constructs an xs:double sequence
|
CtsQueryExpr |
CtsExpr.elementAttributePairGeospatialQuery(XsQNameSeqVal elementName,
XsQNameSeqVal latitudeName,
XsQNameSeqVal longitudeName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name which has specific attributes representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.elementAttributeRangeQuery(XsQNameSeqVal elementName,
XsQNameSeqVal attributeName,
XsStringVal operator,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Constructs a query that matches element-attributes by name with a range-index entry equal to a given value.
|
CtsQueryExpr |
CtsExpr.elementAttributeValueQuery(XsQNameSeqVal elementName,
XsQNameSeqVal attributeName,
XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name with attributes by name with text content equal a given phrase.
|
CtsQueryExpr |
CtsExpr.elementAttributeWordQuery(XsQNameSeqVal elementName,
XsQNameSeqVal attributeName,
XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name with attributes by name with text content containing a given phrase.
|
CtsQueryExpr |
CtsExpr.elementChildGeospatialQuery(XsQNameSeqVal elementName,
XsQNameSeqVal childName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name which has specific element children representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.elementGeospatialQuery(XsQNameSeqVal elementName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name whose content represents a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.elementPairGeospatialQuery(XsQNameSeqVal elementName,
XsQNameSeqVal latitudeName,
XsQNameSeqVal longitudeName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name which has specific element children representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.elementRangeQuery(XsQNameSeqVal elementName,
XsStringVal operator,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Constructs a query that matches elements by name with range index entry equal to a given value.
|
CtsQueryExpr |
CtsExpr.elementValueQuery(XsQNameSeqVal elementName,
XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name with text content equal a given phrase.
|
CtsQueryExpr |
CtsExpr.elementWordQuery(XsQNameSeqVal elementName,
XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching elements by name with text content containing a given phrase.
|
CtsQueryExpr |
CtsExpr.fieldRangeQuery(XsStringSeqVal fieldName,
XsStringVal operator,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a cts:query matching fields by name with a range-index entry equal to a given value.
|
CtsQueryExpr |
CtsExpr.fieldValueQuery(XsStringSeqVal fieldName,
XsAnyAtomicTypeSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching text content containing a given value in the specified field.
|
CtsQueryExpr |
CtsExpr.fieldWordQuery(XsStringSeqVal fieldName,
XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching fields with text content containing a given phrase.
|
CtsQueryExpr |
CtsExpr.geospatialRegionQuery(CtsReferenceSeqExpr reference,
XsStringVal operation,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Construct a query to match regions in documents that satisfy a specified relationship relative to other regions.
|
CtsQueryExpr |
CtsExpr.jsonPropertyChildGeospatialQuery(XsStringSeqVal propertyName,
XsStringSeqVal childName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching json properties by name which has specific children representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.jsonPropertyGeospatialQuery(XsStringSeqVal propertyName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching json properties by name whose content represents a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.jsonPropertyPairGeospatialQuery(XsStringSeqVal propertyName,
XsStringSeqVal latitudeName,
XsStringSeqVal longitudeName,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching json properties by name which has specific property children representing latitude and longitude values for a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.jsonPropertyRangeQuery(XsStringSeqVal propertyName,
XsStringVal operator,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a cts:query matching JSON properties by name with a range-index entry equal to a given value.
|
CtsQueryExpr |
CtsExpr.jsonPropertyValueQuery(XsStringSeqVal propertyName,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching JSON properties by name with value equal the given value.
|
CtsQueryExpr |
CtsExpr.jsonPropertyWordQuery(XsStringSeqVal propertyName,
XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching JSON properties by name with text content containing a given phrase.
|
CtsQueryExpr |
CtsExpr.lsqtQuery(XsStringVal temporalCollection,
XsDateTimeVal timestamp,
XsStringSeqVal options,
XsDoubleVal weight)
Returns only documents before LSQT or a timestamp before LSQT for stable query results.
|
CtsQueryExpr |
CtsExpr.nearQuery(CtsQuerySeqExpr queries,
XsDoubleVal distance)
Returns a query matching all of the specified queries, where the matches occur within the specified distance from each other.
|
CtsQueryExpr |
CtsExpr.nearQuery(CtsQuerySeqExpr queries,
XsDoubleVal distance,
XsStringSeqVal options)
Returns a query matching all of the specified queries, where the matches occur within the specified distance from each other.
|
CtsQueryExpr |
CtsExpr.nearQuery(CtsQuerySeqExpr queries,
XsDoubleVal distance,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching all of the specified queries, where the matches occur within the specified distance from each other.
|
CtsQueryExpr |
CtsExpr.pathGeospatialQuery(XsStringSeqVal pathExpression,
CtsRegionSeqExpr region,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching path expressions whose content represents a point contained within the given geographic box, circle, or polygon, or equal to the given point.
|
CtsQueryExpr |
CtsExpr.pathRangeQuery(XsStringSeqVal pathName,
XsStringVal operator,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a cts:query matching documents where the content addressed by an XPath expression satisfies the specified relationship (=, <, >, etc.) with respect to the input criteria values.
|
CtsPointExpr |
CtsExpr.point(XsDoubleVal latitude,
XsDoubleVal longitude)
Returns a point value.
|
CtsQueryExpr |
CtsExpr.rangeQuery(CtsReferenceSeqExpr index,
XsStringVal operator,
XsAnyAtomicTypeSeqVal value,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a cts:query matching specified nodes with a range-index entry compared to a given value.
|
CtsRegionExpr |
GeoExpr.regionApproximate(CtsRegionExpr region,
XsDoubleVal threshold)
This function returns a simplified approximation of the region, using the Douglas-Peucker algorithm.
|
CtsRegionExpr |
GeoExpr.regionApproximate(CtsRegionExpr region,
XsDoubleVal threshold,
XsStringSeqVal options)
This function returns a simplified approximation of the region, using the Douglas-Peucker algorithm.
|
CtsQueryExpr |
CtsExpr.tripleRangeQuery(XsAnyAtomicTypeSeqVal subject,
XsAnyAtomicTypeSeqVal predicate,
XsAnyAtomicTypeSeqVal object,
XsStringSeqVal operator,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a cts:query matching triples with a triple index entry equal to the given values.
|
CtsQueryExpr |
CtsExpr.wordQuery(XsStringSeqVal text,
XsStringSeqVal options,
XsDoubleVal weight)
Returns a query matching text content containing a given phrase.
|
Modifier and Type | Method and Description |
---|---|
XsDoubleVal[] |
XsDoubleSeqVal.getDoubleItems() |
Copyright © 2013-2020 MarkLogic Corporation.