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) |
Set<String> |
getFields() |
String |
getKey() |
BooleanOperator |
getOperator() |
List |
getParameters()
List of parameters as
String s or SearchQuery s. |
String |
getQuery() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
expand
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 BooleanOperator getOperator()
public List getParameters()
SearchQuery
String
s or SearchQuery
s.getParameters
in interface SearchQuery
String
s or SearchQuery
s.Copyright © 2003–2016 Atlassian. All rights reserved.