if (isSetScale()) { if (!first) sb.append(", "); sb.append("scale:");
if (isSetScale()) { if (!first) sb.append(", "); sb.append("scale:");
list.add(converted_type.getValue()); boolean present_scale = true && (isSetScale()); list.add(present_scale); if (present_scale)
lastComparison = Boolean.valueOf(isSetScale()).compareTo(other.isSetScale()); if (lastComparison != 0) { return lastComparison; if (isSetScale()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scale, other.scale); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetScale()).compareTo(other.isSetScale()); if (lastComparison != 0) { return lastComparison; if (isSetScale()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scale, other.scale); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case TYPE_LENGTH: return isSetType_length(); case REPETITION_TYPE: return isSetRepetition_type(); case NAME: return isSetName(); case NUM_CHILDREN: return isSetNum_children(); case CONVERTED_TYPE: return isSetConverted_type(); case SCALE: return isSetScale(); case PRECISION: return isSetPrecision(); case FIELD_ID: return isSetField_id(); case LOGICAL_TYPE: return isSetLogicalType(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); } switch (field) { case TYPE: return isSetType(); case TYPE_LENGTH: return isSetType_length(); case REPETITION_TYPE: return isSetRepetition_type(); case NAME: return isSetName(); case NUM_CHILDREN: return isSetNum_children(); case CONVERTED_TYPE: return isSetConverted_type(); case SCALE: return isSetScale(); case PRECISION: return isSetPrecision(); case FIELD_ID: return isSetField_id(); case LOGICAL_TYPE: return isSetLogicalType(); } throw new java.lang.IllegalStateException(); }
optionals.set(4); if (struct.isSetScale()) { optionals.set(5); oprot.writeI32(struct.converted_type.getValue()); if (struct.isSetScale()) { oprot.writeI32(struct.scale);
optionals.set(4); if (struct.isSetScale()) { optionals.set(5); oprot.writeI32(struct.converted_type.getValue()); if (struct.isSetScale()) { oprot.writeI32(struct.scale);
hashCode = hashCode * 8191 + converted_type.getValue(); hashCode = hashCode * 8191 + ((isSetScale()) ? 131071 : 524287); if (isSetScale()) hashCode = hashCode * 8191 + scale;
primitiveBuilder.precision(element.precision); if (element.isSetScale()) { primitiveBuilder.scale(element.scale);
primitiveBuilder.precision(element.precision); if (element.isSetScale()) { primitiveBuilder.scale(element.scale);
primitiveBuilder.precision(schemaElement.precision); if (schemaElement.isSetScale()) { primitiveBuilder.scale(schemaElement.scale);
boolean this_present_scale = true && this.isSetScale(); boolean that_present_scale = true && that.isSetScale(); if (this_present_scale || that_present_scale) { if (!(this_present_scale && that_present_scale))
boolean this_present_scale = true && this.isSetScale(); boolean that_present_scale = true && that.isSetScale(); if (this_present_scale || that_present_scale) { if (!(this_present_scale && that_present_scale))
primitiveBuilder.precision(schemaElement.precision); if (schemaElement.isSetScale()) { primitiveBuilder.scale(schemaElement.scale);
if (struct.isSetScale()) { oprot.writeFieldBegin(SCALE_FIELD_DESC); oprot.writeI32(struct.scale);
if (struct.isSetScale()) { oprot.writeFieldBegin(SCALE_FIELD_DESC); oprot.writeI32(struct.scale);