Interface IdMapBuilder

    • Method Detail

      • allocate

        IdMapAllocator allocate​(int batchLength)
        Instantiate an allocator that accepts exactly batchLength many original ids.

        Calling IdMapAllocator.insert(long[]) on the returned allocator requires an array of length batchLength.

        This method is thread-safe and intended to be called by multiple node importer threads.

        Returns:
        a non-thread-safe allocator for writing ids to the IdMap