Class BaseVectorValueMatcher
- java.lang.Object
-
- org.apache.druid.query.filter.vector.BaseVectorValueMatcher
-
- All Implemented Interfaces:
VectorValueMatcher
,VectorSizeInspector
- Direct Known Subclasses:
BooleanVectorValueMatcher
public abstract class BaseVectorValueMatcher extends Object implements VectorValueMatcher
-
-
Constructor Summary
Constructors Constructor Description BaseVectorValueMatcher(VectorSizeInspector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentVectorSize()
Returns the current vector size for this cursor.int
getMaxVectorSize()
Returns the maximum vector size for this cursor.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.query.filter.vector.VectorValueMatcher
match
-
-
-
-
Constructor Detail
-
BaseVectorValueMatcher
public BaseVectorValueMatcher(VectorSizeInspector selector)
-
-
Method Detail
-
getCurrentVectorSize
public int getCurrentVectorSize()
Description copied from interface:VectorSizeInspector
Returns the current vector size for this cursor. Will never be larger than the max size returned byVectorSizeInspector.getMaxVectorSize()
.- Specified by:
getCurrentVectorSize
in interfaceVectorSizeInspector
-
getMaxVectorSize
public int getMaxVectorSize()
Description copied from interface:VectorSizeInspector
Returns the maximum vector size for this cursor. It will not change for the lifetime of this cursor, and is generally used to allocate scratch arrays for later processing. Will always be greater than zero.- Specified by:
getMaxVectorSize
in interfaceVectorSizeInspector
-
-