Documentation ¶
Index ¶
- func NewSampleTable() *sampleTable
- type Metric
- type Sample
- func (s *Sample) AddHitCount(hitCount int)
- func (s *Sample) AddSample(other *Sample) error
- func (s *Sample) HitCount() int
- func (s *Sample) Key() *SampleKey
- func (s *Sample) Metric(i int) (Metric, error)
- func (s *Sample) Metrics() []Metric
- func (s *Sample) SetMetric(metricIndex int, value float64) error
- type SampleKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSampleTable ¶
func NewSampleTable() *sampleTable
Types ¶
type Sample ¶
type Sample struct {
// contains filtered or unexported fields
}
func (*Sample) AddHitCount ¶
type SampleKey ¶
type SampleKey struct {
// contains filtered or unexported fields
}
SampleTableKey is composite key which is constructed from multiple integers. Each key part integer is encoded into byte array with bit size accuracy.
func NewSampleKey ¶
func (*SampleKey) AsStringKey ¶
func (*SampleKey) GetKeyParts ¶
Click to show internal directories.
Click to hide internal directories.