Interface RecordMapper<X>


  • public interface RecordMapper<X>
    Allow bytes to pull directly out of storage with no copy to record; also extract the key bytes into an array. This operation MUST not retain any references to the ByteBuffer storage space. All in order to avoid remapping Records to higher level objects, which churns objects (GC issue) and avoids a copy.
    • Method Detail

      • map

        X map​(java.nio.ByteBuffer bb,
              int entryIdx,
              byte[] key,
              RecordFactory recFactory)