btree

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRecycler

func NewRecycler() btree.RecyclerRepository

func NewStoreRepository

func NewStoreRepository() btree.StoreRepository

Types

type CC

type CC cass.Connection

func (*CC) Add

func (conn *CC) Add(vid btree.Handle) error

func (*CC) Get

func (conn *CC) Get(logicalID btree.UUID) (btree.Handle, error)

func (*CC) NewUUID

func (conn *CC) NewUUID() btree.UUID

NewUUID generates a new globally unique and time based UUID.

func (*CC) Remove

func (conn *CC) Remove(logicalID btree.UUID) error

func (*CC) Update

func (conn *CC) Update(vid btree.Handle) error

type Recyclable

type Recyclable struct {
	Year  int
	Month int
	Day   int
	Hour  int
	btree.Recyclable
}

func (Recyclable) Add

func (Recyclable) Add(recyclable []btree.Recyclable) error

func (Recyclable) Get

func (Recyclable) Get(batch int, objectType int) []btree.Recyclable

func (Recyclable) Remove

func (Recyclable) Remove(items []btree.Recyclable) error
func (Recyclable) Update(*btree.Recyclable) error{
	return nil;
}

type Store

type Store btree.Store

func (Store) Add

func (Store) Add(source btree.Store) error

func (Store) Get

func (Store) Get(name string) (btree.Store, error)

func (Store) Remove

func (Store) Remove(name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL