Package org.eclipse.rdf4j.sail.lucene
Class GeoRelationQuerySpecBuilder
- java.lang.Object
-
- org.eclipse.rdf4j.sail.lucene.GeoRelationQuerySpecBuilder
-
- All Implemented Interfaces:
SearchQueryInterpreter
public class GeoRelationQuerySpecBuilder extends java.lang.Object implements SearchQueryInterpreter
-
-
Field Summary
Fields Modifier and Type Field Description private SearchIndex
index
-
Constructor Summary
Constructors Constructor Description GeoRelationQuerySpecBuilder(SearchIndex index)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static Filter
getFilter(QueryModelNode node, java.lang.String varName)
private static Literal
getLiteral(ValueExpr v)
private static Value
getValue(ValueExpr v)
private static java.lang.String
getVarName(ValueExpr v)
private static boolean
isChildOf(QueryModelNode child, QueryModelNode parent)
void
process(TupleExpr tupleExpr, BindingSet bindings, java.util.Collection<SearchQueryEvaluator> results)
Processes a TupleExpr into a set of SearchQueryEvaluators.
-
-
-
Field Detail
-
index
private final SearchIndex index
-
-
Constructor Detail
-
GeoRelationQuerySpecBuilder
public GeoRelationQuerySpecBuilder(SearchIndex index)
-
-
Method Detail
-
process
public void process(TupleExpr tupleExpr, BindingSet bindings, java.util.Collection<SearchQueryEvaluator> results) throws SailException
Description copied from interface:SearchQueryInterpreter
Processes a TupleExpr into a set of SearchQueryEvaluators.- Specified by:
process
in interfaceSearchQueryInterpreter
- Parameters:
tupleExpr
- the TupleExpr to process.bindings
- any bindings.results
- the Collection to add any SearchQueryEvaluators to.- Throws:
SailException
-
isChildOf
private static boolean isChildOf(QueryModelNode child, QueryModelNode parent)
-
getFilter
private static Filter getFilter(QueryModelNode node, java.lang.String varName)
-
getVarName
private static java.lang.String getVarName(ValueExpr v)
-
-