@Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((lastPart == null) ? 0 : lastPart.hashCode());
        result = prime * result + names.hashCode();
        result = prime * result + originalQuery.hashCode();
        result = prime * result + parts.hashCode();
        return result;
    }
Checks if the query has at least one parameter or not.

@return true if there's at least one parameter; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseParameterizedQuery.java