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()
boolean
equals(Object o)
String
getFieldName()
String
getKey()
List<?>
getParameters()
List of parameters asString
s orSearchQuery
s.Set<String>
getValues()
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
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:
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.
-
builder
public static BiFunction<String,Set<String>,SearchQuery> builder()
-
-