public class MultiTextFieldQuery extends Object implements SearchQuery
Constructor and Description |
---|
MultiTextFieldQuery(String query,
Set<String> fields,
BooleanOperator operator)
Constructs a multi-field query with the specified query, fields and operator.
|
MultiTextFieldQuery(String query,
String... fields)
Constructs a multi-field query with the operator set to
BooleanOperator.AND . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SearchQuery |
expand()
Expands this query into a composite query (that composes other queries).
|
Set<String> |
getFields() |
String |
getKey() |
BooleanOperator |
getOperator() |
List |
getParameters()
List of parameters as
String s or SearchQuery s. |
String |
getQuery() |
String |
getUnescapedQuery() |
int |
hashCode() |
public MultiTextFieldQuery(String query, Set<String> fields, BooleanOperator operator)
query
- fields
- operator
- public MultiTextFieldQuery(String query, String... fields)
BooleanOperator.AND
.query
- the queryfields
- the fields to query againstpublic String getKey()
getKey
in interface SearchQuery
public String getQuery()
public String getUnescapedQuery()
public BooleanOperator getOperator()
public List getParameters()
SearchQuery
String
s or SearchQuery
s.getParameters
in interface SearchQuery
String
s or SearchQuery
s.public SearchQuery expand()
SearchQuery
expand
in interface Expandable<SearchQuery>
expand
in interface SearchQuery
Copyright © 2003–2016 Atlassian. All rights reserved.