Class TermRangeQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.TermRangeQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
@SearchPrimitive public class TermRangeQuery extends Object implements SearchQuery
v2 primitive query- Since:
- 5.9
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY
-
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
-
Constructor Summary
Constructors Constructor Description TermRangeQuery(String fieldName, Range<String> range)
TermRangeQuery(String fieldName, String lowerTerm, String upperTerm, boolean includeLower, boolean includeUpper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getFieldName()
String
getKey()
String
getLowerTerm()
List
getParameters()
List of parameters asString
s orSearchQuery
s.String
getUpperTerm()
int
hashCode()
boolean
isIncludeLower()
boolean
isIncludeUpper()
-
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
-
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()
-
getLowerTerm
public String getLowerTerm()
-
getUpperTerm
public String getUpperTerm()
-
isIncludeUpper
public boolean isIncludeUpper()
-
isIncludeLower
public boolean isIncludeLower()
-
-