Documentation ¶
Index ¶
- Constants
- func MakeErrConcurrentPageAccess() error
- type Index
- func (i *Index) Add(z *sku.Transacted, v string, mode objekte_mode.Mode) (err error)
- func (i *Index) Flush(printerHeader interfaces.FuncIter[string]) (err error)
- func (i *Index) GetPagePair(n uint8) (p *Page)
- func (i *Index) GetProbeIndex() *probe_index
- func (i *Index) Initialize() (err error)
- func (i *Index) PageForObjectId(h ids.IdLike) (n uint8, err error)
- func (i *Index) PageForSha(s interfaces.Sha) (n uint8, err error)
- func (i *Index) PageForString(s string) (n uint8, err error)
- func (s *Index) ReadOneObjectId(id string, sk *sku.Transacted) (err error)
- func (s *Index) ReadOneObjectIdTai(k interfaces.ObjectId, t ids.Tai) (sk *sku.Transacted, err error)
- func (s *Index) ReadOneSha(sh *sha.Sha, sk *sku.Transacted) (err error)
- func (i *Index) ReadQuery(qg sku.PrimitiveQueryGroup, w interfaces.FuncIter[*sku.Transacted]) (err error)
- func (i *Index) SetNeedsFlushHistory(changes []string)
- type ObjectIdShaMap
- type Page
- type PageDelegate
- type PageDelegateGetter
- type PageId
- type State
Constants ¶
View Source
const ( StateUnread = State(iota) StateChanged )
View Source
const ( DigitWidth = 1 PageCount = 1 << (DigitWidth * 4) )
Variables ¶
This section is empty.
Functions ¶
func MakeErrConcurrentPageAccess ¶
func MakeErrConcurrentPageAccess() error
Types ¶
type Index ¶
type Index struct { interfaces.CacheIOFactory // contains filtered or unexported fields }
func (*Index) Add ¶
func (i *Index) Add( z *sku.Transacted, v string, mode objekte_mode.Mode, ) (err error)
func (*Index) Flush ¶
func (i *Index) Flush( printerHeader interfaces.FuncIter[string], ) (err error)
func (*Index) GetPagePair ¶
func (*Index) GetProbeIndex ¶
func (i *Index) GetProbeIndex() *probe_index
func (*Index) Initialize ¶
func (*Index) PageForSha ¶
func (i *Index) PageForSha(s interfaces.Sha) (n uint8, err error)
func (*Index) ReadOneObjectId ¶
func (s *Index) ReadOneObjectId( id string, sk *sku.Transacted, ) (err error)
func (*Index) ReadOneObjectIdTai ¶
func (s *Index) ReadOneObjectIdTai( k interfaces.ObjectId, t ids.Tai, ) (sk *sku.Transacted, err error)
func (*Index) ReadOneSha ¶
func (*Index) ReadQuery ¶
func (i *Index) ReadQuery( qg sku.PrimitiveQueryGroup, w interfaces.FuncIter[*sku.Transacted], ) (err error)
func (*Index) SetNeedsFlushHistory ¶
type ObjectIdShaMap ¶
type ObjectIdShaMap map[string]skuWithRangeAndSigil
type Page ¶
type Page struct { PageId // contains filtered or unexported fields }
func (*Page) CopyJustHistory ¶
func (pt *Page) CopyJustHistory( s sku.PrimitiveQueryGroup, w interfaces.FuncIter[*sku.Transacted], ) (err error)
func (Page) Initialize ¶
type PageDelegate ¶
type PageDelegate interface { ShouldAddVerzeichnisse(*sku.Transacted) error ShouldFlushVerzeichnisse(*sku.Transacted) error }
type PageDelegateGetter ¶
type PageDelegateGetter interface {
GetVerzeichnissePageDelegate(uint8) PageDelegate
}
Click to show internal directories.
Click to hide internal directories.