in pinot-common/src/main/java/org/apache/pinot/common/request/PinotQuery.java [832:947]
public boolean equals(PinotQuery that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_version = true && this.isSetVersion();
boolean that_present_version = true && that.isSetVersion();
if (this_present_version || that_present_version) {
if (!(this_present_version && that_present_version))
return false;
if (this.version != that.version)
return false;
}
boolean this_present_dataSource = true && this.isSetDataSource();
boolean that_present_dataSource = true && that.isSetDataSource();
if (this_present_dataSource || that_present_dataSource) {
if (!(this_present_dataSource && that_present_dataSource))
return false;
if (!this.dataSource.equals(that.dataSource))
return false;
}
boolean this_present_selectList = true && this.isSetSelectList();
boolean that_present_selectList = true && that.isSetSelectList();
if (this_present_selectList || that_present_selectList) {
if (!(this_present_selectList && that_present_selectList))
return false;
if (!this.selectList.equals(that.selectList))
return false;
}
boolean this_present_filterExpression = true && this.isSetFilterExpression();
boolean that_present_filterExpression = true && that.isSetFilterExpression();
if (this_present_filterExpression || that_present_filterExpression) {
if (!(this_present_filterExpression && that_present_filterExpression))
return false;
if (!this.filterExpression.equals(that.filterExpression))
return false;
}
boolean this_present_groupByList = true && this.isSetGroupByList();
boolean that_present_groupByList = true && that.isSetGroupByList();
if (this_present_groupByList || that_present_groupByList) {
if (!(this_present_groupByList && that_present_groupByList))
return false;
if (!this.groupByList.equals(that.groupByList))
return false;
}
boolean this_present_orderByList = true && this.isSetOrderByList();
boolean that_present_orderByList = true && that.isSetOrderByList();
if (this_present_orderByList || that_present_orderByList) {
if (!(this_present_orderByList && that_present_orderByList))
return false;
if (!this.orderByList.equals(that.orderByList))
return false;
}
boolean this_present_havingExpression = true && this.isSetHavingExpression();
boolean that_present_havingExpression = true && that.isSetHavingExpression();
if (this_present_havingExpression || that_present_havingExpression) {
if (!(this_present_havingExpression && that_present_havingExpression))
return false;
if (!this.havingExpression.equals(that.havingExpression))
return false;
}
boolean this_present_limit = true && this.isSetLimit();
boolean that_present_limit = true && that.isSetLimit();
if (this_present_limit || that_present_limit) {
if (!(this_present_limit && that_present_limit))
return false;
if (this.limit != that.limit)
return false;
}
boolean this_present_offset = true && this.isSetOffset();
boolean that_present_offset = true && that.isSetOffset();
if (this_present_offset || that_present_offset) {
if (!(this_present_offset && that_present_offset))
return false;
if (this.offset != that.offset)
return false;
}
boolean this_present_queryOptions = true && this.isSetQueryOptions();
boolean that_present_queryOptions = true && that.isSetQueryOptions();
if (this_present_queryOptions || that_present_queryOptions) {
if (!(this_present_queryOptions && that_present_queryOptions))
return false;
if (!this.queryOptions.equals(that.queryOptions))
return false;
}
boolean this_present_explain = true && this.isSetExplain();
boolean that_present_explain = true && that.isSetExplain();
if (this_present_explain || that_present_explain) {
if (!(this_present_explain && that_present_explain))
return false;
if (this.explain != that.explain)
return false;
}
boolean this_present_expressionOverrideHints = true && this.isSetExpressionOverrideHints();
boolean that_present_expressionOverrideHints = true && that.isSetExpressionOverrideHints();
if (this_present_expressionOverrideHints || that_present_expressionOverrideHints) {
if (!(this_present_expressionOverrideHints && that_present_expressionOverrideHints))
return false;
if (!this.expressionOverrideHints.equals(that.expressionOverrideHints))
return false;
}
return true;
}