Module spring.data.neo4j
Class Neo4jPropertyValueTransformers
java.lang.Object
org.springframework.data.neo4j.core.Neo4jPropertyValueTransformers
Contains some useful transformers for adding additional, supported transformations to
example matchers via
ExampleMatcher.withTransformer(String, ExampleMatcher.PropertyValueTransformer).- Since:
- 6.3.11
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA wrapper indicating a negated value (will be used asn.property != $parameter(in case of string properties all operators and not only the equality operator are supported, such asnot (n.property contains 'x'). -
Method Summary
Modifier and TypeMethodDescriptionA transformer that will indicate that the generated condition for the specific property shall be negated, creating an.property != $propertyfor the equality operator for example.
-
Method Details
-
notMatching
A transformer that will indicate that the generated condition for the specific property shall be negated, creating an.property != $propertyfor the equality operator for example.- Returns:
- A value transformer negating values.
-