mirror of
https://github.com/nikdoof/vsphere-influxdb-go.git
synced 2025-12-20 05:59:21 +00:00
add vendoring with go dep
This commit is contained in:
18
vendor/github.com/influxdata/influxdb/pkg/estimator/sketch.go
generated
vendored
Normal file
18
vendor/github.com/influxdata/influxdb/pkg/estimator/sketch.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package estimator
|
||||
|
||||
import "encoding"
|
||||
|
||||
// Sketch is the interface representing a sketch for estimating cardinality.
|
||||
type Sketch interface {
|
||||
// Add adds a single value to the sketch.
|
||||
Add(v []byte)
|
||||
|
||||
// Count returns a cardinality estimate for the sketch.
|
||||
Count() uint64
|
||||
|
||||
// Merge merges another sketch into this one.
|
||||
Merge(s Sketch) error
|
||||
|
||||
encoding.BinaryMarshaler
|
||||
encoding.BinaryUnmarshaler
|
||||
}
|
||||
Reference in New Issue
Block a user