Class SpanQueryBuilderFactory
- java.lang.Object
-
- org.apache.lucene.queryparser.xml.builders.SpanQueryBuilderFactory
-
- All Implemented Interfaces:
SpanQueryBuilder
,QueryBuilder
public class SpanQueryBuilderFactory extends Object implements SpanQueryBuilder
Factory forSpanQueryBuilder
s
-
-
Constructor Summary
Constructors Constructor Description SpanQueryBuilderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBuilder(String nodeName, SpanQueryBuilder builder)
Query
getQuery(Element e)
SpanQuery
getSpanQuery(Element e)
-
-
-
Method Detail
-
getQuery
public Query getQuery(Element e) throws ParserException
- Specified by:
getQuery
in interfaceQueryBuilder
- Throws:
ParserException
-
addBuilder
public void addBuilder(String nodeName, SpanQueryBuilder builder)
-
getSpanQuery
public SpanQuery getSpanQuery(Element e) throws ParserException
- Specified by:
getSpanQuery
in interfaceSpanQueryBuilder
- Throws:
ParserException
-
-