@Override
    public int[] executeBatch() throws SQLException {
        checkClosed();
        int batchSize = writer.getRowCount();
        long rowsInserted = executeLargeUpdate();
        int[] results = new int[batchSize];
        Arrays.fill(results, batchSize == rowsInserted? 1 : PreparedStatement.SUCCESS_NO_INFO);
        return results;
    }
Implements data streaming through Client Writer API.
See {@link PreparedStatementImpl}
jdbc-v2/src/main/java/com/clickhouse/jdbc/WriterStatementImpl.java