Documentation
¶
Index ¶
- Constants
- type Backend
- func (b *Backend) Delete(segID common.RawBytes) (int, error)
- func (b *Backend) DeleteWithIntf(intf query.IntfSpec) (int, error)
- func (b *Backend) Get(params *query.Params) ([]*query.Result, error)
- func (b *Backend) Insert(pseg *seg.PathSegment, segTypes []seg.Type) (int, error)
- func (b *Backend) InsertWithHPCfgIDs(pseg *seg.PathSegment, segTypes []seg.Type, hpCfgIDs []*query.HPCfgID) (int, error)
Constants ¶
View Source
const ( // SchemaVersion is the version of the SQLite schema understood by this backend. // Whenever changes to the schema are made, this version number should be increased // to prevent data corruption between incompatible database schemas. SchemaVersion = 1 // Schema is the SQLite database layout. Schema = `` /* 1187-byte string literal not displayed */ SegmentsTable = "Segments" IntfToSegTable = "IntfToSeg" StartsAtTable = "StartsAt" EndsAtTable = "EndsAt" SegTypesTable = "SegTypes" HpCfgIdsTable = "HpCfgIds" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.