public interface ReadableVectorMatch
VectorValueMatcher.match(org.apache.druid.query.filter.vector.ReadableVectorMatch).VectorMatch, the implementation, which also adds some extra mutation methods.| Modifier and Type | Method and Description |
|---|---|
int[] |
getSelection()
Returns an array of indexes into the current batch.
|
int |
getSelectionSize()
Returns the number of valid values in the array from "getSelection".
|
boolean |
isAllFalse()
Checks if this match has accepted *nothing*.
|
boolean |
isAllTrue(int vectorSize)
Checks if this match has accepted every row in the vector.
|
boolean |
isValid(ReadableVectorMatch mask)
Checks if this match is valid (increasing row numbers, no out-of-range row numbers).
|
int[] getSelection()
int getSelectionSize()
boolean isAllTrue(int vectorSize)
vectorSize - the current vector size; must be passed in since VectorMatch objects do not "know" the size
of the vector they came from.boolean isAllFalse()
boolean isValid(@Nullable ReadableVectorMatch mask)
mask - if provided, checks if this match is a subset of the mask.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.