MCPcopy Create free account
hub / github.com/araddon/qlbridge / Source

Struct Source

datasource/mockcsv/mockcsv.go:57–62  ·  view source on GitHub ↗

Source DataSource for testing creates an in memory b-tree per "table". Is not thread safe.

Source from the content-addressed store, hash-verified

55// Source DataSource for testing creates an in memory b-tree per "table".
56// Is not thread safe.
57type Source struct {
58 s *schema.Schema
59 tablenamelist []string
60 tables map[string]*membtree.StaticDataSource
61 raw map[string]string
62}
63
64// Table converts the static csv-source into a schema.Conn source
65type Table struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected