@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasTid()) { hash = (37 * hash) + TID_FIELD_NUMBER; hash = (53 * hash) + getTid(); } if (hasDataType()) { hash = (37 * hash) + DATATYPE_FIELD_NUMBER; hash = (53 * hash) + getDataType().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
if (column.hasTid()) { aTuple.put(fieldId, DatumFactory.createInt4(tid)); } else {
if (column.hasTid()) { aTuple.put(fieldId, DatumFactory.createInt4(tid)); } else {
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.catalog.proto.CatalogProtos.ColumnProto)) { return super.equals(obj); } org.apache.tajo.catalog.proto.CatalogProtos.ColumnProto other = (org.apache.tajo.catalog.proto.CatalogProtos.ColumnProto) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasTid() == other.hasTid()); if (hasTid()) { result = result && (getTid() == other.getTid()); } result = result && (hasDataType() == other.hasDataType()); if (hasDataType()) { result = result && getDataType() .equals(other.getDataType()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.ColumnProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.ColumnProto.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasTid()) { setTid(other.getTid()); } if (other.hasDataType()) { mergeDataType(other.getDataType()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }