Class NativeFormatReader
java.lang.Object
com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader
com.clickhouse.client.api.data_formats.NativeFormatReader
- All Implemented Interfaces:
ClickHouseBinaryFormatReader
For the backward compatibility server will not send TZ id in column type. Client should send version to a server
to get the correct column type.
(see: https://github.com/ClickHouse/ClickHouse/issues/38209)
-
Field Summary
Fields inherited from class com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader
binaryStreamReader, currentRecord, input, nextRecord, settings -
Constructor Summary
ConstructorsConstructorDescriptionNativeFormatReader(InputStream inputStream) NativeFormatReader(InputStream inputStream, QuerySettings settings) -
Method Summary
Methods inherited from class com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader
endReached, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getByteArray, getByteArray, getDouble, getDouble, getDoubleArray, getDoubleArray, getDuration, getDuration, getEnum16, getEnum16, getEnum8, getEnum8, getFloat, getFloat, getFloatArray, getFloatArray, getGeoMultiPolygon, getGeoMultiPolygon, getGeoPoint, getGeoPoint, getGeoPolygon, getGeoPolygon, getGeoRing, getGeoRing, getInet4Address, getInet4Address, getInet6Address, getInet6Address, getInstant, getInstant, getIntArray, getIntArray, getInteger, getInteger, getList, getList, getLocalDate, getLocalDate, getLocalDateTime, getLocalDateTime, getLong, getLong, getLongArray, getLongArray, getSchema, getShort, getShort, getString, getString, getTuple, getTuple, getUUID, getUUID, getZonedDateTime, getZonedDateTime, hasNext, hasValue, hasValue, next, readNextRecord, setSchema
-
Constructor Details
-
NativeFormatReader
-
NativeFormatReader
-
-
Method Details
-
readRecord
- Overrides:
readRecordin classAbstractBinaryFormatReader- Throws:
IOException
-
readValue
public <T> T readValue(int colIndex) Description copied from interface:ClickHouseBinaryFormatReaderReads a single value from the stream.- Specified by:
readValuein interfaceClickHouseBinaryFormatReader- Overrides:
readValuein classAbstractBinaryFormatReader- Returns:
-
readValue
Description copied from interface:ClickHouseBinaryFormatReaderReads a row to an array of objects.- Specified by:
readValuein interfaceClickHouseBinaryFormatReader- Overrides:
readValuein classAbstractBinaryFormatReader- Returns:
-