@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(); }
if (isSetRunAsync()) { if (!first) sb.append(", "); sb.append("runAsync:");
if (isSetRunAsync()) { if (!first) sb.append(", "); sb.append("runAsync:");
@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(); }
/** 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(); }
/** 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(); }
if (struct.isSetRunAsync()) { oprot.writeFieldBegin(RUN_ASYNC_FIELD_DESC); oprot.writeBool(struct.runAsync);
if (struct.isSetRunAsync()) { oprot.writeFieldBegin(RUN_ASYNC_FIELD_DESC); oprot.writeBool(struct.runAsync);
if (struct.isSetRunAsync()) { oprot.writeFieldBegin(RUN_ASYNC_FIELD_DESC); oprot.writeBool(struct.runAsync);
if (struct.isSetRunAsync()) { oprot.writeFieldBegin(RUN_ASYNC_FIELD_DESC); oprot.writeBool(struct.runAsync);
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.sessionHandle.write(oprot); oprot.writeString(struct.statement); BitSet optionals = new BitSet(); if (struct.isSetConfOverlay()) { optionals.set(0); } if (struct.isSetRunAsync()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetConfOverlay()) { { oprot.writeI32(struct.confOverlay.size()); for (Map.Entry<String, String> _iter167 : struct.confOverlay.entrySet()) { oprot.writeString(_iter167.getKey()); oprot.writeString(_iter167.getValue()); } } } if (struct.isSetRunAsync()) { oprot.writeBool(struct.runAsync); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.sessionHandle.write(oprot); oprot.writeString(struct.statement); BitSet optionals = new BitSet(); if (struct.isSetConfOverlay()) { optionals.set(0); } if (struct.isSetRunAsync()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetConfOverlay()) { { oprot.writeI32(struct.confOverlay.size()); for (Map.Entry<String, String> _iter167 : struct.confOverlay.entrySet()) { oprot.writeString(_iter167.getKey()); oprot.writeString(_iter167.getValue()); } } } if (struct.isSetRunAsync()) { oprot.writeBool(struct.runAsync); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.sessionHandle.write(oprot); oprot.writeString(struct.statement); BitSet optionals = new BitSet(); if (struct.isSetConfOverlay()) { optionals.set(0); } if (struct.isSetRunAsync()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetConfOverlay()) { { oprot.writeI32(struct.confOverlay.size()); for (Map.Entry<String, String> _iter167 : struct.confOverlay.entrySet()) { oprot.writeString(_iter167.getKey()); oprot.writeString(_iter167.getValue()); } } } if (struct.isSetRunAsync()) { oprot.writeBool(struct.runAsync); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.sessionHandle.write(oprot); oprot.writeString(struct.statement); BitSet optionals = new BitSet(); if (struct.isSetConfOverlay()) { optionals.set(0); } if (struct.isSetRunAsync()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetConfOverlay()) { { oprot.writeI32(struct.confOverlay.size()); for (Map.Entry<String, String> _iter167 : struct.confOverlay.entrySet()) { oprot.writeString(_iter167.getKey()); oprot.writeString(_iter167.getValue()); } } } if (struct.isSetRunAsync()) { oprot.writeBool(struct.runAsync); } }
boolean this_present_runAsync = true && this.isSetRunAsync(); boolean that_present_runAsync = true && that.isSetRunAsync(); if (this_present_runAsync || that_present_runAsync) { if (!(this_present_runAsync && that_present_runAsync))
boolean this_present_runAsync = true && this.isSetRunAsync(); boolean that_present_runAsync = true && that.isSetRunAsync(); if (this_present_runAsync || that_present_runAsync) { if (!(this_present_runAsync && that_present_runAsync))