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 more ContextInfo.QueryHint instances. Query hints are used to impact queries and results executed from the ORM in different ways.
  • Constructor Details

  • Method Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object