MCPcopy
hub / github.com/dosco/graphjin / Executor

Interface Executor

cassandradriver/resolve.go:29–32  ·  view source on GitHub ↗

Executor is the seam between the pure planner/assembler and the real database. M1 tests supply a fake; M2 implements it over *gocql.Session.

Source from the content-addressed store, hash-verified

27// Executor is the seam between the pure planner/assembler and the real database.
28// M1 tests supply a fake; M2 implements it over *gocql.Session.
29type Executor interface {
30 Query(ctx context.Context, stmt Statement) (ResultSet, error)
31 Exec(ctx context.Context, stmt Statement) (ResultSet, error)
32}
33
34const (
35 defaultChunkSize = 100

Callers

nothing calls this directly

Implementers 12

MyStmtwasm/mysql.go
PgStmtwasm/postgres.go
gocqlExecutorcassandradriver/executor.go
fakeExecutorcassandradriver/resolve_test.go
Stmtcassandradriver/conn.go
fakeExecclickhousedriver/resolve_test.go
Stmtclickhousedriver/conn.go
sqlExecutorclickhousedriver/resolve.go
stmttests/bigquerylive/driver.go
stmttests/hostedemu/hostedemu.go
Stmtmongodriver/conn.go
stmthostedemu/hostedemu.go

Calls

no outgoing calls

Tested by

no test coverage detected