/** * 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 unsecureTokenErrorStatus() { TStatus errorStatus = new TStatus(TStatusCode.ERROR_STATUS); errorStatus.setErrorMessage("Delegation token only supported over remote " + "client with kerberos authentication"); return errorStatus; }
/** * 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 TSetClientInfoResp(TSetClientInfoResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
/** * Performs a deep copy on <i>other</i>. */ public TRenewDelegationTokenResp(TRenewDelegationTokenResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } }
@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); } }
@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, TRenewDelegationTokenResp 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, TCancelDelegationTokenResp 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 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 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 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 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 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 TExecuteStatementResp(TExecuteStatementResp 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); } }