public class QuerySpecBuilder extends Object implements SearchQueryInterpreter
QuerySpecs will only be created when the set of StatementPatterns is complete (i.e. contains at least a matches and a query statement connected properly) and correct (query pattern has a literal object, matches a resource subject, etc.).
| Constructor and Description | 
|---|
| QuerySpecBuilder(boolean incompleteQueryFails)Initialize a new QuerySpecBuilder | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<QuerySpec> | process(TupleExpr tupleExpr,
       BindingSet bindings)Deprecated.  | 
| void | process(TupleExpr tupleExpr,
       BindingSet bindings,
       Collection<SearchQueryEvaluator> result)Appends a set of QuerySpecs embodying all necessary information to perform the Lucene query embedded in a
 TupleExpr. | 
public QuerySpecBuilder(boolean incompleteQueryFails)
incompleteQueryFails - see LuceneSail.isIncompleteQueryFails()@Deprecated public Set<QuerySpec> process(TupleExpr tupleExpr, BindingSet bindings) throws SailException
#process(TupleExpr, BindingSet, Collection) .SailExceptionpublic void process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> result) throws SailException
process in interface SearchQueryInterpretertupleExpr - the TupleExpr to process.bindings - any bindings.result - the Collection to add any SearchQueryEvaluators to.SailExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.