com.atlassian.jira.jql.query
Class AbstractOperatorQueryFactory<T>

java.lang.Object
  extended by com.atlassian.jira.jql.query.AbstractOperatorQueryFactory<T>
Direct Known Subclasses:
AbstractEqualityQueryFactory, RelationalOperatorIdIndexValueQueryFactory

public abstract class AbstractOperatorQueryFactory<T>
extends java.lang.Object

Base class for operator query factories that can generate a query for a fieldName and a predicate.

Since:
v4.0

Constructor Summary
protected AbstractOperatorQueryFactory(IndexInfoResolver indexInfoResolver)
           
 
Method Summary
protected  QueryFactoryResult checkQueryForEmpty(org.apache.lucene.search.BooleanQuery query)
           
protected  org.apache.lucene.search.TermQuery getTermQuery(java.lang.String fieldName, java.lang.String indexValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOperatorQueryFactory

protected AbstractOperatorQueryFactory(IndexInfoResolver indexInfoResolver)
Method Detail

getTermQuery

protected org.apache.lucene.search.TermQuery getTermQuery(java.lang.String fieldName,
                                                          java.lang.String indexValue)

checkQueryForEmpty

protected QueryFactoryResult checkQueryForEmpty(org.apache.lucene.search.BooleanQuery query)


Copyright © 2002-2010 Atlassian. All Rights Reserved.