Class ContextInfo.QueryHints
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.context.ContextInfo.QueryHints
-
- Enclosing class:
- ContextInfo
public static class ContextInfo.QueryHints extends Object
Container object for one or moreContextInfo.QueryHint
instances. Query hints are used to impact queries and results executed from the ORM in different ways.
-
-
Constructor Summary
Constructors Constructor Description QueryHints(List<ContextInfo.QueryHint> queryHints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<ContextInfo.QueryHint>
getQueryHints()
int
hashCode()
boolean
isForCounting()
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.String
toString()
-
-
-
Constructor Detail
-
QueryHints
public QueryHints(List<ContextInfo.QueryHint> queryHints)
-
-
Method Detail
-
getQueryHints
public List<ContextInfo.QueryHint> 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.
-
canEqual
protected boolean canEqual(Object other)
-
-