/** * Performs a deep copy on <i>other</i>. */ public TCloseSessionResp(TCloseSessionResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
/** * Performs a deep copy on <i>other</i>. */ public TCloseOperationResp(TCloseOperationResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
/** * Performs a deep copy on <i>other</i>. */ public TCancelDelegationTokenResp(TCancelDelegationTokenResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
/** * Performs a deep copy on <i>other</i>. */ public TCancelOperationResp(TCancelOperationResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
private TStatus notSupportTokenErrorStatus() { TStatus errorStatus = new TStatus(TStatusCode.ERROR_STATUS); errorStatus.setErrorMessage("Delegation token is not supported"); return errorStatus; }
/** * Performs a deep copy on <i>other</i>. */ public TCancelOperationResp(TCancelOperationResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCloseOperationResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCloseOperationResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCancelOperationResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCloseSessionResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetDelegationTokenResp(TGetDelegationTokenResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetDelegationToken()) { this.delegationToken = other.delegationToken; } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TCancelOperationResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); } }
/** * 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 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 TGetInfoResp(TGetInfoResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetInfoValue()) { this.infoValue = new TGetInfoValue(other.infoValue); } }
/** * 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 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 TGetResultSetMetadataResp(TGetResultSetMetadataResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetSchema()) { this.schema = new TTableSchema(other.schema); } }
/** * 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); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TGetInfoResp struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.status = new TStatus(); struct.status.read(iprot); struct.setStatusIsSet(true); struct.infoValue = new TGetInfoValue(); struct.infoValue.read(iprot); struct.setInfoValueIsSet(true); } }