Class PathSpecification<T>

java.lang.Object
net.kaczmarzyk.spring.data.jpa.domain.PathSpecification<T>
All Implemented Interfaces:
Serializable, org.springframework.data.jpa.domain.Specification<T>
Direct Known Subclasses:
Between, ComparableSpecification, Empty, Equal, EqualDay, EqualIgnoreCase, False, In, InTheFuture, InThePast, IsEmpty, IsFalse, IsMember, IsNotEmpty, IsNotMember, IsNotNull, IsNull, IsTrue, Like, NotEmpty, NotEqual, NotEqualIgnoreCase, NotIn, NotLike, NotNull, Null, True

public abstract class PathSpecification<T> extends Object implements org.springframework.data.jpa.domain.Specification<T>
Base class for Specification types supported by this library out of the box.
Author:
Tomasz Kaczmarzyk
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PathSpecification(QueryContext queryContext, String path)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    protected <F> jakarta.persistence.criteria.Path<F>
    path(jakarta.persistence.criteria.Root<T> root)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.jpa.domain.Specification

    and, or, toPredicate
  • Field Details

    • path

      protected String path
  • Constructor Details

  • Method Details

    • path

      protected <F> jakarta.persistence.criteria.Path<F> path(jakarta.persistence.criteria.Root<T> root)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object