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

Method Key

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

Key should return a cache key that uniquely identifies the query

()

Source from the content-addressed store, hash-verified

52type Query interface {
53 // Key should return a cache key that uniquely identifies the query
54 Key() string
55 // Deps should return the resource names that the query targets.
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.)

Callers 3

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