Package com.liferay.portal.search.query
Class GeoDistanceRangeQuery
java.lang.Object
com.liferay.portal.search.query.Query
com.liferay.portal.search.query.RangeTermQuery
com.liferay.portal.search.query.GeoDistanceRangeQuery
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.liferay.portal.search.query.RangeTermQuery
RangeTermQuery.Operator -
Constructor Summary
ConstructorsConstructorDescriptionGeoDistanceRangeQuery(String field, boolean includesLower, boolean includesUpper, GeoDistance lowerBoundGeoDistance, GeoLocationPoint pinGeoLocationPoint, GeoDistance upperBoundGeoDistance) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(QueryVisitor<T> queryVisitor) intvoidsetShapeRelation(ShapeRelation shapeRelation) Methods inherited from class com.liferay.portal.search.query.RangeTermQuery
getField, getLowerBound, getLowerBoundOperator, getUpperBound, getUpperBoundOperator, isIncludesLower, isIncludesUpper, setLowerBound, setUpperBound, toStringMethods inherited from class com.liferay.portal.search.query.Query
getBoost, getQueryName, setBoost, setQueryName
-
Constructor Details
-
GeoDistanceRangeQuery
public GeoDistanceRangeQuery(String field, boolean includesLower, boolean includesUpper, GeoDistance lowerBoundGeoDistance, GeoLocationPoint pinGeoLocationPoint, GeoDistance upperBoundGeoDistance)
-
-
Method Details
-
accept
- Overrides:
acceptin classRangeTermQuery
-
getLowerBoundGeoDistance
-
getPinGeoLocationPoint
-
getShapeRelation
-
getSortOrder
public int getSortOrder()- Overrides:
getSortOrderin classRangeTermQuery
-
getUpperBoundGeoDistance
-
setShapeRelation
-