MCPcopy Create free account
hub / github.com/rilldata/rill / Deps

Method Deps

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

Deps should return the resource names that the query targets. It's used to invalidate cached queries when the underlying data changes. If a dependency doesn't exist, it is ignored. (So if the underlying resource kind is unknown, it can return all possible dependency names.)

()

Source from the content-addressed store, hash-verified

56 // It's used to invalidate cached queries when the underlying data changes.
57 // If a dependency doesn't exist, it is ignored. (So if the underlying resource kind is unknown, it can return all possible dependency names.)
58 Deps() []*runtimev1.ResourceName
59 // MarshalResult should return the query result and estimated cost in bytes for caching
60 MarshalResult() *QueryResult
61 // UnmarshalResult should populate a query with a cached result

Callers 1

QueryMethod · 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

no test coverage detected