@Override public boolean equals(Object obj) { if (obj instanceof IndexScanNode) { IndexScanNode other = (IndexScanNode) obj; boolean eq = super.equals(other); eq &= this.indexPath.equals(other.indexPath); eq &= TUtil.checkEquals(this.predicates, other.predicates); eq &= this.keySchema.equals(other.keySchema); return eq; } return false; }
@Override public boolean equals(Object obj) { if (obj instanceof IndexScanNode) { IndexScanNode other = (IndexScanNode) obj; boolean eq = super.equals(other); eq &= this.indexPath.equals(other.indexPath); eq &= TUtil.checkEquals(this.predicates, other.predicates); eq &= this.keySchema.equals(other.keySchema); return eq; } return false; }
@Override public boolean equals(Object obj) { if (obj instanceof PartitionedTableScanNode) { PartitionedTableScanNode other = (PartitionedTableScanNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(this.tableDesc, other.tableDesc); eq = eq && TUtil.checkEquals(this.qual, other.qual); eq = eq && TUtil.checkEquals(this.targets, other.targets); eq = eq && TUtil.checkEquals(this.inputPaths, other.inputPaths); return eq; } return false; }
@Override public boolean equals(Object obj) { if (obj instanceof PartitionedTableScanNode) { PartitionedTableScanNode other = (PartitionedTableScanNode) obj; boolean eq = super.equals(other); eq = eq && TUtil.checkEquals(this.tableDesc, other.tableDesc); eq = eq && TUtil.checkEquals(this.qual, other.qual); eq = eq && TUtil.checkEquals(this.targets, other.targets); eq = eq && TUtil.checkEquals(this.inputPaths, other.inputPaths); return eq; } return false; }