/** 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 SESSION_HANDLE: return isSetSessionHandle(); } throw new IllegalStateException(); }
public boolean equals(TGetCatalogsReq that) { if (that == null) return false; boolean this_present_sessionHandle = true && this.isSetSessionHandle(); boolean that_present_sessionHandle = true && that.isSetSessionHandle(); if (this_present_sessionHandle || that_present_sessionHandle) { if (!(this_present_sessionHandle && that_present_sessionHandle)) return false; if (!this.sessionHandle.equals(that.sessionHandle)) return false; } return true; }
/** 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 SESSION_HANDLE: return isSetSessionHandle(); } 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 SESSION_HANDLE: return isSetSessionHandle(); } 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 SESSION_HANDLE: return isSetSessionHandle(); } throw new IllegalStateException(); }
public boolean equals(TGetCatalogsReq that) { if (that == null) return false; boolean this_present_sessionHandle = true && this.isSetSessionHandle(); boolean that_present_sessionHandle = true && that.isSetSessionHandle(); if (this_present_sessionHandle || that_present_sessionHandle) { if (!(this_present_sessionHandle && that_present_sessionHandle)) return false; if (!this.sessionHandle.equals(that.sessionHandle)) return false; } return true; }
public boolean equals(TGetCatalogsReq that) { if (that == null) return false; boolean this_present_sessionHandle = true && this.isSetSessionHandle(); boolean that_present_sessionHandle = true && that.isSetSessionHandle(); if (this_present_sessionHandle || that_present_sessionHandle) { if (!(this_present_sessionHandle && that_present_sessionHandle)) return false; if (!this.sessionHandle.equals(that.sessionHandle)) return false; } return true; }
public boolean equals(TGetCatalogsReq that) { if (that == null) return false; boolean this_present_sessionHandle = true && this.isSetSessionHandle(); boolean that_present_sessionHandle = true && that.isSetSessionHandle(); if (this_present_sessionHandle || that_present_sessionHandle) { if (!(this_present_sessionHandle && that_present_sessionHandle)) return false; if (!this.sessionHandle.equals(that.sessionHandle)) return false; } return true; }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_sessionHandle = true && (isSetSessionHandle()); builder.append(present_sessionHandle); if (present_sessionHandle) builder.append(sessionHandle); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_sessionHandle = true && (isSetSessionHandle()); builder.append(present_sessionHandle); if (present_sessionHandle) builder.append(sessionHandle); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_sessionHandle = true && (isSetSessionHandle()); builder.append(present_sessionHandle); if (present_sessionHandle) builder.append(sessionHandle); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_sessionHandle = true && (isSetSessionHandle()); builder.append(present_sessionHandle); if (present_sessionHandle) builder.append(sessionHandle); return builder.toHashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsReq(TGetCatalogsReq other) { if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsReq(TGetCatalogsReq other) { if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsReq(TGetCatalogsReq other) { if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsReq(TGetCatalogsReq other) { if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetSessionHandle()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'sessionHandle' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }