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 aCountQueryCriteriarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thebuilderrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.partial()query()Returns the value of thequeryrecord component.root()Returns the value of therootrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
partial
- Returns:
- query criteria builder and root, without the JPA
CriteriaQueryobject
-
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
-