mergeEntityDefinition(other.getEntityDefinition()); if (other.hasScan()) { mergeScan(other.getScan());
mergeEntityDefinition(other.getEntityDefinition()); if (other.hasScan()) { mergeScan(other.getScan());
hash = (53 * hash) + getEntityDefinition().hashCode(); if (hasScan()) { hash = (37 * hash) + SCAN_FIELD_NUMBER; hash = (53 * hash) + getScan().hashCode();
hash = (53 * hash) + getEntityDefinition().hashCode(); if (hasScan()) { hash = (37 * hash) + SCAN_FIELD_NUMBER; hash = (53 * hash) + getScan().hashCode();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateRequest)) { return super.equals(obj); } org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateRequest other = (org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateRequest) obj; boolean result = true; result = result && (hasEntityDefinition() == other.hasEntityDefinition()); if (hasEntityDefinition()) { result = result && getEntityDefinition() .equals(other.getEntityDefinition()); } result = result && (hasScan() == other.hasScan()); if (hasScan()) { result = result && getScan() .equals(other.getScan()); } result = result && getGroupbyFieldsList() .equals(other.getGroupbyFieldsList()); result = result && getAggregateFuncTypesList() .equals(other.getAggregateFuncTypesList()); result = result && getAggregatedFieldsList() .equals(other.getAggregatedFieldsList()); 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 AggregateProtos.AggregateRequest)) { return super.equals(obj); } AggregateProtos.AggregateRequest other = (AggregateProtos.AggregateRequest) obj; boolean result = true; result = result && (hasEntityDefinition() == other.hasEntityDefinition()); if (hasEntityDefinition()) { result = result && getEntityDefinition() .equals(other.getEntityDefinition()); } result = result && (hasScan() == other.hasScan()); if (hasScan()) { result = result && getScan() .equals(other.getScan()); } result = result && getGroupbyFieldsList() .equals(other.getGroupbyFieldsList()); result = result && getAggregateFuncTypesList() .equals(other.getAggregateFuncTypesList()); result = result && getAggregatedFieldsList() .equals(other.getAggregatedFieldsList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasEntityDefinition()) { memoizedIsInitialized = 0; return false; } if (!hasScan()) { memoizedIsInitialized = 0; return false; } if (!getEntityDefinition().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getScan().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasEntityDefinition()) { memoizedIsInitialized = 0; return false; } if (!hasScan()) { memoizedIsInitialized = 0; return false; } if (!getEntityDefinition().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getScan().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }