Class IndexRestrictions


  • public class IndexRestrictions
    extends java.lang.Object
    • Field Detail

      • CUSTOM_EXPRESSION_NOT_SUPPORTED

        public static final java.lang.String CUSTOM_EXPRESSION_NOT_SUPPORTED
        See Also:
        Constant Field Values
      • NON_CUSTOM_INDEX_IN_EXPRESSION

        public static final java.lang.String NON_CUSTOM_INDEX_IN_EXPRESSION
        See Also:
        Constant Field Values
      • MULTIPLE_EXPRESSIONS

        public static final java.lang.String MULTIPLE_EXPRESSIONS
        See Also:
        Constant Field Values
    • Constructor Detail

      • IndexRestrictions

        public IndexRestrictions()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • getRestrictions

        public java.util.List<Restrictions> getRestrictions()
      • needsFiltering

        public boolean needsFiltering​(IndexRegistry indexRegistry)
        Returns whether these restrictions would need filtering if the specified index registry were used.
        Parameters:
        indexRegistry - an index registry
        Returns:
        true if this would need filtering if indexRegistry were used, false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object