Interface WritableColumnVector

All Superinterfaces:
ColumnVector
All Known Subinterfaces:
WritableBooleanVector, WritableBytesVector, WritableByteVector, WritableDoubleVector, WritableFloatVector, WritableIntVector, WritableLongVector, WritableShortVector, WritableTimestampVector
All Known Implementing Classes:
AbstractHeapVector, AbstractWritableVector, HeapArrayVector, HeapBooleanVector, HeapBytesVector, HeapByteVector, HeapDoubleVector, HeapFloatVector, HeapIntVector, HeapLongVector, HeapMapVector, HeapRowVector, HeapShortVector, HeapTimestampVector

@Internal public interface WritableColumnVector extends ColumnVector
Writable ColumnVector.
  • Method Details

    • reset

      void reset()
      Resets the column to default state.
    • setNullAt

      void setNullAt(int rowId)
      Set null at rowId.
    • setNulls

      void setNulls(int rowId, int count)
      Set nulls from rowId to rowId + count (exclude).
    • fillWithNulls

      void fillWithNulls()
      Fill the column vector with nulls.
    • setDictionary

      void setDictionary(Dictionary dictionary)
      Set the dictionary, it should work with dictionary ids.
    • hasDictionary

      boolean hasDictionary()
      Check if there's a dictionary.
    • reserveDictionaryIds

      WritableIntVector reserveDictionaryIds(int capacity)
      Reserve a integer column for ids of dictionary. The size of return WritableIntVector should be equal to or bigger than capacity. DictionaryIds must inconsistent with setDictionary(org.apache.flink.table.data.columnar.vector.Dictionary). We don't support a mix of dictionary.
    • getDictionaryIds

      WritableIntVector getDictionaryIds()
      Get reserved dictionary ids.