Class QuerySpecBuilder

  • All Implemented Interfaces:
    SearchQueryInterpreter

    public class QuerySpecBuilder
    extends Object
    implements SearchQueryInterpreter
    A QueryInterpreter creates a set of QuerySpecs based on Lucene-related StatementPatterns that it finds in a TupleExpr.

    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.).