-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAbstractDB.py
73 lines (55 loc) · 1.97 KB
/
AbstractDB.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
'''
Created on 21.01.2014
@author: uwe schilling
'''
class AbstractDB(object):
'''
classdocs test
'''
def __init__(self):
'''
Constructor
'''
return None
def addUser(self, userName, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def addJob(self, jobID, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def addGlobal(self, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def addMDS(self, MDS_name, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def addOSS(self, OSS_name, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def addMDT(self, OSS_name, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def addOST(self, OSS_name, timeStamp, WR_MB, RD_MB, REQS):
print self.__class__.__name__
raise NotImplementedError()
def insert_timestamp(self, timestamp):
print self.__class__.__name__
raise NotImplementedError()
def insert_source(self, source):
print self.__class__.__name__
raise NotImplementedError()
def insert_server(self, server, stype):
print self.__class__.__name__
raise NotImplementedError()
def add_nid_server(self, server, nid_name):
print self.__class__.__name__
raise NotImplementedError()
def getNidID(self, server, i):
print self.__class__.__name__
raise NotImplementedError()
def insert_nid(self, server, timestamp, source, nidvals, nidid):
print self.__class__.__name__
raise NotImplementedError()
def insert_nis_server(self, server, nid_name):
print self.__class__.__name__
raise NotImplementedError()