Interface VariableWidthVector

All Superinterfaces:
AutoCloseable, Closeable, Iterable<ValueVector>, ValueVector
All Known Implementing Classes:
NullableVar16CharVector, NullableVarBinaryVector, NullableVarCharVector, NullableVarDecimalVector, Var16CharVector, VarBinaryVector, VarCharVector, VarDecimalVector

public interface VariableWidthVector extends ValueVector
  • Field Details

  • Method Details

    • allocateNew

      void allocateNew(int totalBytes, int valueCount)
      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.
      valueCount - Number of values in the vector.
    • getByteCapacity

      int getByteCapacity()
      Provide the maximum amount of variable width bytes that can be stored int his vector.
      Returns:
    • getMutator

      Description copied from interface: ValueVector
      Returns an mutator that is used to write to this vector instance.
      Specified by:
      getMutator in interface ValueVector
    • getAccessor

      Description copied from interface: ValueVector
      Returns an accessor that is used to read from this vector instance.
      Specified by:
      getAccessor in interface ValueVector
    • getCurrentSizeInBytes

      int getCurrentSizeInBytes()
    • getOffsetVector

      UInt4Vector getOffsetVector()