Class PropertyFilter
java.lang.Object
org.springframework.data.neo4j.core.mapping.PropertyFilter
Something that makes sense of propertyPaths by having an understanding of projection
classes.
- Author:
- Michael J. Simons, Gerrit Meier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper class for property paths and information if they point to an entity.static final classA very loose coupling between a dot path and its (possible) owning type. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Predicate<PropertyFilter.RelaxedPropertyPath> A default predicate that does not filter anything. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyFilterabstract booleanabstract booleancontains(PropertyFilter.RelaxedPropertyPath propertyPath) static PropertyFilterfrom(Collection<PropertyFilter.ProjectedPath> projectedPaths, NodeDescription<?> nodeDescription) abstract boolean
-
Field Details
-
NO_FILTER
A default predicate that does not filter anything.
-
-
Constructor Details
-
PropertyFilter
public PropertyFilter()
-
-
Method Details
-
from
public static PropertyFilter from(Collection<PropertyFilter.ProjectedPath> projectedPaths, NodeDescription<?> nodeDescription) -
acceptAll
-
contains
-
contains
-
isNotFiltering
public abstract boolean isNotFiltering()
-