@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_sessionHandle = true && (isSetSessionHandle()); builder.append(present_sessionHandle); if (present_sessionHandle) builder.append(sessionHandle); boolean present_statement = true && (isSetStatement()); builder.append(present_statement); if (present_statement) builder.append(statement); boolean present_confOverlay = true && (isSetConfOverlay()); builder.append(present_confOverlay); if (present_confOverlay) builder.append(confOverlay); boolean present_runAsync = true && (isSetRunAsync()); builder.append(present_runAsync); if (present_runAsync) builder.append(runAsync); 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); boolean present_statement = true && (isSetStatement()); builder.append(present_statement); if (present_statement) builder.append(statement); boolean present_confOverlay = true && (isSetConfOverlay()); builder.append(present_confOverlay); if (present_confOverlay) builder.append(confOverlay); boolean present_runAsync = true && (isSetRunAsync()); builder.append(present_runAsync); if (present_runAsync) builder.append(runAsync); 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); boolean present_statement = true && (isSetStatement()); builder.append(present_statement); if (present_statement) builder.append(statement); boolean present_confOverlay = true && (isSetConfOverlay()); builder.append(present_confOverlay); if (present_confOverlay) builder.append(confOverlay); boolean present_runAsync = true && (isSetRunAsync()); builder.append(present_runAsync); if (present_runAsync) builder.append(runAsync); 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); boolean present_statement = true && (isSetStatement()); builder.append(present_statement); if (present_statement) builder.append(statement); boolean present_confOverlay = true && (isSetConfOverlay()); builder.append(present_confOverlay); if (present_confOverlay) builder.append(confOverlay); boolean present_runAsync = true && (isSetRunAsync()); builder.append(present_runAsync); if (present_runAsync) builder.append(runAsync); return builder.toHashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public TExecuteStatementReq(TExecuteStatementReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } if (other.isSetStatement()) { this.statement = other.statement; } if (other.isSetConfOverlay()) { Map<String,String> __this__confOverlay = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.confOverlay.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__confOverlay_copy_key = other_element_key; String __this__confOverlay_copy_value = other_element_value; __this__confOverlay.put(__this__confOverlay_copy_key, __this__confOverlay_copy_value); } this.confOverlay = __this__confOverlay; } this.runAsync = other.runAsync; }
/** * Performs a deep copy on <i>other</i>. */ public TExecuteStatementReq(TExecuteStatementReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } if (other.isSetStatement()) { this.statement = other.statement; } if (other.isSetConfOverlay()) { Map<String,String> __this__confOverlay = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.confOverlay.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__confOverlay_copy_key = other_element_key; String __this__confOverlay_copy_value = other_element_value; __this__confOverlay.put(__this__confOverlay_copy_key, __this__confOverlay_copy_value); } this.confOverlay = __this__confOverlay; } this.runAsync = other.runAsync; }
/** * Performs a deep copy on <i>other</i>. */ public TExecuteStatementReq(TExecuteStatementReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } if (other.isSetStatement()) { this.statement = other.statement; } if (other.isSetConfOverlay()) { Map<String,String> __this__confOverlay = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.confOverlay.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__confOverlay_copy_key = other_element_key; String __this__confOverlay_copy_value = other_element_value; __this__confOverlay.put(__this__confOverlay_copy_key, __this__confOverlay_copy_value); } this.confOverlay = __this__confOverlay; } this.runAsync = other.runAsync; }
/** 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(); case STATEMENT: return isSetStatement(); case CONF_OVERLAY: return isSetConfOverlay(); case RUN_ASYNC: return isSetRunAsync(); } 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(); case STATEMENT: return isSetStatement(); case CONF_OVERLAY: return isSetConfOverlay(); case RUN_ASYNC: return isSetRunAsync(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public TExecuteStatementReq(TExecuteStatementReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } if (other.isSetStatement()) { this.statement = other.statement; } if (other.isSetConfOverlay()) { Map<String,String> __this__confOverlay = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.confOverlay.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__confOverlay_copy_key = other_element_key; String __this__confOverlay_copy_value = other_element_value; __this__confOverlay.put(__this__confOverlay_copy_key, __this__confOverlay_copy_value); } this.confOverlay = __this__confOverlay; } this.runAsync = other.runAsync; }
/** 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(); case STATEMENT: return isSetStatement(); case CONF_OVERLAY: return isSetConfOverlay(); case RUN_ASYNC: return isSetRunAsync(); } 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(); case STATEMENT: return isSetStatement(); case CONF_OVERLAY: return isSetConfOverlay(); case RUN_ASYNC: return isSetRunAsync(); } throw new IllegalStateException(); }
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; 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; 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; 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))
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()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' 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()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' 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()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' 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()); } if (!isSetStatement()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statement' is unset! Struct:" + toString()); } // check for sub-struct validity if (sessionHandle != null) { sessionHandle.validate(); } }