Uses of Class
com.clickhouse.data.ClickHouseByteBuffer
Packages that use ClickHouseByteBuffer
-
Uses of ClickHouseByteBuffer in com.clickhouse.data
Fields in com.clickhouse.data declared as ClickHouseByteBufferModifier and TypeFieldDescriptionprotected final ClickHouseByteBufferClickHouseInputStream.byteBufferNon-null reusable byte buffer.Methods in com.clickhouse.data that return ClickHouseByteBufferModifier and TypeMethodDescriptionClickHouseByteBuffer.compact()Compacts byte array by creating a new copy with exact samelengthbutpositionchanged to zero.ClickHouseByteBuffer.copy(boolean deep) Creates a copy of the current byte buffer.protected abstract ClickHouseByteBufferClickHouseInputStream.getBuffer()Gets reference to current byte buffer.static ClickHouseByteBufferClickHouseByteBuffer.newInstance()Creates an empty byte buffer.protected abstract ClickHouseByteBufferClickHouseInputStream.nextBuffer()Gets reference to next byte buffer available for read.static ClickHouseByteBufferClickHouseByteBuffer.of(byte[] bytes) Wraps given byte array as byte buffer.static ClickHouseByteBufferClickHouseByteBuffer.of(byte[] bytes, int offset, int length) Wraps given byte array as byte buffer.static ClickHouseByteBufferClickHouseByteBuffer.of(ByteBuffer buffer) Wraps given byte buffer.static ClickHouseByteBufferWraps given byte arrays as byte buffer.ClickHouseByteBuffer.position(int newPosition) Sets new position.ClickHouseInputStream.readBuffer(int length) Reads byte buffer from the input stream.abstract ClickHouseByteBufferClickHouseInputStream.readCustom(ClickHouseDataUpdater reader) Reads bytes using custom reader.ClickHouseByteBuffer.reset()Resets the buffer to empty.ClickHouseByteBuffer.reverse()Reverses the byte array.ClickHouseByteBuffer.reverse(int offset, int length) Reverses the byte array.ClickHouseByteBuffer.slice(int offset, int length) Gets slice of the byte buffer.ClickHouseByteBuffer.update(byte[] bytes) Updates buffer.ClickHouseByteBuffer.update(byte[] bytes, int offset, int length) Updates buffer.ClickHouseByteBuffer.update(ByteBuffer buffer) Updates buffer.Updates buffer.Methods in com.clickhouse.data that return types with arguments of type ClickHouseByteBufferMethods in com.clickhouse.data with parameters of type ClickHouseByteBufferModifier and TypeMethodDescriptionClickHouseOutputStream.writeBuffer(ClickHouseByteBuffer buffer) Writes bytes into output stream.