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 SearchIndexindex
-
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 FiltergetFilter(QueryModelNode node, java.lang.String varName)private static LiteralgetLiteral(ValueExpr v)private static ValuegetValue(ValueExpr v)private static java.lang.StringgetVarName(ValueExpr v)private static booleanisChildOf(QueryModelNode child, QueryModelNode parent)voidprocess(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:SearchQueryInterpreterProcesses a TupleExpr into a set of SearchQueryEvaluators.- Specified by:
processin 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)
-
-