Class FacetSetMatcher

    • Field Detail

      • label

        public final String label
        The label to associate to this matcher's aggregated value.
      • dims

        public final int dims
        The number of dimensions that are matched by this matcher.
    • Constructor Detail

      • FacetSetMatcher

        protected FacetSetMatcher​(String label,
                                  int dims)
        Constructs a new matcher.
        Parameters:
        label - the label to associate to this matcher's aggregated value
        dims - the number of dimensions that are matched by this matcher
    • Method Detail

      • matches

        public abstract boolean matches​(long[] dimValues)
        Returns true if the facet set encoded in the given long[] is matched by this matcher.
        Parameters:
        dimValues - the encoded dimension values of a single facet set in this field