Record Class JPAFinder.CountQueryCriteria<TT>
java.lang.Object
java.lang.Record
com.flowlogix.api.dao.JPAFinder.CountQueryCriteria<TT>
- Type Parameters:
TT
- Entity Type of Criteria- Record Components:
builder
-root
-query
-
public static record JPAFinder.CountQueryCriteria<TT>(CriteriaBuilder builder, Root<TT> root, CriteriaQuery<Long> query)
extends Record
- Author:
- lprimak
-
Constructor Summary
ConstructorsConstructorDescriptionCountQueryCriteria
(CriteriaBuilder builder, Root<TT> root, CriteriaQuery<Long> query) Creates an instance of aCountQueryCriteria
record class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Returns the value of thebuilder
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.partial()
query()
Returns the value of thequery
record component.root()
Returns the value of theroot
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
partial
- Returns:
- query criteria builder and root, without the JPA
CriteriaQuery
object
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
builder
-
root
-
query
-