database

package
v0.0.0-...-25a2eff Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	InsertData(triples string) (err error)

	DeleteDeviceType(s string) (err error)
	DeleteConcept(s string, withNested bool) (err error)
	DeleteCharacteristic(s string) (err error)
	DeleteSubject(s string, rdftype string) (err error)

	GetDeviceType(deviceTypeId string, filter []model.DeviceTypesFilter) (rdfxml string, err error)
	GetDeviceClassesFunctions(s string) (rdfxml string, err error)
	GetDeviceClassesControllingFunctions(s string) (rdfxml string, err error)
	GetDeviceClassesWithControllingFunctions() (rdfxml string, err error)
	GetAspectsMeasuringFunctions(s string) (rdfxml string, err error)
	GetAspectsWithMeasuringFunction() (rdfxml string, err error)
	GetWithoutSubProperties(s string) (rdfxml string, err error)
	GetListWithoutSubProperties(p string, o string) (rdfxml string, err error)
	GetFunctionsWithoutSubPropertiesLimitOffsetSearch(limit int, offset int, search string, direction string) (rdfxml string, totalcount string, err error)
	GetWithAllSubProperties(s string) (rdfxml string, err error)
	GetLeafCharacteristics() (rdfxml string, err error)
	GetSubject(s string, rdftype string) (rdfxml string, err error)
}

func New

func New(conf config.Config) (db Database, err error)

Directories

Path Synopsis
rdf

Jump to

Keyboard shortcuts

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