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

        // unfortunately java.sql.Time does not support fractional seconds
        LocalTime lt = value.asTime();

        Calendar c = (Calendar) (cal != null ? cal : defaultCalendar).clone();
        c.clear();
        c.set(1970, 0, 1, lt.getHour(), lt.getMinute(), lt.getSecond());
        return new Time(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