public int getMajorVersion() {
        return getYear();
    }
Gets major version in semantic versioning. Same as {@link #getYear()}.

@return major version
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseVersion.java