Class CaseSearchedFunctionVectorProcessor<T>
java.lang.Object
org.apache.druid.math.expr.vector.CaseSearchedFunctionVectorProcessor<T>
- All Implemented Interfaces:
ExprVectorProcessor<T>
- Direct Known Subclasses:
CaseSearchedDoubleVectorProcessor,CaseSearchedLongVectorProcessor,CaseSearchedObjectVectorProcessor
public abstract class CaseSearchedFunctionVectorProcessor<T>
extends Object
implements ExprVectorProcessor<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCaseSearchedFunctionVectorProcessor(ExpressionType outputType, ExprVectorProcessor<?>[] conditionProcessors, ExprVectorProcessor<T>[] thenProcessors) -
Method Summary
Modifier and TypeMethodDescriptionevalVector(Expr.VectorInputBinding bindings) protected abstract ExprEvalVector<T> intprotected abstract voidprocessElseNull(int[] conditionSelection) protected abstract voidprocessElseVector(ExprEvalVector<T> elseVector, int[] conditionSelection) protected abstract voidprocessThenVector(ExprEvalVector<T> thenVector, int currentMatches, int[] thenSelection)
-
Constructor Details
-
CaseSearchedFunctionVectorProcessor
public CaseSearchedFunctionVectorProcessor(ExpressionType outputType, ExprVectorProcessor<?>[] conditionProcessors, ExprVectorProcessor<T>[] thenProcessors)
-
-
Method Details
-
processThenVector
protected abstract void processThenVector(ExprEvalVector<T> thenVector, int currentMatches, int[] thenSelection) -
processElseVector
-
processElseNull
protected abstract void processElseNull(int[] conditionSelection) -
makeResultVector
-
evalVector
- Specified by:
evalVectorin interfaceExprVectorProcessor<T>
-
getOutputType
- Specified by:
getOutputTypein interfaceExprVectorProcessor<T>
-
maxVectorSize
public int maxVectorSize()- Specified by:
maxVectorSizein interfaceExprVectorProcessor<T>
-