Class RowBinaryFormatReader
java.lang.Object
com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader
com.clickhouse.client.api.data_formats.RowBinaryFormatReader
- All Implemented Interfaces:
ClickHouseBinaryFormatReader,AutoCloseable
-
Field Summary
Fields inherited from class com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader
binaryStreamReader, currentRecord, input, nextRecord, nextRecordEmpty, settings -
Constructor Summary
ConstructorsConstructorDescriptionRowBinaryFormatReader(InputStream inputStream, QuerySettings querySettings, TableSchema schema, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanreadRecord(Map<String, Object> record) It is still internal method and should be used with care.Methods inherited from class com.clickhouse.client.api.data_formats.internal.AbstractBinaryFormatReader
close, endReached, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBooleanArray, getBooleanArray, getByte, getByte, getByteArray, getByteArray, getClickHouseBitmap, getClickHouseBitmap, getConvertions, 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, getOffsetDateTime, getOffsetDateTime, getSchema, getShort, getShort, getString, getString, getTemporalAmount, getTemporalAmount, getTuple, getTuple, getUUID, getUUID, getZonedDateTime, getZonedDateTime, hasNext, hasValue, hasValue, next, readAsString, readNextRecord, readToPOJO, readValue, readValue, setSchema
-
Constructor Details
-
RowBinaryFormatReader
public RowBinaryFormatReader(InputStream inputStream, QuerySettings querySettings, TableSchema schema, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator)
-
-
Method Details
-
readRecord
Description copied from class:AbstractBinaryFormatReaderIt is still internal method and should be used with care. Usually this method is called to read next record into internal object and affects hasNext() method. So after calling this one: - hasNext(), next() should not be called - stream should be read with readRecord() method fully- Overrides:
readRecordin classAbstractBinaryFormatReader- Returns:
- Throws:
IOException
-