@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.index.IndexProtos.TupleComparatorProto)) { return super.equals(obj); } org.apache.tajo.index.IndexProtos.TupleComparatorProto other = (org.apache.tajo.index.IndexProtos.TupleComparatorProto) obj; boolean result = true; result = result && (hasSchema() == other.hasSchema()); if (hasSchema()) { result = result && getSchema() .equals(other.getSchema()); } result = result && getSortSpecsList() .equals(other.getSortSpecsList()); result = result && getCompSpecsList() .equals(other.getCompSpecsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.index.IndexProtos.TupleComparatorProto)) { return super.equals(obj); } org.apache.tajo.index.IndexProtos.TupleComparatorProto other = (org.apache.tajo.index.IndexProtos.TupleComparatorProto) obj; boolean result = true; result = result && (hasSchema() == other.hasSchema()); if (hasSchema()) { result = result && getSchema() .equals(other.getSchema()); } result = result && getSortSpecsList() .equals(other.getSortSpecsList()); result = result && getCompSpecsList() .equals(other.getCompSpecsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
if (hasTargetRelationSchema()) { result = result && getTargetRelationSchema() .equals(other.getTargetRelationSchema());
if (hasSchema()) { result = result && getSchema() .equals(other.getSchema());
if (hasSchema()) { result = result && getSchema() .equals(other.getSchema());
if (hasSchema()) { result = result && getSchema() .equals(other.getSchema());
if (hasSchema()) { result = result && getSchema() .equals(other.getSchema());
if (hasSchema()) { result = result && getSchema() .equals(other.getSchema());
if (hasExpressionSchema()) { result = result && getExpressionSchema() .equals(other.getExpressionSchema());
@Override public boolean equals(Object o) { if (o instanceof Schema) { Schema other = (Schema) o; return getProto().equals(other.getProto()); } return false; }
@Override public boolean equals(Object o) { if (o instanceof SchemaLegacy) { SchemaLegacy other = (SchemaLegacy) o; return getProto().equals(other.getProto()); } return false; }