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.static ClickHouseByteBufferClickHouseByteBuffer.newInstance()Creates an empty byte buffer.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 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.Updates buffer.Methods in com.clickhouse.data with parameters of type ClickHouseByteBufferModifier and TypeMethodDescriptionClickHouseOutputStream.writeBuffer(ClickHouseByteBuffer buffer) Writes bytes into output stream.