public class DistanceQuerySpec extends AbstractSearchQueryEvaluator
Constructor and Description |
---|
DistanceQuerySpec(FunctionCall distanceFunction,
ValueExpr distanceExpr,
String distVar,
Filter filter) |
DistanceQuerySpec(Literal from,
IRI units,
double dist,
String distVar,
IRI geoProperty,
String geoVar,
String subjectVar,
Var contextVar) |
Modifier and Type | Method and Description |
---|---|
Var |
getContextVar() |
double |
getDistance() |
ValueExpr |
getDistanceExpr() |
FunctionCall |
getDistanceFunctionCall() |
String |
getDistanceVar() |
Filter |
getFilter() |
Literal |
getFrom() |
IRI |
getGeoProperty() |
String |
getGeoVar() |
QueryModelNode |
getParentQueryModelNode() |
String |
getSubjectVar() |
IRI |
getUnits() |
boolean |
isEvaluable() |
QueryModelNode |
removeQueryPatterns()
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 |
setFilter(Filter f) |
void |
setFrom(Literal from) |
void |
setGeometryPattern(StatementPattern sp) |
void |
setUnits(IRI units) |
replaceQueryPatternsWithResults
public DistanceQuerySpec(FunctionCall distanceFunction, ValueExpr distanceExpr, String distVar, Filter filter)
public void setFrom(Literal from)
public Literal getFrom()
public void setUnits(IRI units)
public IRI getUnits()
public void setDistance(double d)
public double getDistance()
public void setDistanceVar(String varName)
public String getDistanceVar()
public void setGeometryPattern(StatementPattern sp)
public String getSubjectVar()
public Var getContextVar()
public IRI getGeoProperty()
public String getGeoVar()
public void setDistanceFunctionCall(FunctionCall distanceFunction)
public FunctionCall getDistanceFunctionCall()
public ValueExpr getDistanceExpr()
public void setFilter(Filter f)
public Filter getFilter()
public QueryModelNode getParentQueryModelNode()
public QueryModelNode removeQueryPatterns()
SearchQueryEvaluator
public boolean isEvaluable()
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.