/** * Performs a deep copy on <i>other</i>. */ public TGetResultSetMetadataReq(TGetResultSetMetadataReq other) { if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetOperationStatusReq(TGetOperationStatusReq other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } this.getProgressUpdate = other.getProgressUpdate; }
/** * Performs a deep copy on <i>other</i>. */ public TCloseOperationReq(TCloseOperationReq other) { if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TCancelOperationReq(TCancelOperationReq other) { if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetQueryIdReq(TGetQueryIdReq other) { if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCloseOperationReq struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.operationHandle = new TOperationHandle(); struct.operationHandle.read(iprot); struct.setOperationHandleIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCancelOperationReq struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.operationHandle = new TOperationHandle(); struct.operationHandle.read(iprot); struct.setOperationHandleIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TGetQueryIdReq struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.operationHandle = new TOperationHandle(); struct.operationHandle.read(iprot); struct.setOperationHandleIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TGetResultSetMetadataReq struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.operationHandle = new TOperationHandle(); struct.operationHandle.read(iprot); struct.setOperationHandleIsSet(true); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetSchemasResp(TGetSchemasResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetFunctionsResp(TGetFunctionsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TExecuteStatementResp(TExecuteStatementResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetTypeInfoResp(TGetTypeInfoResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetTableTypesResp(TGetTableTypesResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetTablesResp(TGetTablesResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCrossReferenceResp(TGetCrossReferenceResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsResp(TGetCatalogsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetPrimaryKeysResp(TGetPrimaryKeysResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetColumnsResp(TGetColumnsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
public TOperationHandle toTOperationHandle() { TOperationHandle tOperationHandle = new TOperationHandle(); tOperationHandle.setOperationId(getHandleIdentifier().toTHandleIdentifier()); tOperationHandle.setOperationType(opType.toTOperationType()); tOperationHandle.setHasResultSet(hasResultSet); return tOperationHandle; }