first = false; if (isSetRepetition_type()) { if (!first) sb.append(", "); sb.append("repetition_type:");
first = false; if (isSetRepetition_type()) { if (!first) sb.append(", "); sb.append("repetition_type:");
list.add(type_length); boolean present_repetition_type = true && (isSetRepetition_type()); list.add(present_repetition_type); if (present_repetition_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(isSetRepetition_type()).compareTo(other.isSetRepetition_type()); if (lastComparison != 0) { return lastComparison; if (isSetRepetition_type()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.repetition_type, other.repetition_type); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetRepetition_type()).compareTo(other.isSetRepetition_type()); if (lastComparison != 0) { return lastComparison; if (isSetRepetition_type()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.repetition_type, other.repetition_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(1); if (struct.isSetRepetition_type()) { optionals.set(2); oprot.writeI32(struct.type_length); if (struct.isSetRepetition_type()) { oprot.writeI32(struct.repetition_type.getValue());
optionals.set(1); if (struct.isSetRepetition_type()) { optionals.set(2); oprot.writeI32(struct.type_length); if (struct.isSetRepetition_type()) { oprot.writeI32(struct.repetition_type.getValue());
hashCode = hashCode * 8191 + type_length; hashCode = hashCode * 8191 + ((isSetRepetition_type()) ? 131071 : 524287); if (isSetRepetition_type()) hashCode = hashCode * 8191 + repetition_type.getValue();
boolean this_present_repetition_type = true && this.isSetRepetition_type(); boolean that_present_repetition_type = true && that.isSetRepetition_type(); if (this_present_repetition_type || that_present_repetition_type) { if (!(this_present_repetition_type && that_present_repetition_type))
boolean this_present_repetition_type = true && this.isSetRepetition_type(); boolean that_present_repetition_type = true && that.isSetRepetition_type(); if (this_present_repetition_type || that_present_repetition_type) { if (!(this_present_repetition_type && that_present_repetition_type))
if (struct.isSetRepetition_type()) { oprot.writeFieldBegin(REPETITION_TYPE_FIELD_DESC); oprot.writeI32(struct.repetition_type.getValue());
if (struct.isSetRepetition_type()) { oprot.writeFieldBegin(REPETITION_TYPE_FIELD_DESC); oprot.writeI32(struct.repetition_type.getValue());