Uses of Class
com.clickhouse.client.ClickHouseByteBuffer
-
Packages that use ClickHouseByteBuffer Package Description com.clickhouse.client Provides necessary classes to communicate with ClickHouse server.com.clickhouse.client.data Provides necessary classes to handle different format or type of data.com.clickhouse.client.stream -
-
Uses of ClickHouseByteBuffer in com.clickhouse.client
Fields in com.clickhouse.client declared as ClickHouseByteBuffer Modifier and Type Field Description protected ClickHouseByteBufferClickHouseInputStream. byteBufferNon-null reusable byte buffer.Methods in com.clickhouse.client that return ClickHouseByteBuffer Modifier and Type Method Description ClickHouseByteBufferClickHouseByteBuffer. 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 ClickHouseByteBufferClickHouseByteBuffer. of(List<byte[]> list, int offset, int length)Wraps given byte arrays as byte buffer.ClickHouseByteBufferClickHouseByteBuffer. position(int newPosition)Sets new position.ClickHouseByteBufferClickHouseInputStream. readBuffer(int length)Reads byte buffer from the input stream.abstract ClickHouseByteBufferClickHouseInputStream. readCustom(ClickHouseDataUpdater reader)Reads bytes using custom reader.ClickHouseByteBufferClickHouseByteBuffer. reset()Resets the buffer to empty.ClickHouseByteBufferClickHouseByteBuffer. reverse()Reverses the byte array.ClickHouseByteBufferClickHouseByteBuffer. reverse(int offset, int length)Reverses the byte array.ClickHouseByteBufferClickHouseByteBuffer. slice(int offset, int length)Gets slice of the byte buffer.ClickHouseByteBufferClickHouseByteBuffer. update(byte[] bytes)Updates buffer.ClickHouseByteBufferClickHouseByteBuffer. update(byte[] bytes, int offset, int length)Updates buffer.ClickHouseByteBufferClickHouseByteBuffer. update(List<byte[]> list, int offset, int length)Updates buffer.Methods in com.clickhouse.client with parameters of type ClickHouseByteBuffer Modifier and Type Method Description ClickHouseOutputStreamClickHouseOutputStream. writeBuffer(ClickHouseByteBuffer buffer)Writes bytes into output stream. -
Uses of ClickHouseByteBuffer in com.clickhouse.client.data
Methods in com.clickhouse.client.data with parameters of type ClickHouseByteBuffer Modifier and Type Method Description static intBinaryStreamUtils. toInt32(ClickHouseByteBuffer byteBuffer)static longBinaryStreamUtils. toInt64(ClickHouseByteBuffer byteBuffer) -
Uses of ClickHouseByteBuffer in com.clickhouse.client.stream
Methods in com.clickhouse.client.stream that return ClickHouseByteBuffer Modifier and Type Method Description ClickHouseByteBufferAbstractByteArrayInputStream. readBuffer(int length)ClickHouseByteBufferAbstractByteBufferInputStream. readBuffer(int length)ClickHouseByteBufferNonBlockingInputStream. readBuffer(int length)ClickHouseByteBufferAbstractByteArrayInputStream. readCustom(ClickHouseDataUpdater reader)ClickHouseByteBufferAbstractByteBufferInputStream. readCustom(ClickHouseDataUpdater reader)ClickHouseByteBufferEmptyInputStream. readCustom(ClickHouseDataUpdater reader)ClickHouseByteBufferIterableMultipleInputStream. readCustom(ClickHouseDataUpdater reader)ClickHouseByteBufferNonBlockingInputStream. readCustom(ClickHouseDataUpdater reader)ClickHouseByteBufferWrappedInputStream. readCustom(ClickHouseDataUpdater reader)
-