@Override
    public Date getDate(int columnIndex, Calendar cal) throws SQLException {
        ClickHouseValue value = getValue(columnIndex);
        if (value.isNullOrEmpty()) {
            return null;
        }

        LocalDate d = value.asDate();
        Calendar c = (Calendar) (cal != null ? cal : defaultCalendar).clone();
        c.clear();
        c.set(d.getYear(), d.getMonthValue() - 1, d.getDayOfMonth(), 0, 0, 0);
        return new Date(c.getTimeInMillis());
    }
Check if there is another row.

@return {@code true} if this result set has another row after the current
        cursor position, {@code false} else
@throws SQLException if something goes wrong
clickhouse-jdbc/src/main/java/com/clickhouse/jdbc/ClickHouseResultSet.java