Class RelationalPredicates

java.lang.Object
org.springframework.data.relational.core.mapping.RelationalPredicates

public class RelationalPredicates extends Object
Collection of relational predicates.
Since:
4.0
Author:
Mark Paluch
  • Constructor Details

    • RelationalPredicates

      public RelationalPredicates()
  • Method Details

    • isRelation

      public static Predicate<? super RelationalPersistentProperty> isRelation()
      Predicate to determine whether a property is a relation (i.e. it is an entity, not an identifier property, and not an embedded property).
      Returns:
      a predicate that tests if the given property is a relation.
    • isRelation

      public static boolean isRelation(RelationalPersistentProperty property)
      Determine whether a property is a relation (i.e. it is an entity, not an identifier property, and not an embedded property).
      Returns:
      true if the property is a relation; false otherwise.