Class AbstractHeapVector

    • Field Detail

      • LITTLE_ENDIAN

        public static final boolean LITTLE_ENDIAN
      • UNSAFE

        public static final sun.misc.Unsafe UNSAFE
      • BYTE_ARRAY_OFFSET

        public static final int BYTE_ARRAY_OFFSET
      • INT_ARRAY_OFFSET

        public static final int INT_ARRAY_OFFSET
      • LONG_ARRAY_OFFSET

        public static final int LONG_ARRAY_OFFSET
      • FLOAT_ARRAY_OFFSET

        public static final int FLOAT_ARRAY_OFFSET
      • DOUBLE_ARRAY_OFFSET

        public static final int DOUBLE_ARRAY_OFFSET
      • isNull

        protected boolean[] isNull
      • dictionaryIds

        protected HeapIntVector dictionaryIds
        Reusable column for ids of dictionary.
    • Constructor Detail

      • AbstractHeapVector

        public AbstractHeapVector​(int len)
    • Method Detail

      • reset

        public void reset()
        Resets the column to default state. - fills the isNull array with false. - sets noNulls to true.
      • setNullAt

        public void setNullAt​(int i)
        Description copied from interface: WritableColumnVector
        Set null at rowId.
      • setNulls

        public void setNulls​(int i,
                             int count)
        Description copied from interface: WritableColumnVector
        Set nulls from rowId to rowId + count (exclude).
      • fillWithNulls

        public void fillWithNulls()
        Description copied from interface: WritableColumnVector
        Fill the column vector with nulls.
      • isNullAt

        public boolean isNullAt​(int i)
      • getDictionaryIds

        public HeapIntVector getDictionaryIds()
        Returns the underlying integer column for ids of dictionary.
      • getLen

        public int getLen()