Class WildcardTextFieldQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.WildcardTextFieldQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
@SearchPrimitive public class WildcardTextFieldQuery extends Object implements SearchQuery
-
-
Constructor Summary
Constructors Constructor Description WildcardTextFieldQuery(String fieldName, String rawQuery, BooleanOperator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
SearchQuery
expand()
Expands this query into a composite query (that composes other queries).String
getFieldName()
String
getKey()
BooleanOperator
getOperator()
List
getParameters()
List of parameters asString
s orSearchQuery
s.String
getRawQuery()
int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
getBoost, getSubClauses
-
-
-
-
Constructor Detail
-
WildcardTextFieldQuery
public WildcardTextFieldQuery(String fieldName, String rawQuery, BooleanOperator operator)
- Parameters:
fieldName
- the field name in the indexrawQuery
- the raw query string for the fieldoperator
- the operator applied to raw query string. For example, with a rawQuery of "foo bar", specifyingBooleanOperator.AND
means "foo AND bar"
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceSearchQuery
- Returns:
- the plugin key
-
getParameters
public List getParameters()
Description copied from interface:SearchQuery
List of parameters asString
s orSearchQuery
s.- Specified by:
getParameters
in interfaceSearchQuery
- Returns:
String
s orSearchQuery
s.
-
getFieldName
public String getFieldName()
-
getRawQuery
public String getRawQuery()
-
getOperator
public BooleanOperator getOperator()
-
expand
public SearchQuery expand()
Description copied from interface:SearchQuery
Expands this query into a composite query (that composes other queries). By overriding this method, one can specify a new query that is composition of the behaviour of the composed queries.- Specified by:
expand
in interfaceExpandable<SearchQuery>
- Specified by:
expand
in interfaceSearchQuery
- Returns:
- a query
-
-