public class ClickHouseRowBinaryInputStream extends Object implements Closeable
| Constructor and Description |
|---|
ClickHouseRowBinaryInputStream(InputStream is,
TimeZone timeZone,
ClickHouseProperties properties) |
ClickHouseRowBinaryInputStream(InputStream is,
TimeZone timeZone,
ClickHouseProperties properties,
boolean hasColumnInfo) |
public ClickHouseRowBinaryInputStream(InputStream is, TimeZone timeZone, ClickHouseProperties properties) throws IOException
IOExceptionpublic ClickHouseRowBinaryInputStream(InputStream is, TimeZone timeZone, ClickHouseProperties properties, boolean hasColumnInfo) throws IOException
IOExceptionpublic List<ClickHouseColumnInfo> getColumns()
public void readBytes(byte[] bytes)
throws IOException
IOExceptionpublic void readBytes(byte[] bytes,
int offset,
int length)
throws IOException
IOExceptionpublic int readByte()
throws IOException
IOExceptionpublic boolean readIsNull()
throws IOException
IOExceptionpublic String readString() throws IOException
IOExceptionpublic String readFixedString(int length) throws IOException
IOExceptionpublic boolean readBoolean()
throws IOException
IOExceptionpublic short readUInt8()
throws IOException
IOExceptionpublic byte readUInt8AsByte()
throws IOException
IOException - in case if an I/O error occurspublic byte readInt8()
throws IOException
IOExceptionpublic int readUInt16()
throws IOException
IOExceptionpublic short readUInt16AsShort()
throws IOException
IOException - in case if an I/O error occurspublic short readInt16()
throws IOException
IOExceptionpublic long readUInt32()
throws IOException
IOExceptionpublic int readUInt32AsInt()
throws IOException
IOException - in case if an I/O error occurspublic int readInt32()
throws IOException
IOExceptionpublic long readUInt64AsLong()
throws IOException
IOException - in case if an I/O error occurspublic BigInteger readUInt64() throws IOException
IOExceptionpublic long readInt64()
throws IOException
IOExceptionpublic BigInteger readInt128() throws IOException
IOExceptionpublic BigInteger writeUInt128() throws IOException
IOExceptionpublic BigInteger writeInt256() throws IOException
IOExceptionpublic BigInteger writeUInt256() throws IOException
IOExceptionpublic Timestamp readDateTime() throws IOException
IOExceptionpublic Date readDate() throws IOException
IOExceptionpublic float readFloat32()
throws IOException
IOExceptionpublic double readFloat64()
throws IOException
IOExceptionpublic Date[] readDateArray() throws IOException
IOExceptionpublic Timestamp[] readDateTimeArray() throws IOException
IOExceptionpublic String[] readStringArray() throws IOException
IOExceptionpublic byte[] readInt8Array()
throws IOException
IOExceptionpublic byte[] readUInt8ArrayAsByte()
throws IOException
IOExceptionpublic short[] readUInt8Array()
throws IOException
IOExceptionpublic short[] readInt16Array()
throws IOException
IOExceptionpublic short[] readUInt16ArrayAsShort()
throws IOException
IOExceptionpublic int[] readUInt16Array()
throws IOException
IOExceptionpublic int[] readInt32Array()
throws IOException
IOExceptionpublic int[] readUInt32ArrayAsInt()
throws IOException
IOExceptionpublic long[] readUInt32Array()
throws IOException
IOExceptionpublic long[] readInt64Array()
throws IOException
IOExceptionpublic long[] readUInt64ArrayAsLong()
throws IOException
IOExceptionpublic BigInteger[] readUInt64Array() throws IOException
IOExceptionpublic float[] readFloat32Array()
throws IOException
IOExceptionpublic double[] readFloat64Array()
throws IOException
IOExceptionpublic UUID readUUID() throws IOException
IOExceptionpublic UUID[] readUUIDArray() throws IOException
IOExceptionpublic BigDecimal readDecimal32(int scale) throws IOException
IOExceptionpublic BigDecimal readDecimal64(int scale) throws IOException
IOExceptionpublic BigDecimal readDecimal128(int scale) throws IOException
IOExceptionpublic BigDecimal readDecimal256(int scale) throws IOException
IOExceptionpublic ClickHouseBitmap readBitmap(ClickHouseDataType innerType) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015–2021 ClickHouse. All rights reserved.