From a8b465f266fbf7a7e56bc70f4c778305b4ad5d44 Mon Sep 17 00:00:00 2001 From: Christian Haudum Date: Thu, 19 Sep 2024 15:38:43 +0200 Subject: [PATCH] Remove unused spec.go file Signed-off-by: Christian Haudum --- pkg/storage/bloom/spec.go | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 pkg/storage/bloom/spec.go diff --git a/pkg/storage/bloom/spec.go b/pkg/storage/bloom/spec.go deleted file mode 100644 index 19f5940ddfbc2..0000000000000 --- a/pkg/storage/bloom/spec.go +++ /dev/null @@ -1,29 +0,0 @@ -package bloom - -import "github.com/prometheus/common/model" - -type Metadata interface { - Version() uint32 - NumSeries() uint64 - NumChunks() uint64 - Size() uint64 // bytes - - // timestamps - From() int64 - Through() int64 - - // series - FromFingerprint() model.Fingerprint - ThroughFingerprint() model.Fingerprint -} - -type Iterator[K any, V any] interface { - Next() bool - Err() error - At() V - Seek(K) Iterator[K, V] -} - -type Block interface { - SeriesIterator() Iterator[model.Fingerprint, []byte] -}