@Override public Object clone() throws CloneNotSupportedException { RangePartitionSpecifier specifier = (RangePartitionSpecifier) super.clone(); if (end != null) { specifier.end = (Expr) end.clone(); } specifier.maxValue = maxValue; return specifier; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RangePartitionSpecifier that = (RangePartitionSpecifier) o; if (maxValue != that.maxValue) return false; if (!end.equals(that.end)) return false; return true; }