Class OpenSearchRangeQueryMapper<Q extends SearchQuery>
- java.lang.Object
-
- com.atlassian.confluence.plugins.opensearch.mappers.query.OpenSearchRangeQueryMapper<Q>
-
- Type Parameters:
Q
- V2 range query type
- All Implemented Interfaces:
OpenSearchQueryMapper<Q>
- Direct Known Subclasses:
OpenSearchDoubleRangeQueryMapper
,OpenSearchIntegerRangeQueryMapper
,OpenSearchLongRangeQueryMapper
,OpenSearchTermRangeQueryMapper
public abstract class OpenSearchRangeQueryMapper<Q extends SearchQuery> extends Object implements OpenSearchQueryMapper<Q>
Maps v2 range queries to OpenSearch RangeQuery.- Since:
- 8.7
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OpenSearchRangeQueryMapper.RangeQueryFacade<T>
Provides uniform facade for v2 range queries.
-
Constructor Summary
Constructors Constructor Description OpenSearchRangeQueryMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.opensearch.client.opensearch._types.query_dsl.Query
mapQueryToOpenSearch(Q v2query)
abstract <T> @NonNull OpenSearchRangeQueryMapper.RangeQueryFacade<T>
queryFacade(Q query)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.plugins.opensearch.mappers.query.OpenSearchQueryMapper
getKey
-
-
-
-
Method Detail
-
mapQueryToOpenSearch
public org.opensearch.client.opensearch._types.query_dsl.Query mapQueryToOpenSearch(Q v2query)
- Specified by:
mapQueryToOpenSearch
in interfaceOpenSearchQueryMapper<Q extends SearchQuery>
-
queryFacade
public abstract <T> @NonNull OpenSearchRangeQueryMapper.RangeQueryFacade<T> queryFacade(Q query)
-
-