Package org.apache.arrow.vector.complex
Interface RepeatedVariableWidthVectorLike
public interface RepeatedVariableWidthVectorLike
A
ValueVector
mix-in that can be used in conjunction with
variable RepeatedValueVector
subtypes (e.g. Strings, Lists, etc).-
Method Summary
Modifier and TypeMethodDescriptionvoid
allocateNew
(int totalBytes, int parentValueCount, int childValueCount) Allocate a new memory space for this vector.int
Provide the maximum amount of variable width bytes that can be stored int his vector.
-
Method Details
-
allocateNew
void allocateNew(int totalBytes, int parentValueCount, int childValueCount) Allocate a new memory space for this vector. Must be called prior to using the ValueVector.- Parameters:
totalBytes
- Desired size of the underlying data buffer.parentValueCount
- Number of separate repeating groupings.childValueCount
- Number of supported values in the vector.
-
getByteCapacity
int getByteCapacity()Provide the maximum amount of variable width bytes that can be stored int his vector.- Returns:
- the byte capacity
-