NationalSecurityAgency / datawave

DataWave is an ingest/query framework that leverages Apache Accumulo to provide fast, secure data access.
https://code.nsa.gov/datawave
Apache License 2.0
561 stars 243 forks source link

Replace nonpublic Accumulo ByteBufferUtil.toBytes() with new Datawave equivalent #2528

Closed SethSmucker closed 3 weeks ago

SethSmucker commented 1 month ago

ByteBufferUtil is not part of Accumulo's public API. ByteBufferUtil.toBytes() is the only part of the class used in Datawave.

Created datawave.util.ByteBufferUtil which is similar to the Accumulo class.

Replace all references of Accumulo's ByteBufferUtil with the Datawave class.

part of https://github.com/NationalSecurityAgency/datawave/issues/2443