Class TermSetQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.TermSetQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>,SearchQuery
@SearchPrimitive public class TermSetQuery extends Object implements SearchQuery
This query represents the underlying TermsQuery (built into Confluence at the moment), which doesn't calculate score and acts merely as a filter.- Since:
- 7.17
-
-
Constructor Summary
Constructors Constructor Description TermSetQuery(String fieldName, Set<String> values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BiFunction<String,Set<String>,SearchQuery>builder()booleanequals(Object o)StringgetFieldName()StringgetKey()List<?>getParameters()List of parameters asStrings orSearchQuerys.Set<String>getValues()inthashCode()-
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
expand, getBoost, getSubClauses
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFieldName
public String getFieldName()
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceSearchQuery- Returns:
- the plugin key
-
getParameters
public List<?> getParameters()
Description copied from interface:SearchQueryList of parameters asStrings orSearchQuerys.- Specified by:
getParametersin interfaceSearchQuery- Returns:
Strings orSearchQuerys.
-
builder
public static BiFunction<String,Set<String>,SearchQuery> builder()
-
-