@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_validation_class = true && (isSetValidation_class()); builder.append(present_validation_class); if (present_validation_class) builder.append(validation_class); boolean present_index_type = true && (isSetIndex_type()); builder.append(present_index_type); if (present_index_type) builder.append(index_type.getValue()); boolean present_index_name = true && (isSetIndex_name()); builder.append(present_index_name); if (present_index_name) builder.append(index_name); boolean present_index_options = true && (isSetIndex_options()); builder.append(present_index_options); if (present_index_options) builder.append(index_options); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_validation_class = true && (isSetValidation_class()); builder.append(present_validation_class); if (present_validation_class) builder.append(validation_class); boolean present_index_type = true && (isSetIndex_type()); builder.append(present_index_type); if (present_index_type) builder.append(index_type.getValue()); boolean present_index_name = true && (isSetIndex_name()); builder.append(present_index_name); if (present_index_name) builder.append(index_name); boolean present_index_options = true && (isSetIndex_options()); builder.append(present_index_options); if (present_index_options) builder.append(index_options); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_validation_class = true && (isSetValidation_class()); builder.append(present_validation_class); if (present_validation_class) builder.append(validation_class); boolean present_index_type = true && (isSetIndex_type()); builder.append(present_index_type); if (present_index_type) builder.append(index_type.getValue()); boolean present_index_name = true && (isSetIndex_name()); builder.append(present_index_name); if (present_index_name) builder.append(index_name); boolean present_index_options = true && (isSetIndex_options()); builder.append(present_index_options); if (present_index_options) builder.append(index_options); return builder.toHashCode(); }
if (isSetIndex_options()) { if (!first) sb.append(", "); sb.append("index_options:");
/** 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 NAME: return isSetName(); case VALIDATION_CLASS: return isSetValidation_class(); case INDEX_TYPE: return isSetIndex_type(); case INDEX_NAME: return isSetIndex_name(); case INDEX_OPTIONS: return isSetIndex_options(); } throw new IllegalStateException(); }
if (struct.isSetIndex_options()) { oprot.writeFieldBegin(INDEX_OPTIONS_FIELD_DESC);
if (struct.isSetIndex_options()) { oprot.writeFieldBegin(INDEX_OPTIONS_FIELD_DESC);
/** 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 NAME: return isSetName(); case VALIDATION_CLASS: return isSetValidation_class(); case INDEX_TYPE: return isSetIndex_type(); case INDEX_NAME: return isSetIndex_name(); case INDEX_OPTIONS: return isSetIndex_options(); } 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 IllegalArgumentException(); } switch (field) { case NAME: return isSetName(); case VALIDATION_CLASS: return isSetValidation_class(); case INDEX_TYPE: return isSetIndex_type(); case INDEX_NAME: return isSetIndex_name(); case INDEX_OPTIONS: return isSetIndex_options(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetIndex_options()).compareTo(other.isSetIndex_options()); if (lastComparison != 0) { return lastComparison; if (isSetIndex_options()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.index_options, other.index_options); if (lastComparison != 0) {
if (struct.isSetIndex_options()) { oprot.writeFieldBegin(INDEX_OPTIONS_FIELD_DESC);
optionals.set(1); if (struct.isSetIndex_options()) { optionals.set(2); oprot.writeString(struct.index_name); if (struct.isSetIndex_options()) {
optionals.set(1); if (struct.isSetIndex_options()) { optionals.set(2); oprot.writeString(struct.index_name); if (struct.isSetIndex_options()) {
optionals.set(1); if (struct.isSetIndex_options()) { optionals.set(2); oprot.writeString(struct.index_name); if (struct.isSetIndex_options()) {
/** * Performs a deep copy on <i>other</i>. */ public ColumnDef(ColumnDef other) { if (other.isSetName()) { this.name = org.apache.thrift.TBaseHelper.copyBinary(other.name); ; } if (other.isSetValidation_class()) { this.validation_class = other.validation_class; } if (other.isSetIndex_type()) { this.index_type = other.index_type; } if (other.isSetIndex_name()) { this.index_name = other.index_name; } if (other.isSetIndex_options()) { Map<String,String> __this__index_options = new HashMap<String,String>(other.index_options); this.index_options = __this__index_options; } }
boolean this_present_index_options = true && this.isSetIndex_options(); boolean that_present_index_options = true && that.isSetIndex_options(); if (this_present_index_options || that_present_index_options) { if (!(this_present_index_options && that_present_index_options))
/** * Performs a deep copy on <i>other</i>. */ public ColumnDef(ColumnDef other) { if (other.isSetName()) { this.name = org.apache.thrift.TBaseHelper.copyBinary(other.name); ; } if (other.isSetValidation_class()) { this.validation_class = other.validation_class; } if (other.isSetIndex_type()) { this.index_type = other.index_type; } if (other.isSetIndex_name()) { this.index_name = other.index_name; } if (other.isSetIndex_options()) { Map<String,String> __this__index_options = new HashMap<String,String>(other.index_options); this.index_options = __this__index_options; } }
/** * Performs a deep copy on <i>other</i>. */ public ColumnDef(ColumnDef other) { if (other.isSetName()) { this.name = org.apache.thrift.TBaseHelper.copyBinary(other.name); ; } if (other.isSetValidation_class()) { this.validation_class = other.validation_class; } if (other.isSetIndex_type()) { this.index_type = other.index_type; } if (other.isSetIndex_name()) { this.index_name = other.index_name; } if (other.isSetIndex_options()) { Map<String,String> __this__index_options = new HashMap<String,String>(other.index_options); this.index_options = __this__index_options; } }
boolean this_present_index_options = true && this.isSetIndex_options(); boolean that_present_index_options = true && that.isSetIndex_options(); if (this_present_index_options || that_present_index_options) { if (!(this_present_index_options && that_present_index_options))
boolean this_present_index_options = true && this.isSetIndex_options(); boolean that_present_index_options = true && that.isSetIndex_options(); if (this_present_index_options || that_present_index_options) { if (!(this_present_index_options && that_present_index_options))