com.clickhouse.jdbc.ClickHouseStatement Maven / Gradle / Ivy
package com.clickhouse.jdbc;
import java.sql.SQLException;
import java.sql.Statement;
import com.clickhouse.client.ClickHouseConfig;
import com.clickhouse.client.ClickHouseRequest;
import com.clickhouse.client.ClickHouseRequest.Mutation;
public interface ClickHouseStatement extends Statement {
@Override
ClickHouseConnection getConnection() throws SQLException;
ClickHouseConfig getConfig();
int getNullAsDefault();
void setNullAsDefault(int level);
ClickHouseRequest> getRequest();
default Mutation write() {
return getRequest().write();
}
}