Class QueryStringQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.QueryStringQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
@SearchPrimitive public class QueryStringQuery extends Object implements SearchQuery
v2 primitive query- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description QueryStringQuery(Collection<String> fieldNames, String query, BooleanOperator operator)
QueryStringQuery(Collection<String> fieldNames, Map<String,? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query)
Construct a query with a custom analyzer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,? extends AnalyzerDescriptorProvider>
getAnalyzerProviders()
Returns information required to construct analyzer for a field if it is available.Set<String>
getFieldNames()
String
getKey()
BooleanOperator
getOperator()
List<?>
getParameters()
List of parameters asString
s orSearchQuery
s.String
getQuery()
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
-
-
Constructor Detail
-
QueryStringQuery
public QueryStringQuery(Collection<String> fieldNames, String query, BooleanOperator operator)
-
QueryStringQuery
public QueryStringQuery(Collection<String> fieldNames, Map<String,? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query)
Construct a query with a custom analyzer.- Since:
- 7.0
-
-
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.
-
getAnalyzerProviders
public Map<String,? extends AnalyzerDescriptorProvider> getAnalyzerProviders()
Returns information required to construct analyzer for a field if it is available.- Since:
- 7.0
-
getQuery
public String getQuery()
-
getOperator
public BooleanOperator getOperator()
-
-