ru.yandex.clickhouse.ClickHousePreparedStatement Maven / Gradle / Ivy
The newest version!
package ru.yandex.clickhouse;
import ru.yandex.clickhouse.response.ClickHouseResponse;
import ru.yandex.clickhouse.settings.ClickHouseQueryParam;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collection;
import java.util.List;
import java.util.Map;
public interface ClickHousePreparedStatement extends PreparedStatement, ClickHouseStatement {
ClickHouseResponse executeQueryClickhouseResponse() throws SQLException;
ClickHouseResponse executeQueryClickhouseResponse(Map additionalDBParams) throws SQLException;
void setArray(int parameterIndex, Collection collection) throws SQLException;
void setArray(int parameterIndex, Object[] array) throws SQLException;
ResultSet executeQuery(Map additionalDBParams) throws SQLException;
ResultSet executeQuery(Map additionalDBParams, List externalData) throws SQLException;
int[] executeBatch(Map additionalDBParams) throws SQLException;
String asSql();
}