Update methods for FilterIndexer

This commit is contained in:
TeoV
2017-12-19 17:35:36 +02:00
committed by Dan Christian Bogos
parent d3fb783d11
commit 8a42c224dd
11 changed files with 104 additions and 121 deletions

View File

@@ -118,10 +118,10 @@ type DataDB interface {
GetLoadHistory(int, bool, string) ([]*utils.LoadInstance, error)
AddLoadHistory(*utils.LoadInstance, int, string) error
GetFilterIndexesDrv(dbKey string, fldNameVal map[string]string) (indexes map[string]map[string]utils.StringMap, err error)
SetFilterIndexesDrv(dbKey string, indexes map[string]map[string]utils.StringMap, update bool) (err error)
SetFilterIndexesDrv(dbKey string, indexes map[string]map[string]utils.StringMap) (err error)
RemoveFilterIndexesDrv(id string) (err error)
GetFilterReverseIndexesDrv(dbKey string, fldNameVal map[string]string) (indexes map[string]map[string]utils.StringMap, err error)
SetFilterReverseIndexesDrv(dbKey string, indexes map[string]map[string]utils.StringMap, update bool) (err error)
SetFilterReverseIndexesDrv(dbKey string, indexes map[string]map[string]utils.StringMap) (err error)
RemoveFilterReverseIndexesDrv(dbKey, itemID string) (err error)
MatchFilterIndexDrv(dbKey, fieldName, fieldVal string) (itemIDs utils.StringMap, err error)
GetStatQueueProfileDrv(tenant string, ID string) (sq *StatQueueProfile, err error)