Package org.apache.parquet.bytes
package org.apache.parquet.bytes
-
ClassDescriptionConvenient class for releasing
ByteBufferobjects with the corresponding allocator;A source of bytes capable of writing itself to an output.utility methods to deal with bytesSimilar to aByteArrayOutputStream, but uses a different strategy for growing that does not involve copying.Deprecated.Alternative toConcatenatingByteArrayCollectorbut usingByteBuffers allocated by itsByteBufferAllocator.Based on DataInputStream but little endian and without the String/char methodsBased on DataOutputStream but in little endian and without the String/char methodsA specialByteBufferAllocatorimplementation that keeps oneByteBufferobject and reuses it at the nextReusingByteBufferAllocator.allocate(int)call.A wrapperByteBufferAllocatorimplementation that tracks whether all allocated buffers are released.
ConcatenatingByteBufferCollectorinstead.