Class ContextInfo.QueryHints
java.lang.Object
com.broadleafcommerce.data.tracking.core.context.ContextInfo.QueryHints
- Enclosing class:
- ContextInfo
Container object for one or more
ContextInfo.QueryHint
instances. Query hints are used to impact
queries and results executed from the ORM in different ways.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries.void
setForCounting
(boolean forCounting) Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries.toString()
-
Constructor Details
-
QueryHints
-
-
Method Details
-
getQueryHints
-
isForCounting
public boolean isForCounting()Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries. Default is true. -
setForCounting
public void setForCounting(boolean forCounting) Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries. Default is true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-