Documentation ¶
Index ¶
- type Interval
- type IntervalTree
- func (t *IntervalTree) BatchDelete(ctx context.Context, intervalList []*Interval) error
- func (t *IntervalTree) BatchInsert(ctx context.Context, kvmap map[*Interval]interface{}) error
- func (t *IntervalTree) Empty() bool
- func (t *IntervalTree) ListNode() (ch chan *KV)
- func (t *IntervalTree) Search(ctx context.Context, i *Interval) (*Interval, interface{}, error)
- func (t *IntervalTree) UpdateNode(ctx context.Context, i *Interval, value interface{}) error
- type KV
- type LeaderMgr
- type RBcolor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntervalTree ¶
type IntervalTree struct {
// contains filtered or unexported fields
}
func NewIntervalTree ¶
func NewIntervalTree(ctx context.Context) *IntervalTree
func (*IntervalTree) BatchDelete ¶
func (t *IntervalTree) BatchDelete(ctx context.Context, intervalList []*Interval) error
func (*IntervalTree) BatchInsert ¶
func (t *IntervalTree) BatchInsert(ctx context.Context, kvmap map[*Interval]interface{}) error
func (*IntervalTree) Empty ¶
func (t *IntervalTree) Empty() bool
func (*IntervalTree) ListNode ¶
func (t *IntervalTree) ListNode() (ch chan *KV)
func (*IntervalTree) UpdateNode ¶
func (t *IntervalTree) UpdateNode(ctx context.Context, i *Interval, value interface{}) error
Click to show internal directories.
Click to hide internal directories.