Class HeapLongVector

    • Field Detail

      • vector

        public long[] vector
    • Constructor Detail

      • HeapLongVector

        public HeapLongVector​(int len)
        Don't use this except for testing purposes.
        Parameters:
        len - the number of rows
    • Method Detail

      • setLongsFromBinary

        public void setLongsFromBinary​(int rowId,
                                       int count,
                                       byte[] src,
                                       int srcIndex)
        Description copied from interface: WritableLongVector
        Set longs from binary, need use UNSAFE to copy.
        Specified by:
        setLongsFromBinary in interface WritableLongVector
        Parameters:
        rowId - set start rowId.
        count - count for long, so the bytes size is count * 8.
        src - source binary.
        srcIndex - source binary index, it is the index for byte index.