/** 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(); }
lastComparison = Boolean.valueOf(isSetPosition()).compareTo(typedOther.isSetPosition()); if (lastComparison != 0) { return lastComparison; if (isSetPosition()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, typedOther.position); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetPosition()).compareTo(typedOther.isSetPosition()); if (lastComparison != 0) { return lastComparison; if (isSetPosition()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, typedOther.position); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetPosition()).compareTo(typedOther.isSetPosition()); if (lastComparison != 0) { return lastComparison; if (isSetPosition()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, typedOther.position); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetPosition()).compareTo(typedOther.isSetPosition()); if (lastComparison != 0) { return lastComparison; if (isSetPosition()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.position, typedOther.position); if (lastComparison != 0) {
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(); } }