-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathjoin_executor.go
More file actions
43 lines (36 loc) · 812 Bytes
/
join_executor.go
File metadata and controls
43 lines (36 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* Radon
*
* Copyright 2018 The Radon Authors.
* Code is licensed under the GPLv3.
*
*/
package executor
import (
"backend"
"planner"
"xcontext"
"github.com/pkg/errors"
"github.com/xelabs/go-mysqlstack/xlog"
)
var (
_ PlanExecutor = &JoinExecutor{}
)
// JoinExecutor represents join executor.
type JoinExecutor struct {
log *xlog.Log
node *planner.JoinNode
txn backend.Transaction
}
// NewJoinExecutor creates the new join executor.
func NewJoinExecutor(log *xlog.Log, node *planner.JoinNode, txn backend.Transaction) *JoinExecutor {
return &JoinExecutor{
log: log,
node: node,
txn: txn,
}
}
// execute used to execute the executor.
func (m *JoinExecutor) execute(reqCtx *xcontext.RequestContext, ctx *xcontext.ResultContext) error {
return errors.New("unsupported: join")
}