refactor: rename the store-side WindowAggregateReader interface to WindowAggregateStore (#17880)
parent
0d48f4c09a
commit
a7e3679aaf
|
|
@ -83,11 +83,11 @@ type Store interface {
|
|||
GetSource(orgID, bucketID uint64) proto.Message
|
||||
}
|
||||
|
||||
// WindowAggregateCapability describes what is supported by WindowAggregateReader.
|
||||
// WindowAggregateCapability describes what is supported by WindowAggregateStore.
|
||||
type WindowAggregateCapability struct{}
|
||||
|
||||
// WindowAggregateReader implements the WindowAggregate capability.
|
||||
type WindowAggregateReader interface {
|
||||
// WindowAggregateStore implements the WindowAggregate capability.
|
||||
type WindowAggregateStore interface {
|
||||
// HasWindowAggregateCapability checks if this Store supports the capability.
|
||||
// If WindowAggregateCapability is passed to the method, then the struct
|
||||
// is filled with a detailed list of what the RPC call supports.
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/go-chi/chi"
|
||||
"github.com/influxdata/influxdb/v2"
|
||||
ihttp "github.com/influxdata/influxdb/v2/http"
|
||||
"github.com/influxdata/influxdb/v2/kv"
|
||||
"github.com/influxdata/influxdb/v2/tenant"
|
||||
itesting "github.com/influxdata/influxdb/v2/testing"
|
||||
"github.com/influxdata/influxdb/v2"
|
||||
"go.uber.org/zap/zaptest"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue