@Override public boolean equals(Object obj) { if (obj instanceof LimitNode) { LimitNode other = (LimitNode) obj; return super.equals(other) && fetchFirstNum == other.fetchFirstNum; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof LimitNode) { LimitNode other = (LimitNode) obj; return super.equals(other) && fetchFirstNum == other.fetchFirstNum; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof HavingNode) { HavingNode other = (HavingNode) obj; return super.equals(other) && this.qual.equals(other.qual); } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof SelectionNode) { SelectionNode other = (SelectionNode) obj; return super.equals(other) && this.qual.equals(other.qual); } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof HavingNode) { HavingNode other = (HavingNode) obj; return super.equals(other) && this.qual.equals(other.qual); } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof SelectionNode) { SelectionNode other = (SelectionNode) obj; return super.equals(other) && this.qual.equals(other.qual); } else { return false; } }
@Override public boolean deepEquals(Object o) { if (o instanceof UnaryNode) { UnaryNode u = (UnaryNode) o; return equals(o) && TUtil.checkEquals(child, u.child); } return false; }
@Override public boolean equals(Object obj) { if (obj instanceof ProjectionNode) { ProjectionNode other = (ProjectionNode) obj; boolean b1 = super.equals(other); boolean b2 = TUtil.checkEquals(targets, other.targets); return b1 && b2; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof PersistentStoreNode) { PersistentStoreNode other = (PersistentStoreNode) obj; boolean eq = super.equals(other); eq = eq && this.storageType.equals(other.storageType); eq = eq && TUtil.checkEquals(options, other.options); return eq; } else { return false; } }
@Override public boolean deepEquals(Object o) { if (o instanceof UnaryNode) { UnaryNode u = (UnaryNode) o; return equals(o) && TUtil.checkEquals(child, u.child); } return false; }
@Override public boolean equals(Object obj) { if (obj instanceof SortNode) { SortNode other = (SortNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(sortKeys, other.sortKeys); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof ProjectionNode) { ProjectionNode other = (ProjectionNode) obj; boolean b1 = super.equals(other); boolean b2 = TUtil.checkEquals(targets, other.targets); return b1 && b2; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof SortNode) { SortNode other = (SortNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(sortKeys, other.sortKeys); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof PersistentStoreNode) { PersistentStoreNode other = (PersistentStoreNode) obj; boolean eq = super.equals(other); eq = eq && this.storageType.equals(other.storageType); eq = eq && TUtil.checkEquals(options, other.options); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof DistinctGroupbyNode) { DistinctGroupbyNode other = (DistinctGroupbyNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(groupingColumns, other.groupingColumns); eq = eq && TUtil.checkEquals(subGroupbyPlan, other.subGroupbyPlan); eq = eq && TUtil.checkEquals(targets, other.targets); eq = eq && TUtil.checkEquals(resultColumnIds, other.resultColumnIds); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof DistinctGroupbyNode) { DistinctGroupbyNode other = (DistinctGroupbyNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(groupingColumns, other.groupingColumns); eq = eq && TUtil.checkEquals(subGroupbyPlan, other.subGroupbyPlan); eq = eq && TUtil.checkEquals(targets, other.targets); eq = eq && TUtil.checkEquals(resultColumnIds, other.resultColumnIds); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof GroupbyNode) { GroupbyNode other = (GroupbyNode) obj; boolean eq = super.equals(other); eq = eq && isDistinct() == other.isDistinct(); eq = eq && TUtil.checkEquals(groupingKeys, other.groupingKeys); eq = eq && TUtil.checkEquals(aggrFunctions, other.aggrFunctions); eq = eq && TUtil.checkEquals(targets, other.targets); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof GroupbyNode) { GroupbyNode other = (GroupbyNode) obj; boolean eq = super.equals(other); eq = eq && isDistinct() == other.isDistinct(); eq = eq && TUtil.checkEquals(groupingKeys, other.groupingKeys); eq = eq && TUtil.checkEquals(aggrFunctions, other.aggrFunctions); eq = eq && TUtil.checkEquals(targets, other.targets); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof WindowAggNode) { WindowAggNode other = (WindowAggNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(partitionKeys, other.partitionKeys); eq = eq && TUtil.checkEquals(sortSpecs, other.sortSpecs); eq = eq && TUtil.checkEquals(windowFuncs, other.windowFuncs); eq = eq && TUtil.checkEquals(targets, other.targets); eq = eq && TUtil.checkEquals(hasDistinct, other.hasDistinct); return eq; } else { return false; } }
@Override public boolean equals(Object obj) { if (obj instanceof WindowAggNode) { WindowAggNode other = (WindowAggNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(partitionKeys, other.partitionKeys); eq = eq && TUtil.checkEquals(sortSpecs, other.sortSpecs); eq = eq && TUtil.checkEquals(windowFuncs, other.windowFuncs); eq = eq && TUtil.checkEquals(targets, other.targets); eq = eq && TUtil.checkEquals(hasDistinct, other.hasDistinct); return eq; } else { return false; } }