first = false; if (isSetConverted_type()) { if (!first) sb.append(", "); sb.append("converted_type:");
first = false; if (isSetConverted_type()) { if (!first) sb.append(", "); sb.append("converted_type:");
list.add(num_children); boolean present_converted_type = true && (isSetConverted_type()); list.add(present_converted_type); if (present_converted_type)
/** * Performs a deep copy on <i>other</i>. */ public SchemaElement(SchemaElement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetType()) { this.type = other.type; } this.type_length = other.type_length; if (other.isSetRepetition_type()) { this.repetition_type = other.repetition_type; } if (other.isSetName()) { this.name = other.name; } this.num_children = other.num_children; if (other.isSetConverted_type()) { this.converted_type = other.converted_type; } this.scale = other.scale; this.precision = other.precision; this.field_id = other.field_id; if (other.isSetLogicalType()) { this.logicalType = new LogicalType(other.logicalType); } }
/** * Performs a deep copy on <i>other</i>. */ public SchemaElement(SchemaElement other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetType()) { this.type = other.type; } this.type_length = other.type_length; if (other.isSetRepetition_type()) { this.repetition_type = other.repetition_type; } if (other.isSetName()) { this.name = other.name; } this.num_children = other.num_children; if (other.isSetConverted_type()) { this.converted_type = other.converted_type; } this.scale = other.scale; this.precision = other.precision; this.field_id = other.field_id; if (other.isSetLogicalType()) { this.logicalType = new LogicalType(other.logicalType); } }
lastComparison = Boolean.valueOf(isSetConverted_type()).compareTo(other.isSetConverted_type()); if (lastComparison != 0) { return lastComparison; if (isSetConverted_type()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.converted_type, other.converted_type); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetConverted_type()).compareTo(other.isSetConverted_type()); if (lastComparison != 0) { return lastComparison; if (isSetConverted_type()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.converted_type, other.converted_type); 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(3); if (struct.isSetConverted_type()) { optionals.set(4); oprot.writeI32(struct.num_children); if (struct.isSetConverted_type()) { oprot.writeI32(struct.converted_type.getValue());
optionals.set(3); if (struct.isSetConverted_type()) { optionals.set(4); oprot.writeI32(struct.num_children); if (struct.isSetConverted_type()) { oprot.writeI32(struct.converted_type.getValue());
hashCode = hashCode * 8191 + num_children; hashCode = hashCode * 8191 + ((isSetConverted_type()) ? 131071 : 524287); if (isSetConverted_type()) hashCode = hashCode * 8191 + converted_type.getValue();
if (element.isSetConverted_type()) { typeBuilder.as(getOriginalType(element.converted_type));
if (element.isSetConverted_type()) { typeBuilder.as(getOriginalType(element.converted_type));
if (schemaElement.isSetConverted_type()) { childBuilder.as(getOriginalType(schemaElement.converted_type));
boolean this_present_converted_type = true && this.isSetConverted_type(); boolean that_present_converted_type = true && that.isSetConverted_type(); if (this_present_converted_type || that_present_converted_type) { if (!(this_present_converted_type && that_present_converted_type))
boolean this_present_converted_type = true && this.isSetConverted_type(); boolean that_present_converted_type = true && that.isSetConverted_type(); if (this_present_converted_type || that_present_converted_type) { if (!(this_present_converted_type && that_present_converted_type))
childBuilder.as(getLogicalTypeAnnotation(schemaElement.logicalType)); if (schemaElement.isSetConverted_type()) { OriginalType originalType = getLogicalTypeAnnotation(schemaElement.converted_type, schemaElement).toOriginalType(); OriginalType newOriginalType = (schemaElement.isSetLogicalType() && getLogicalTypeAnnotation(schemaElement.logicalType) != null) ?
if (struct.isSetConverted_type()) { oprot.writeFieldBegin(CONVERTED_TYPE_FIELD_DESC); oprot.writeI32(struct.converted_type.getValue());
if (struct.isSetConverted_type()) { oprot.writeFieldBegin(CONVERTED_TYPE_FIELD_DESC); oprot.writeI32(struct.converted_type.getValue());