ARROW-6352: [Java] Add implementation of DenseUnionVector

Today only Sparse unions are supported.  We should have a dense union implementation vector that conforms to the IPC protocol (the current sparse union vector doesn't do this and there are other JIRAs covering making it compatible).

Closes #5473 from liyafan82/fly_0923_union and squashes the following commits:

47b31e778 <liyafan82>  Resolve comments
d95288039 <liyafan82>  Support multiple vectors for each vector type
95c8afb6f <liyafan82>  Support isNull with validity buffer of underlying vectors
fdf9f3a65 <liyafan82>  Support type id with byte
86e92dc6d <liyafan82>  Support arbitrary relative type
1d52a6aac <liyafan82>  Replace release method with close method
afd919925 <liyafan82>  Separate implementations for UnionVector and DenseUnionVector
b1cf2bbe7 <liyafan82>  Add implementation of DenseUnionVector

Authored-by: liyafan82 <fan_li_ya@foxmail.com>
Signed-off-by: Micah Kornfield <emkornfield@gmail.com>
11 files changed
tree: 04d30dc6eab67232d8e7c0adc61111e6821153df
  1. .github/
  2. c_glib/
  3. ci/
  4. cpp/
  5. csharp/
  6. dev/
  7. docs/
  8. format/
  9. go/
  10. integration/
  11. java/
  12. js/
  13. matlab/
  14. python/
  15. r/
  16. ruby/
  17. rust/
  18. .clang-format
  19. .clang-tidy
  20. .clang-tidy-ignore
  21. .dir-locals.el
  22. .dockerignore
  23. .env
  24. .gitattributes
  25. .gitignore
  26. .gitmodules
  27. .hadolint.yaml
  28. .pre-commit-config.yaml
  29. .readthedocs.yml
  30. appveyor.yml
  31. CHANGELOG.md
  32. cmake-format.py
  33. CODE_OF_CONDUCT.md
  34. CONTRIBUTING.md
  35. docker-compose.yml
  36. header
  37. LICENSE.txt
  38. Makefile.docker
  39. NOTICE.txt
  40. README.md
  41. run-cmake-format.py
README.md

Apache Arrow

Build Status Coverage Status Fuzzit Status License Twitter Follow

Powering In-Memory Analytics

Apache Arrow is a development platform for in-memory analytics. It contains a set of technologies that enable big data systems to process and move data fast.

Major components of the project include:

Arrow is an Apache Software Foundation project. Learn more at arrow.apache.org.

What's in the Arrow libraries?

The reference Arrow libraries contain a number of distinct software components:

  • Columnar vector and table-like containers (similar to data frames) supporting flat or nested types
  • Fast, language agnostic metadata messaging layer (using Google's Flatbuffers library)
  • Reference-counted off-heap buffer memory management, for zero-copy memory sharing and handling memory-mapped files
  • IO interfaces to local and remote filesystems
  • Self-describing binary wire formats (streaming and batch/file-like) for remote procedure calls (RPC) and interprocess communication (IPC)
  • Integration tests for verifying binary compatibility between the implementations (e.g. sending data from Java to C++)
  • Conversions to and from other in-memory data structures

How to Contribute

Please read our latest project contribution guide.

Getting involved

Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we'd be happy to have you involved: