Interface ClickHouseBinaryFormatReader

All Superinterfaces:
AutoCloseable, ClickHouseFormatReader
All Known Implementing Classes:
AbstractBinaryFormatReader, NativeFormatReader, RowBinaryFormatReader, RowBinaryWithNamesAndTypesFormatReader, RowBinaryWithNamesFormatReader

public interface ClickHouseBinaryFormatReader extends ClickHouseFormatReader
Reader for ClickHouse binary output formats (such as Native, RowBinary, RowBinaryWithNames, and RowBinaryWithNamesAndTypes).

Row navigation, schema access, and typed accessors are inherited from ClickHouseFormatReader; this interface specializes the contract for binary-encoded result streams and is the type returned by the binary factory methods on Client. Readers for text-oriented output formats (for example JSONEachRow) implement ClickHouseTextFormatReader instead.

Instances are produced by Client.newBinaryFormatReader(com.clickhouse.client.api.query.QueryResponse) and Client.newBinaryFormatReader(com.clickhouse.client.api.query.QueryResponse, com.clickhouse.client.api.metadata.TableSchema).