public class

MultiTextFieldQuery

extends Object
implements SearchQuery
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.MultiTextFieldQuery

Class Overview

Represents a query against multiple fields.

Summary

Public Constructors
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 AND.
Public Methods
boolean equals(Object obj)
Set<String> getFields()
String getKey()
BooleanOperator getOperator()
List getParameters()
List of parameters as Strings or SearchQuerys.
String getQuery()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchQuery

Public Constructors

public MultiTextFieldQuery (String query, Set<String> fields, BooleanOperator operator)

Constructs a multi-field query with the specified query, fields and operator.

public MultiTextFieldQuery (String query, String... fields)

Constructs a multi-field query with the operator set to AND.

Parameters
query the query
fields the fields to query against

Public Methods

public boolean equals (Object obj)

public Set<String> getFields ()

public String getKey ()

public BooleanOperator getOperator ()

public List getParameters ()

List of parameters as Strings or SearchQuerys.

Returns

public String getQuery ()

public int hashCode ()