MCPcopy Index your code
hub / github.com/rilldata/rill / Resolve

Method Resolve

runtime/query.go:65–65  ·  view source on GitHub ↗

Resolve should execute the query against the instance's infra. Error can be nil along with a nil result in general, i.e. when a model contains no rows aggregation results can be nil.

(ctx context.Context, rt *Runtime, instanceID string, priority int)

Source from the content-addressed store, hash-verified

63 // Resolve should execute the query against the instance's infra.
64 // Error can be nil along with a nil result in general, i.e. when a model contains no rows aggregation results can be nil.
65 Resolve(ctx context.Context, rt *Runtime, instanceID string, priority int) error
66 // Export resolves the query and serializes the result to the writer.
67 Export(ctx context.Context, rt *Runtime, instanceID string, w io.Writer, opts *ExportOptions) error
68}

Callers 15

AcquireHandleMethod · 0.65
QueryMethod · 0.65
ResolveTimestampResultFunction · 0.65
ResolveTemplateFunction · 0.65
HandlerMethod · 0.65
HandlerMethod · 0.65
HandlerMethod · 0.65
TestBuiltinSQLFunction · 0.65
TestBuiltinMetricsSQLFunction · 0.65
TestResourceStatusFunction · 0.65
ResolveInteractiveMethod · 0.65
resolveTimestampResultFunction · 0.65

Implementers 15

RollupIntervalruntime/queries/timeseries_interval.go
MetricsViewComparisonruntime/queries/metricsview_comparison
MetricsViewTotalsruntime/queries/metricsview_totals.go
MetricsViewTimeSeriesruntime/queries/metricsview_timeseries
MetricsViewSchemaruntime/queries/metricsview_schema.go
ColumnTimeGrainruntime/queries/column_time_grain.go
ColumnTopKruntime/queries/column_topk.go
ColumnDescriptiveStatisticsruntime/queries/column_desc_stats.go
ColumnTimeRangeruntime/queries/column_time_range.go
ColumnTimeseriesruntime/queries/column_timeseries.go
MetricsViewRowsruntime/queries/metricsview_rows.go
MetricsViewToplistruntime/queries/metricsview_toplist.go

Calls

no outgoing calls

Tested by 15

TestBuiltinSQLFunction · 0.52
TestBuiltinMetricsSQLFunction · 0.52
TestResourceStatusFunction · 0.52
resolveTextFunction · 0.52
TestSQLLimitFunction · 0.52
TestSimpleSQLApiFunction · 0.52
TestTemplateSQLApiFunction · 0.52
TestTemplateSQLApi2Function · 0.52
TestProjectStorageFunction · 0.52
TestSimpleMetricsSQLApiFunction · 0.52