public Optional<ClickHouseVersion> getVersion() {
        return this.config.hasOption(ClickHouseClientOption.SERVER_VERSION)
                ? Optional.of(this.config.getServerVersion())
                : Optional.empty();
    }
Gets version of the node.

@return version of the node
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java