Class BinaryStreamReader.DefaultByteBufferAllocator
java.lang.Object
com.clickhouse.client.api.data_formats.internal.BinaryStreamReader.DefaultByteBufferAllocator
- All Implemented Interfaces:
BinaryStreamReader.ByteBufferAllocator
- Enclosing class:
- BinaryStreamReader
public static class BinaryStreamReader.DefaultByteBufferAllocator
extends Object
implements BinaryStreamReader.ByteBufferAllocator
Byte allocator that creates a new byte array for each request.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultByteBufferAllocator
public DefaultByteBufferAllocator()
-
-
Method Details
-
allocate
public byte[] allocate(int size) - Specified by:
allocatein interfaceBinaryStreamReader.ByteBufferAllocator
-