java.lang.Object
org.apache.arrow.gandiva.evaluator.VectorExpander
This class provides the functionality to expand output vectors using a callback mechanism from
gandiva.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Result of vector expansion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpandOutputVectorAtIndex
(int index, long toCapacity) Expand vector at specified index.
-
Constructor Details
-
VectorExpander
-
-
Method Details
-
expandOutputVectorAtIndex
Expand vector at specified index. This is used as a back call from jni, and is only relevant for variable width vectors.- Parameters:
index
- index of buffer in the list passed to jni.toCapacity
- the size to which the buffer should be expanded to.- Returns:
- address and size of the buffer after expansion.
-