hash = (53 * hash) + getMaxValue().hashCode();
public ColumnStats(CatalogProtos.ColumnStatsProto proto) { this.column = new Column(proto.getColumn()); if (proto.hasNumDistVal()) { this.numDistVals = proto.getNumDistVal(); } if (proto.hasNumNulls()) { this.numNulls = proto.getNumNulls(); } if (proto.hasMinValue()) { this.minValue = DatumFactory.createFromBytes(getColumn().getDataType(), proto.getMinValue().toByteArray()); } if (proto.hasMaxValue()) { this.maxValue = DatumFactory.createFromBytes(getColumn().getDataType(), proto.getMaxValue().toByteArray()); } }
public ColumnStats(CatalogProtos.ColumnStatsProto proto) { this.column = new Column(proto.getColumn()); if (proto.hasNumDistVal()) { this.numDistVals = proto.getNumDistVal(); } if (proto.hasNumNulls()) { this.numNulls = proto.getNumNulls(); } if (proto.hasMinValue()) { this.minValue = DatumFactory.createFromBytes(getColumn().getDataType(), proto.getMinValue().toByteArray()); } if (proto.hasMaxValue()) { this.maxValue = DatumFactory.createFromBytes(getColumn().getDataType(), proto.getMaxValue().toByteArray()); } }
result = result && getMaxValue() .equals(other.getMaxValue());
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.ColumnStatsProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.ColumnStatsProto.getDefaultInstance()) return this; if (other.hasColumn()) { mergeColumn(other.getColumn()); } if (other.hasNumDistVal()) { setNumDistVal(other.getNumDistVal()); } if (other.hasNumNulls()) { setNumNulls(other.getNumNulls()); } if (other.hasMinValue()) { setMinValue(other.getMinValue()); } if (other.hasMaxValue()) { setMaxValue(other.getMaxValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional bytes maxValue = 5;</code> */ public Builder clearMaxValue() { bitField0_ = (bitField0_ & ~0x00000010); maxValue_ = getDefaultInstance().getMaxValue(); onChanged(); return this; }