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.QueryHintinstances. 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 booleancanEqual(Object other)booleanequals(Object o)List<ContextInfo.QueryHint>getQueryHints()inthashCode()booleanisForCounting()Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries.voidsetForCounting(boolean forCounting)Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries.StringtoString()
-
-
-
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)
-
-