Class VaultQueryCreator
java.lang.Object
org.springframework.data.repository.query.parser.AbstractQueryCreator<KeyValueQuery<VaultQuery>,VaultQuery>
org.springframework.vault.repository.query.VaultQueryCreator
Query creator for Vault queries. Vault queries are limited to criterias constraining
the
Id
property. A query consists of
chained Predicate
s that are evaluated for each Id value.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorDescriptionVaultQueryCreator
(PartTree tree, ParameterAccessor parameters, MappingContext<VaultPersistentEntity<?>, VaultPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected VaultQuery
and
(Part part, VaultQuery base, Iterator<Object> parameters) protected KeyValueQuery<VaultQuery>
complete
(VaultQuery vaultQuery, Sort sort) protected VaultQuery
protected VaultQuery
or
(VaultQuery vaultQuery, VaultQuery other) Methods inherited from class org.springframework.data.repository.query.parser.AbstractQueryCreator
createQuery, createQuery
-
Constructor Details
-
VaultQueryCreator
public VaultQueryCreator(PartTree tree, ParameterAccessor parameters, MappingContext<VaultPersistentEntity<?>, VaultPersistentProperty> mappingContext) - Parameters:
tree
- must not be null.parameters
- must not be null.mappingContext
- must not be null.
-
-
Method Details
-
create
- Specified by:
create
in classAbstractQueryCreator<KeyValueQuery<VaultQuery>,
VaultQuery>
-
and
- Specified by:
and
in classAbstractQueryCreator<KeyValueQuery<VaultQuery>,
VaultQuery>
-
or
- Specified by:
or
in classAbstractQueryCreator<KeyValueQuery<VaultQuery>,
VaultQuery>
-
complete
- Specified by:
complete
in classAbstractQueryCreator<KeyValueQuery<VaultQuery>,
VaultQuery>
-