Uses of Class
org.springframework.data.keyvalue.core.query.KeyValueQuery
Packages that use KeyValueQuery
Package
Description
Core key/value implementation.
Key/value specific query and abstractions.
Query derivation mechanism for key/value specific repositories providing a generic SpEL based implementation.
-
Uses of KeyValueQuery in org.springframework.data.keyvalue.core
Methods in org.springframework.data.keyvalue.core with parameters of type KeyValueQueryModifier and TypeMethodDescriptionlong
AbstractKeyValueAdapter.count
(KeyValueQuery<?> query, String keyspace) long
KeyValueAdapter.count
(KeyValueQuery<?> query, String keyspace) Count all matching objects within keyspace.long
KeyValueOperations.count
(KeyValueQuery<?> query, Class<?> type) Total number of elements matching given query.long
KeyValueTemplate.count
(KeyValueQuery<?> query, Class<?> type) long
QueryEngine.count
(KeyValueQuery<?> query, String keyspace) Extract query attributes and delegate to concrete execution.Collection<?>
QueryEngine.execute
(KeyValueQuery<?> query, String keyspace) Extract query attributes and delegate to concrete execution.<T> Collection<T>
QueryEngine.execute
(KeyValueQuery<?> query, String keyspace, Class<T> type) Extract query attributes and delegate to concrete execution.default boolean
KeyValueAdapter.exists
(KeyValueQuery<?> query, String keyspace) Determine whether result of givenKeyValueQuery
within keyspace contains at least one element.boolean
KeyValueOperations.exists
(KeyValueQuery<?> query, Class<?> type) Determine whether result of givenKeyValueQuery
contains at least one element.boolean
KeyValueTemplate.exists
(KeyValueQuery<?> query, Class<?> type) Collection<?>
AbstractKeyValueAdapter.find
(KeyValueQuery<?> query, String keyspace) <T> Iterable<T>
AbstractKeyValueAdapter.find
(KeyValueQuery<?> query, String keyspace, Class<T> type) default Iterable<?>
KeyValueAdapter.find
(KeyValueQuery<?> query, String keyspace) Find all matching objects within keyspace.<T> Iterable<T>
KeyValueAdapter.find
(KeyValueQuery<?> query, String keyspace, Class<T> type) <T> Iterable<T>
KeyValueOperations.find
(KeyValueQuery<?> query, Class<T> type) Get all elements matching the given query.<T> Iterable<T>
KeyValueTemplate.find
(KeyValueQuery<?> query, Class<T> type) CriteriaAccessor.resolve
(KeyValueQuery<?> query) Checks and readsgetCriteria()
of givenKeyValueQuery
.SortAccessor.resolve
(KeyValueQuery<?> query) ReadsgetSort()
of givenKeyValueQuery
and applies required transformation to match the desired type.Comparator<?>
SpelSortAccessor.resolve
(KeyValueQuery<?> query) -
Uses of KeyValueQuery in org.springframework.data.keyvalue.core.query
Methods in org.springframework.data.keyvalue.core.query that return KeyValueQuery -
Uses of KeyValueQuery in org.springframework.data.keyvalue.repository.query
Methods in org.springframework.data.keyvalue.repository.query that return KeyValueQueryModifier and TypeMethodDescriptionprotected KeyValueQuery<SpelExpression>
KeyValuePartTreeQuery.createQuery
(ParameterAccessor accessor) Create aKeyValueQuery
givenParameterAccessor
.protected KeyValueQuery<?>
CachingKeyValuePartTreeQuery.prepareQuery
(Object[] parameters) protected KeyValueQuery<?>
KeyValuePartTreeQuery.prepareQuery
(Object[] parameters) protected KeyValueQuery<?>
KeyValuePartTreeQuery.prepareQuery
(KeyValueQuery<?> instance, Object[] parameters) Methods in org.springframework.data.keyvalue.repository.query with parameters of type KeyValueQueryModifier and TypeMethodDescriptionprotected Object
KeyValuePartTreeQuery.doExecute
(Object[] parameters, KeyValueQuery<?> query) protected KeyValueQuery<?>
KeyValuePartTreeQuery.prepareQuery
(KeyValueQuery<?> instance, Object[] parameters) Constructor parameters in org.springframework.data.keyvalue.repository.query with type arguments of type KeyValueQueryModifierConstructorDescriptionKeyValuePartTreeQuery
(QueryMethod queryMethod, QueryMethodEvaluationContextProvider evaluationContextProvider, KeyValueOperations keyValueOperations, KeyValuePartTreeQuery.QueryCreatorFactory<AbstractQueryCreator<KeyValueQuery<?>, ?>> queryCreatorFactory) Creates a newKeyValuePartTreeQuery
for the givenQueryMethod
,EvaluationContextProvider
,KeyValueOperations
using the givenKeyValuePartTreeQuery.QueryCreatorFactory
producing theAbstractQueryCreator
in charge of altering the query.