Class Search
java.lang.Object
org.infinispan.query.Search
Deprecated, for removal: This API element is subject to removal in a future version.
Entry point for performing Infinispan queries.
Provides the
QueryFactory that you use to build Ickle queries, continuous queries, and event filters for indexed and non-indexed caches.- Author:
- Sanne Grinovero <sanne@hibernate.org> (C) 2011 Red Hat Inc., anistor@redhat.com
-
Method Summary
Modifier and TypeMethodDescriptiongetClusteredSearchStatistics(org.infinispan.Cache<?, ?> cache) Deprecated, for removal: This API element is subject to removal in a future version.Returns aggregated search statistics for all nodes in the cluster.static <K,V> org.infinispan.commons.api.query.ContinuousQuery <K, V> getContinuousQuery(org.infinispan.Cache<K, V> cache) Deprecated, for removal: This API element is subject to removal in a future version.static <K,V> Indexer getIndexer(org.infinispan.Cache<K, V> cache) Deprecated.UseIndexer.of(Cache)instead.static org.infinispan.query.dsl.QueryFactorygetQueryFactory(org.infinispan.Cache<?, ?> cache) Deprecated, for removal: This API element is subject to removal in a future version.static <K,V> SearchStatistics getSearchStatistics(org.infinispan.Cache<K, V> cache) Deprecated, for removal: This API element is subject to removal in a future version.Returns search statistics for the local node.static <K,V> org.infinispan.notifications.cachelistener.filter.CacheEventFilterConverter <K, V, ObjectFilter.FilterResult> makeFilter(String queryString) Deprecated, for removal: This API element is subject to removal in a future version.Creates an event filter from an Ickle query string.static <K,V> org.infinispan.notifications.cachelistener.filter.CacheEventFilterConverter <K, V, ObjectFilter.FilterResult> makeFilter(String queryString, Map<String, Object> namedParameters) Deprecated, for removal: This API element is subject to removal in a future version.Creates event filters from Ickle query strings.static <K,V> org.infinispan.notifications.cachelistener.filter.CacheEventFilterConverter <K, V, ObjectFilter.FilterResult> makeFilter(org.infinispan.query.dsl.Query<?> query) Deprecated, for removal: This API element is subject to removal in a future version.Creates event filters from Ickle query strings.
-
Method Details
-
makeFilter
public static <K,V> org.infinispan.notifications.cachelistener.filter.CacheEventFilterConverter<K, V, ObjectFilter.FilterResult> makeFilter(String queryString) Deprecated, for removal: This API element is subject to removal in a future version.Creates an event filter from an Ickle query string. -
makeFilter
public static <K,V> org.infinispan.notifications.cachelistener.filter.CacheEventFilterConverter<K, V, ObjectFilter.FilterResult> makeFilter(String queryString, Map<String, Object> namedParameters) Deprecated, for removal: This API element is subject to removal in a future version.Creates event filters from Ickle query strings. -
makeFilter
public static <K,V> org.infinispan.notifications.cachelistener.filter.CacheEventFilterConverter<K, V, ObjectFilter.FilterResult> makeFilter(org.infinispan.query.dsl.Query<?> query) Deprecated, for removal: This API element is subject to removal in a future version.Creates event filters from Ickle query strings. -
getQueryFactory
@Deprecated(forRemoval=true) public static org.infinispan.query.dsl.QueryFactory getQueryFactory(org.infinispan.Cache<?, ?> cache) Deprecated, for removal: This API element is subject to removal in a future version.Obtains a query factory to build DSL-based Ickle queries. -
getContinuousQuery
@Deprecated(since="14.0", forRemoval=true) public static <K,V> org.infinispan.commons.api.query.ContinuousQuery<K,V> getContinuousQuery(org.infinispan.Cache<K, V> cache) Deprecated, for removal: This API element is subject to removal in a future version.useBasicCache.continuousQuery()instead.Obtains theContinuousQueryobject for the cache. -
getIndexer
Deprecated.UseIndexer.of(Cache)instead.- Returns:
- Obtains the
Indexerinstance for the cache. - Since:
- 11.0
-
getSearchStatistics
Deprecated, for removal: This API element is subject to removal in a future version.Returns search statistics for the local node. -
getClusteredSearchStatistics
public static CompletionStage<SearchStatisticsSnapshot> getClusteredSearchStatistics(org.infinispan.Cache<?, ?> cache) Deprecated, for removal: This API element is subject to removal in a future version.Returns aggregated search statistics for all nodes in the cluster.
-
BasicCache.continuousQuery()instead.