lastComparison = Boolean.valueOf(isSetCanEvolve()).compareTo(other.isSetCanEvolve()); if (lastComparison != 0) { return lastComparison; if (isSetCanEvolve()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.canEvolve, other.canEvolve); 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 SCHEMA_TYPE: return isSetSchemaType(); case NAME: return isSetName(); case CAT_NAME: return isSetCatName(); case DB_NAME: return isSetDbName(); case COMPATIBILITY: return isSetCompatibility(); case VALIDATION_LEVEL: return isSetValidationLevel(); case CAN_EVOLVE: return isSetCanEvolve(); case SCHEMA_GROUP: return isSetSchemaGroup(); case DESCRIPTION: return isSetDescription(); } throw new IllegalStateException(); }
optionals.set(5); if (struct.isSetCanEvolve()) { optionals.set(6); oprot.writeI32(struct.validationLevel.getValue()); if (struct.isSetCanEvolve()) { oprot.writeBool(struct.canEvolve);