-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plumbining in initial Grid/Distributed tests, grid-nodes
- Loading branch information
Aaron Raddon
committed
Jan 25, 2016
1 parent
808dbe3
commit 64ca6bf
Showing
19 changed files
with
338 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package planner | ||
|
||
import ( | ||
u "github.com/araddon/gou" | ||
|
||
"github.com/araddon/qlbridge/exec" | ||
"github.com/araddon/qlbridge/rel" | ||
|
||
"github.com/dataux/dataux/planner/gridrunner" | ||
) | ||
|
||
var ( | ||
// ensure it meets visitor | ||
_ rel.Visitor = (*SqlJob)(nil) | ||
|
||
_ = u.EMPTY | ||
) | ||
|
||
// Sql job that wraps the generic qlbridge job builder | ||
type SqlJob struct { | ||
*exec.JobBuilder | ||
Grid *gridrunner.Server | ||
Visitor rel.Visitor | ||
runner exec.TaskRunners | ||
} | ||
|
||
// Many of the ShowMethods are MySql dialect specific so will be replaced here | ||
func (m *SqlJob) VisitShow(stmt *rel.SqlShow) (rel.Task, rel.VisitStatus, error) { | ||
u.Debugf("planner.VisitShow create?%v identity=%q raw=%s", stmt.Create, stmt.Identity, stmt.Raw) | ||
return m.JobBuilder.VisitShow(stmt) | ||
} |
Oops, something went wrong.