public static Rank rank(Query query, QueryChain... ranks) {
        return new Rank(query, ranks);
    }
Rank rank.
https://docs.vespa.ai/en/reference/query-language-reference.html#rank

@param query the query
@param ranks the ranks
@return the rank query
client/src/main/java/ai/vespa/client/dsl/Q.java