Package com.atlassian.jira.search.query
Class DefaultQueryStringQuery
java.lang.Object
com.atlassian.jira.search.query.DefaultQueryStringQuery
- All Implemented Interfaces:
Query,QueryStringQuery
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultQueryStringQuery(String field, String text) Creates a new query with the given field and text.DefaultQueryStringQuery(String field, String text, Operator defaultOperator) Creates a new query with the given field, text and default operator. -
Method Summary
-
Constructor Details
-
DefaultQueryStringQuery
Creates a new query with the given field and text. This will default to using theORoperator.- Parameters:
field- the field to search intext- the text to search for
-
DefaultQueryStringQuery
Creates a new query with the given field, text and default operator.- Parameters:
field- the field to search intext- the text to search fordefaultOperator- the default operator to use
-
-
Method Details
-
field
- Specified by:
fieldin interfaceQueryStringQuery
-
text
- Specified by:
textin interfaceQueryStringQuery
-
defaultOperator
- Specified by:
defaultOperatorin interfaceQueryStringQuery
-
equals
-
hashCode
public int hashCode() -
toString
-