Class FilteredVectorInputBinding
java.lang.Object
org.apache.druid.math.expr.vector.FilteredVectorInputBinding
- All Implemented Interfaces:
Expr.InputBindingInspector,Expr.VectorInputBinding,Expr.VectorInputBindingInspector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns an integer that uniquely identifies the current position of the underlying vector offset, if this binding is backed by a segment.intdouble[]getDoubleVector(String name) long[]getLongVector(String name) intboolean[]getNullVector(String name) Object[]getObjectVector(String name) Get theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)voidsetBindings(Expr.VectorInputBinding bindings) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize
-
Constructor Details
-
FilteredVectorInputBinding
public FilteredVectorInputBinding(int maxVectorSize)
-
-
Method Details
-
setBindings
-
getVectorMatch
-
getType
Description copied from interface:Expr.InputBindingInspectorGet theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)- Specified by:
getTypein interfaceExpr.InputBindingInspector
-
getMaxVectorSize
public int getMaxVectorSize()- Specified by:
getMaxVectorSizein interfaceExpr.VectorInputBindingInspector
-
getObjectVector
- Specified by:
getObjectVectorin interfaceExpr.VectorInputBinding
-
getLongVector
- Specified by:
getLongVectorin interfaceExpr.VectorInputBinding
-
getDoubleVector
- Specified by:
getDoubleVectorin interfaceExpr.VectorInputBinding
-
getNullVector
- Specified by:
getNullVectorin interfaceExpr.VectorInputBinding
-
getCurrentVectorSize
public int getCurrentVectorSize()- Specified by:
getCurrentVectorSizein interfaceExpr.VectorInputBinding
-
getCurrentVectorId
public int getCurrentVectorId()Description copied from interface:Expr.VectorInputBindingReturns an integer that uniquely identifies the current position of the underlying vector offset, if this binding is backed by a segment. This is useful for caching: it is safe to assume nothing has changed in the offset so long as the id remains the same. See also: ReadableVectorOffset (in druid-processing)- Specified by:
getCurrentVectorIdin interfaceExpr.VectorInputBinding
-