patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -16,6 +16,7 @@
#include "rpc/obrpc/ob_rpc_processor.h"
#include "sql/dtl/ob_dtl_rpc_proxy.h"
#include "rpc/obrpc/ob_rpc_proxy.h"
#include "ob_dtl_interm_result_manager.h"
namespace oceanbase {
namespace sql {
@ -24,23 +25,33 @@ namespace dtl {
class ObDtlLinkedBuffer;
class ObDtlChannel;
class ObDtlSendMessageP : public obrpc::ObRpcProcessor<obrpc::ObDtlRpcProxy::ObRpc<obrpc::OB_DTL_SEND> > {
class ObDtlSendMessageP
: public obrpc::ObRpcProcessor< obrpc::ObDtlRpcProxy::ObRpc<obrpc::OB_DTL_SEND> >
{
public:
virtual int process() final;
static int process_msg(ObDtlRpcDataResponse& response, ObDtlSendArgs& args);
static int process_interm_result(ObDtlSendArgs& arg);
static int process_msg(ObDtlRpcDataResponse &response, ObDtlSendArgs &args);
static int process_interm_result(ObDtlSendArgs &arg);
static int process_interm_result_inner(ObDtlLinkedBuffer &buffer,
ObDTLIntermResultKey &key,
int64_t start_pos,
int64_t length,
int64_t rows,
bool is_eof,
bool append_whole_block);
private:
static int process_px_bloom_filter_data(ObDtlLinkedBuffer*& buffer);
static int process_px_bloom_filter_data(ObDtlLinkedBuffer *&buffer);
};
class ObDtlBCSendMessageP : public obrpc::ObRpcProcessor<obrpc::ObDtlRpcProxy::ObRpc<obrpc::OB_DTL_BC_SEND> > {
class ObDtlBCSendMessageP
: public obrpc::ObRpcProcessor< obrpc::ObDtlRpcProxy::ObRpc<obrpc::OB_DTL_BC_SEND> >
{
public:
virtual int process() final;
};
} // namespace dtl
} // namespace sql
} // namespace oceanbase
} // dtl
} // sql
} // oceanbase
#endif /* OB_DTL_RPC_PROCESSOR_H */