Class BytesRefArray


  • public final class BytesRefArray
    extends Object
    A simple append only random-access BytesRef array that stores full copies of the appended bytes in a ByteBlockPool. Note: This class is not Thread-Safe!
    • Constructor Detail

      • BytesRefArray

        public BytesRefArray​(Counter bytesUsed)
        Creates a new BytesRefArray with a counter to track allocated bytes