Commits


siddharth authored and Wes McKinney committed 31457ae826b
ARROW-801: Provide direct access to underlying buffer memory addresses Added following methods at FieldVector interface public long getValidityBufferAddress(); public long getDataBufferAddress(); public long getOffsetBufferAddress(); Couple of points: For the UnionVector, we don't have an explicit BitVector and the typeVector also acts as a validity vector during get(), isNull(). So getValidityBufferAddress() returns the address of buffer associated with typeVector. Both ListVector and FixedSizeListVector are backed by a FieldVector which acts as the dataVector. Right now the getDataBufferAddress() is unsupported for these two vectors but I think that we could just simply delegate this call to the dataVector instead of throwing exception Author: siddharth <siddharth@dremio.com> Closes #958 from siddharthteotia/ARROW-801 and squashes the following commits: cb6dd25 [siddharth] ARROW-801: Provide direct access to underlying buffer memory addresses