public boolean isServerAlive() {
        return client.ping();
    }
<p>Example class showing how to pass raw data stream to the new ClickHouse client.</p>
<p>Input data is passed as a InputStream to the {@link com.clickhouse.client.api.Client#insert(String, InputStream, ClickHouseFormat, InsertSettings)}
and the format is specified there too.</p>
examples/client-v2/src/main/java/com/clickhouse/examples/client_v2/Stream2DbWriter.java