public class ClickHouseRowBinaryInputStream extends Object implements Closeable
| Constructor and Description |
|---|
ClickHouseRowBinaryInputStream(InputStream is,
TimeZone timeZone,
ClickHouseProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
readBoolean() |
int |
readByte() |
void |
readBytes(byte[] bytes) |
void |
readBytes(byte[] bytes,
int offset,
int length) |
Date |
readDate() |
Date[] |
readDateArray() |
Timestamp |
readDateTime() |
Timestamp[] |
readDateTimeArray() |
BigDecimal |
readDecimal128(int scale) |
BigDecimal |
readDecimal32(int scale) |
BigDecimal |
readDecimal64(int scale) |
String |
readFixedString(int length) |
float |
readFloat32() |
float[] |
readFloat32Array() |
double |
readFloat64() |
double[] |
readFloat64Array() |
short |
readInt16() |
short[] |
readInt16Array() |
int |
readInt32() |
int[] |
readInt32Array() |
long |
readInt64() |
long[] |
readInt64Array() |
byte |
readInt8() |
byte[] |
readInt8Array() |
boolean |
readIsNull() |
String |
readString() |
String[] |
readStringArray() |
int |
readUInt16() |
int[] |
readUInt16Array() |
short[] |
readUInt16ArrayAsShort() |
short |
readUInt16AsShort()
Warning: the result is negative in Java if UInt16 > 0x7fff
|
long |
readUInt32() |
long[] |
readUInt32Array() |
int[] |
readUInt32ArrayAsInt() |
int |
readUInt32AsInt()
Warning: the result is negative in Java if UInt32 > 0x7fffffff
|
BigInteger |
readUInt64() |
BigInteger[] |
readUInt64Array() |
long[] |
readUInt64ArrayAsLong() |
com.google.common.primitives.UnsignedLong[] |
readUInt64ArrayAsUnsignedLong() |
long |
readUInt64AsLong()
Warning: the result is negative in Java if UInt64 > 0x7fffffffffffffff
|
com.google.common.primitives.UnsignedLong |
readUInt64AsUnsignedLong() |
short |
readUInt8() |
short[] |
readUInt8Array() |
byte[] |
readUInt8ArrayAsByte() |
byte |
readUInt8AsByte()
Warning: the result is negative in Java if UInt8 > 0x7f
|
int |
readUnsignedLeb128() |
UUID |
readUUID() |
public ClickHouseRowBinaryInputStream(InputStream is, TimeZone timeZone, ClickHouseProperties properties)
public int readUnsignedLeb128()
throws IOException
IOExceptionpublic 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 com.google.common.primitives.UnsignedLong readUInt64AsUnsignedLong()
throws IOException
IOExceptionpublic BigInteger readUInt64() throws IOException
IOExceptionpublic long readInt64()
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 com.google.common.primitives.UnsignedLong[] readUInt64ArrayAsUnsignedLong()
throws IOException
IOExceptionpublic BigInteger[] readUInt64Array() throws IOException
IOExceptionpublic float[] readFloat32Array()
throws IOException
IOExceptionpublic double[] readFloat64Array()
throws IOException
IOExceptionpublic UUID readUUID() throws IOException
IOExceptionpublic BigDecimal readDecimal32(int scale) throws IOException
IOExceptionpublic BigDecimal readDecimal64(int scale) throws IOException
IOExceptionpublic BigDecimal readDecimal128(int scale) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.