@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_columnName = true && (isSetColumnName()); builder.append(present_columnName); if (present_columnName) builder.append(columnName); boolean present_typeDesc = true && (isSetTypeDesc()); builder.append(present_typeDesc); if (present_typeDesc) builder.append(typeDesc); boolean present_position = true; builder.append(present_position); if (present_position) builder.append(position); boolean present_comment = true && (isSetComment()); builder.append(present_comment); if (present_comment) builder.append(comment); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_columnName = true && (isSetColumnName()); builder.append(present_columnName); if (present_columnName) builder.append(columnName); boolean present_typeDesc = true && (isSetTypeDesc()); builder.append(present_typeDesc); if (present_typeDesc) builder.append(typeDesc); boolean present_position = true; builder.append(present_position); if (present_position) builder.append(position); boolean present_comment = true && (isSetComment()); builder.append(present_comment); if (present_comment) builder.append(comment); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_columnName = true && (isSetColumnName()); builder.append(present_columnName); if (present_columnName) builder.append(columnName); boolean present_typeDesc = true && (isSetTypeDesc()); builder.append(present_typeDesc); if (present_typeDesc) builder.append(typeDesc); boolean present_position = true; builder.append(present_position); if (present_position) builder.append(position); boolean present_comment = true && (isSetComment()); builder.append(present_comment); if (present_comment) builder.append(comment); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_columnName = true && (isSetColumnName()); builder.append(present_columnName); if (present_columnName) builder.append(columnName); boolean present_typeDesc = true && (isSetTypeDesc()); builder.append(present_typeDesc); if (present_typeDesc) builder.append(typeDesc); boolean present_position = true; builder.append(present_position); if (present_position) builder.append(position); boolean present_comment = true && (isSetComment()); builder.append(present_comment); if (present_comment) builder.append(comment); return builder.toHashCode(); }
/** 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 COLUMN_NAME: return isSetColumnName(); case TYPE_DESC: return isSetTypeDesc(); case POSITION: return isSetPosition(); case COMMENT: return isSetComment(); } 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 COLUMN_NAME: return isSetColumnName(); case TYPE_DESC: return isSetTypeDesc(); case POSITION: return isSetPosition(); case COMMENT: return isSetComment(); } 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 COLUMN_NAME: return isSetColumnName(); case TYPE_DESC: return isSetTypeDesc(); case POSITION: return isSetPosition(); case COMMENT: return isSetComment(); } 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 COLUMN_NAME: return isSetColumnName(); case TYPE_DESC: return isSetTypeDesc(); case POSITION: return isSetPosition(); case COMMENT: return isSetComment(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public TColumnDesc(TColumnDesc other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColumnName()) { this.columnName = other.columnName; } if (other.isSetTypeDesc()) { this.typeDesc = new TTypeDesc(other.typeDesc); } this.position = other.position; if (other.isSetComment()) { this.comment = other.comment; } }
/** * Performs a deep copy on <i>other</i>. */ public TColumnDesc(TColumnDesc other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColumnName()) { this.columnName = other.columnName; } if (other.isSetTypeDesc()) { this.typeDesc = new TTypeDesc(other.typeDesc); } this.position = other.position; if (other.isSetComment()) { this.comment = other.comment; } }
/** * Performs a deep copy on <i>other</i>. */ public TColumnDesc(TColumnDesc other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColumnName()) { this.columnName = other.columnName; } if (other.isSetTypeDesc()) { this.typeDesc = new TTypeDesc(other.typeDesc); } this.position = other.position; if (other.isSetComment()) { this.comment = other.comment; } }
boolean this_present_typeDesc = true && this.isSetTypeDesc(); boolean that_present_typeDesc = true && that.isSetTypeDesc(); if (this_present_typeDesc || that_present_typeDesc) { if (!(this_present_typeDesc && that_present_typeDesc))
/** * Performs a deep copy on <i>other</i>. */ public TColumnDesc(TColumnDesc other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColumnName()) { this.columnName = other.columnName; } if (other.isSetTypeDesc()) { this.typeDesc = new TTypeDesc(other.typeDesc); } this.position = other.position; if (other.isSetComment()) { this.comment = other.comment; } }
boolean this_present_typeDesc = true && this.isSetTypeDesc(); boolean that_present_typeDesc = true && that.isSetTypeDesc(); if (this_present_typeDesc || that_present_typeDesc) { if (!(this_present_typeDesc && that_present_typeDesc))
boolean this_present_typeDesc = true && this.isSetTypeDesc(); boolean that_present_typeDesc = true && that.isSetTypeDesc(); if (this_present_typeDesc || that_present_typeDesc) { if (!(this_present_typeDesc && that_present_typeDesc))
boolean this_present_typeDesc = true && this.isSetTypeDesc(); boolean that_present_typeDesc = true && that.isSetTypeDesc(); if (this_present_typeDesc || that_present_typeDesc) { if (!(this_present_typeDesc && that_present_typeDesc))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetColumnName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'columnName' is unset! Struct:" + toString()); } if (!isSetTypeDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'typeDesc' is unset! Struct:" + toString()); } if (!isSetPosition()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'position' is unset! Struct:" + toString()); } // check for sub-struct validity if (typeDesc != null) { typeDesc.validate(); } }