Package org.eclipse.rdf4j.sail.lucene
Class DistanceQuerySpec
java.lang.Object
org.eclipse.rdf4j.sail.lucene.AbstractSearchQueryEvaluator
org.eclipse.rdf4j.sail.lucene.DistanceQuerySpec
- All Implemented Interfaces:
SearchQueryEvaluator
-
Constructor Summary
ConstructorDescriptionDistanceQuerySpec
(Literal from, IRI units, double dist, String distVar, IRI geoProperty, String geoVar, String subjectVar, Var contextVar) DistanceQuerySpec
(FunctionCall distanceFunction, ValueExpr distanceExpr, String distVar, Filter filter) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getFrom()
getUnits()
boolean
Removes the query patterns and returns a placeholder where the query results could be placed.void
setDistance
(double d) void
setDistanceFunctionCall
(FunctionCall distanceFunction) void
setDistanceVar
(String varName) void
void
void
void
Methods inherited from class org.eclipse.rdf4j.sail.lucene.AbstractSearchQueryEvaluator
replaceQueryPatternsWithResults
-
Constructor Details
-
DistanceQuerySpec
public DistanceQuerySpec(FunctionCall distanceFunction, ValueExpr distanceExpr, String distVar, Filter filter) -
DistanceQuerySpec
-
-
Method Details
-
setFrom
-
getFrom
-
setUnits
-
getUnits
-
setDistance
public void setDistance(double d) -
getDistance
public double getDistance() -
setDistanceVar
-
getDistanceVar
-
setGeometryPattern
-
getSubjectVar
-
getContextVar
-
getGeoProperty
-
getGeoVar
-
setDistanceFunctionCall
-
getDistanceFunctionCall
-
getDistanceExpr
-
setFilter
-
getFilter
-
getParentQueryModelNode
-
removeQueryPatterns
Description copied from interface:SearchQueryEvaluator
Removes the query patterns and returns a placeholder where the query results could be placed. -
isEvaluable
public boolean isEvaluable()
-