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 Predicates that are evaluated for each Id value.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionVaultQueryCreator(PartTree tree, ParameterAccessor parameters, MappingContext<VaultPersistentEntity<?>, VaultPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected VaultQueryand(Part part, VaultQuery base, Iterator<Object> parameters) protected KeyValueQuery<VaultQuery>complete(VaultQuery vaultQuery, Sort sort) protected VaultQueryprotected VaultQueryor(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:
createin classAbstractQueryCreator<KeyValueQuery<VaultQuery>,VaultQuery>
-
and
- Specified by:
andin classAbstractQueryCreator<KeyValueQuery<VaultQuery>,VaultQuery>
-
or
- Specified by:
orin classAbstractQueryCreator<KeyValueQuery<VaultQuery>,VaultQuery>
-
complete
- Specified by:
completein classAbstractQueryCreator<KeyValueQuery<VaultQuery>,VaultQuery>
-