Documentation
¶
Index ¶
- type TopK
- func (topk *TopK) Add(item string)
- func (topk *TopK) AddBytes(item []byte)
- func (topk *TopK) Count(item string) (uint64, bool)
- func (topk *TopK) CountBytes(item []byte) (uint64, bool)
- func (topk *TopK) List() []minheap.Node
- func (topk *TopK) Query(item string) (exist bool)
- func (topk *TopK) QueryBytes(item []byte) (exist bool)
- func (topk *TopK) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopK ¶
type TopK struct {
// contains filtered or unexported fields
}
func (*TopK) QueryBytes ¶
Click to show internal directories.
Click to hide internal directories.