Commits


Mohamed Zenadi authored and Wes McKinney committed a2ead2f646b
ARROW-380: [Java] optimize null count when serializing vectors I added `getNullCount()` to the `Accessor` interface. I don't know if this is the best way to achieve this. Hence, we'll have both ValueCount and NullCount immediately accessible from the accessor. Author: Mohamed Zenadi <mohamed@zenadi.com> Closes #207 from zeapo/ARROW-380 and squashes the following commits: 27c0342 [Mohamed Zenadi] implement missing getNullCount implementation for NullableMapVector 9ff3355 [Mohamed Zenadi] implement the base case of getNullCount() ad3f24a [Mohamed Zenadi] the used size is not the same as the allocated size e858432 [Mohamed Zenadi] use the valueCount as basis for counting nulls rather than allocated bytes 0530c85 [Mohamed Zenadi] test the null count byte by byte and the odd length case 95667d3 [Mohamed Zenadi] fix the comment b12a2a5 [Mohamed Zenadi] fix wrong value returned by the method f264250 [Mohamed Zenadi] use getNullCount() rather than isNull baca69c [Mohamed Zenadi] Add methods to count the number null values in the vector