public static class QueryOptions.QueryGeospatialElementPair extends QueryOptions.BaseConstraintItem
Constructor and Description |
---|
QueryOptions.QueryGeospatialElementPair() |
Modifier and Type | Method and Description |
---|---|
void |
addFacetOption(String facetOption)
Add a facet option to this Geospatial constraint.
|
void |
addGeoOption(String geoOption)
Add a geospatial option to this constraint.
|
List<String> |
getFacetOptions()
List the facet options for the GeoSpatial constraint.
|
QueryOptions.Heatmap |
getHeatmap()
Returns the heatmap for this GeoSpatial constraint.
|
QueryOptions.MarkLogicQName |
getLatitude()
Returns the latitude element or attribute as a MarkLogic QName.
|
QueryOptions.MarkLogicQName |
getLongitude()
Returns the longitude element or attribute as a MarkLogic QName.
|
QueryOptions.MarkLogicQName |
getParent()
Returns the latitude and longitude container as a MarkLogic QName.
|
void |
setGeoOptions(List<String> geoOptions)
Specifies the geospatial options for this constraint.
|
void |
setHeatmap(QueryOptions.Heatmap heatmap)
Specifies the heatmap for this GeoSpatial constraint.
|
void |
setLatitude(QueryOptions.MarkLogicQName latitude)
Specifies the latitude element or attribute as a MarkLogic QName.
|
void |
setLongitude(QueryOptions.MarkLogicQName longitude)
Specifies the longitude element or attribute as a MarkLogic QName.
|
void |
setParent(QueryOptions.MarkLogicQName parent)
Specifies the latitude and longitude container as a MarkLogic QName.
|
addTermOption, getAttribute, getElement, getFieldName, getFragmentScope, getJsonKeyName, getPath, getPathIndex, getPathNamespaceBindings, getTermOptions, getWeight, setAttribute, setElement, setField, setFragmentScope, setJsonKey, setPath, setTermOptions, setWeight
public QueryOptions.QueryGeospatialElementPair()
public void addFacetOption(String facetOption)
facetOption
- the optionpublic void addGeoOption(String geoOption)
geoOption
- the optionpublic List<String> getFacetOptions()
public QueryOptions.Heatmap getHeatmap()
public QueryOptions.MarkLogicQName getLatitude()
public QueryOptions.MarkLogicQName getLongitude()
public QueryOptions.MarkLogicQName getParent()
public void setGeoOptions(List<String> geoOptions)
geoOptions
- the option listpublic void setHeatmap(QueryOptions.Heatmap heatmap)
heatmap
- the heatmappublic void setLatitude(QueryOptions.MarkLogicQName latitude)
latitude
- the latitudepublic void setLongitude(QueryOptions.MarkLogicQName longitude)
longitude
- the longitudepublic void setParent(QueryOptions.MarkLogicQName parent)
parent
- the containerCopyright © 2013-2015 MarkLogic Corporation.