Class BooleanVectorValueMatcher

    • Method Detail

      • match

        public ReadableVectorMatch match​(ReadableVectorMatch mask,
                                         boolean includeUnknown)
        Description copied from interface: VectorValueMatcher
        Examine the current vector and return a match indicating what is accepted.

        Does not modify "mask".

        Parameters:
        mask - must not be null; use VectorMatch.allTrue(int) if you don't need a mask.
        includeUnknown - mapping for Druid native two state logic system into SQL three-state logic system. If set to true, match vectors returned by this method should include true values wherever the matching result is 'unknown', such as from the input being null valued. See NullHandling.useThreeValueLogic().
        Returns:
        the subset of "mask" that this value matcher accepts. May be the same instance as {@param mask} if every row in the mask matches the filter.