sb.append(this.position); first = false; if (isSetComment()) { if (!first) sb.append(", "); sb.append("comment:");
@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(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TColumnDesc struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.columnName); struct.typeDesc.write(oprot); oprot.writeI32(struct.position); BitSet optionals = new BitSet(); if (struct.isSetComment()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetComment()) { oprot.writeString(struct.comment); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnDesc struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.columnName != null) { oprot.writeFieldBegin(COLUMN_NAME_FIELD_DESC); oprot.writeString(struct.columnName); oprot.writeFieldEnd(); } if (struct.typeDesc != null) { oprot.writeFieldBegin(TYPE_DESC_FIELD_DESC); struct.typeDesc.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(POSITION_FIELD_DESC); oprot.writeI32(struct.position); oprot.writeFieldEnd(); if (struct.comment != null) { if (struct.isSetComment()) { oprot.writeFieldBegin(COMMENT_FIELD_DESC); oprot.writeString(struct.comment); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnDesc struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.columnName != null) { oprot.writeFieldBegin(COLUMN_NAME_FIELD_DESC); oprot.writeString(struct.columnName); oprot.writeFieldEnd(); } if (struct.typeDesc != null) { oprot.writeFieldBegin(TYPE_DESC_FIELD_DESC); struct.typeDesc.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(POSITION_FIELD_DESC); oprot.writeI32(struct.position); oprot.writeFieldEnd(); if (struct.comment != null) { if (struct.isSetComment()) { oprot.writeFieldBegin(COMMENT_FIELD_DESC); oprot.writeString(struct.comment); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, TColumnDesc struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.columnName != null) { oprot.writeFieldBegin(COLUMN_NAME_FIELD_DESC); oprot.writeString(struct.columnName); oprot.writeFieldEnd(); } if (struct.typeDesc != null) { oprot.writeFieldBegin(TYPE_DESC_FIELD_DESC); struct.typeDesc.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(POSITION_FIELD_DESC); oprot.writeI32(struct.position); oprot.writeFieldEnd(); if (struct.comment != null) { if (struct.isSetComment()) { oprot.writeFieldBegin(COMMENT_FIELD_DESC); oprot.writeString(struct.comment); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TColumnDesc struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.columnName); struct.typeDesc.write(oprot); oprot.writeI32(struct.position); BitSet optionals = new BitSet(); if (struct.isSetComment()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetComment()) { oprot.writeString(struct.comment); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TColumnDesc struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.columnName); struct.typeDesc.write(oprot); oprot.writeI32(struct.position); BitSet optionals = new BitSet(); if (struct.isSetComment()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetComment()) { oprot.writeString(struct.comment); } }
/** 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(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TColumnDesc struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.columnName); struct.typeDesc.write(oprot); oprot.writeI32(struct.position); BitSet optionals = new BitSet(); if (struct.isSetComment()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetComment()) { oprot.writeString(struct.comment); } }
/** 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; } }
/** * 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; } }