Record Class CriteriaExpansionContext
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.actions.tables.query.CriteriaExpansionContext
public record CriteriaExpansionContext(QInstance instance, QSession session, QBackendTransaction transaction)
extends Record
Execution context for virtual criteria and search expansion. A transaction
belongs to its backend; cross-backend queries cannot share that transaction.
-
Constructor Summary
ConstructorsConstructorDescriptionCriteriaExpansionContext(QInstance instance, QSession session, QBackendTransaction transaction) Creates an instance of aCriteriaExpansionContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.instance()Returns the value of theinstancerecord component.session()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionrecord component.
-
Constructor Details
-
CriteriaExpansionContext
public CriteriaExpansionContext(QInstance instance, QSession session, QBackendTransaction transaction) Creates an instance of aCriteriaExpansionContextrecord class.- Parameters:
instance- the value for theinstancerecord componentsession- the value for thesessionrecord componenttransaction- the value for thetransactionrecord component
-
-
Method Details
-
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). -
instance
Returns the value of theinstancerecord component.- Returns:
- the value of the
instancerecord component
-
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
transaction
Returns the value of thetransactionrecord component.- Returns:
- the value of the
transactionrecord component
-