Documentation ¶
Index ¶
- func FindAncestry(tx *sql.Tx, name string) (database.Ancestry, bool, error)
- func FindAncestryDetectors(tx *sql.Tx, id int64) ([]database.Detector, error)
- func FindAncestryFeatures(tx *sql.Tx, ancestryID int64, detectors detector.DetectorMap) (map[int64][]database.AncestryFeature, error)
- func FindAncestryID(tx *sql.Tx, name string) (int64, bool, error)
- func FindAncestryLayerHashes(tx *sql.Tx, ancestryID int64) (map[int64]string, error)
- func FindAncestryLayers(tx *sql.Tx, id int64) ([]database.AncestryLayer, error)
- func InsertAncestry(tx *sql.Tx, name string) (int64, error)
- func InsertAncestryDetectors(tx *sql.Tx, ancestryID int64, detectorIDs []int64) error
- func InsertAncestryFeatures(tx *sql.Tx, ancestryLayerID int64, layer database.AncestryLayer) error
- func InsertAncestryLayers(tx *sql.Tx, ancestryID int64, layers []int64) ([]int64, error)
- func RemoveAncestry(tx *sql.Tx, name string) error
- func UpsertAncestry(tx *sql.Tx, ancestry database.Ancestry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAncestryDetectors ¶
func FindAncestryFeatures ¶
func FindAncestryFeatures(tx *sql.Tx, ancestryID int64, detectors detector.DetectorMap) (map[int64][]database.AncestryFeature, error)
func FindAncestryLayerHashes ¶
func FindAncestryLayers ¶
func InsertAncestryDetectors ¶
func InsertAncestryFeatures ¶
func InsertAncestryLayers ¶
insertAncestryLayers inserts the ancestry layers along with its content into the database. The layers are 0 based indexed in the original order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.