MCPcopy Create free account
hub / github.com/brimdata/super / NewContext

Function NewContext

runtime/context.go:21–28  ·  view source on GitHub ↗
(ctx context.Context, sctx *super.Context)

Source from the content-addressed store, hash-verified

19}
20
21func NewContext(ctx context.Context, sctx *super.Context) *Context {
22 ctx, cancel := context.WithCancel(ctx)
23 return &Context{
24 Context: ctx,
25 cancel: cancel,
26 Sctx: sctx,
27 }
28}
29
30func DefaultContext() *Context {
31 return NewContext(context.Background(), super.NewContext())

Callers 11

runOneBoomerangFunction · 0.92
compileExprFunction · 0.92
EvalAtCompileTimeFunction · 0.92
RunMethod · 0.92
CompactFunction · 0.92
runCasesHelperFunction · 0.92
newQueryOnOrderedReaderFunction · 0.92
DeleteWhereMethod · 0.92
DefaultContextFunction · 0.70
CompileQueryFunction · 0.70
CompileQueryForDBFunction · 0.70

Calls

no outgoing calls

Tested by 3

runOneBoomerangFunction · 0.74
runCasesHelperFunction · 0.74
newQueryOnOrderedReaderFunction · 0.74