16 #ifndef PFS_COLUMN_TYPES_H
17 #define PFS_COLUMN_TYPES_H
25 #define COL_OBJECT_SCHEMA_SIZE 64
36 #define COL_OBJECT_NAME_EXTENDED_SIZE 512
39 #define COL_OBJECT_NAME_SIZE 64
42 #define COL_INDEX_NAME_SIZE 64
51 #define COL_INFO_SIZE 1024
54 #define COL_SOURCE_SIZE 64
57 #define COL_DIGEST_SIZE 64
60 #define COL_DIGEST_TEXT_SIZE 1024
71 TIMER_NAME_NANOSEC= 2,
72 TIMER_NAME_MICROSEC= 3,
73 TIMER_NAME_MILLISEC= 4,
78 #define FIRST_TIMER_NAME (static_cast<int> (TIMER_NAME_CYCLE))
80 #define LAST_TIMER_NAME (static_cast<int> (TIMER_NAME_TICK))
82 #define COUNT_TIMER_NAME (LAST_TIMER_NAME - FIRST_TIMER_NAME + 1)
107 OPERATION_TYPE_LOCK= 1,
108 OPERATION_TYPE_TRYLOCK= 2,
111 OPERATION_TYPE_READLOCK= 3,
112 OPERATION_TYPE_WRITELOCK= 4,
113 OPERATION_TYPE_TRYREADLOCK= 5,
114 OPERATION_TYPE_TRYWRITELOCK= 6,
117 OPERATION_TYPE_WAIT= 7,
118 OPERATION_TYPE_TIMEDWAIT= 8,
121 OPERATION_TYPE_FILECREATE= 9,
122 OPERATION_TYPE_FILECREATETMP= 10,
123 OPERATION_TYPE_FILEOPEN= 11,
124 OPERATION_TYPE_FILESTREAMOPEN= 12,
125 OPERATION_TYPE_FILECLOSE= 13,
126 OPERATION_TYPE_FILESTREAMCLOSE= 14,
127 OPERATION_TYPE_FILEREAD= 15,
128 OPERATION_TYPE_FILEWRITE= 16,
129 OPERATION_TYPE_FILESEEK= 17,
130 OPERATION_TYPE_FILETELL= 18,
131 OPERATION_TYPE_FILEFLUSH= 19,
132 OPERATION_TYPE_FILESTAT= 20,
133 OPERATION_TYPE_FILEFSTAT= 21,
134 OPERATION_TYPE_FILECHSIZE= 22,
135 OPERATION_TYPE_FILEDELETE= 23,
136 OPERATION_TYPE_FILERENAME= 24,
137 OPERATION_TYPE_FILESYNC= 25,
140 OPERATION_TYPE_TABLE_FETCH= 26,
141 OPERATION_TYPE_TABLE_WRITE_ROW= 27,
142 OPERATION_TYPE_TABLE_UPDATE_ROW= 28,
143 OPERATION_TYPE_TABLE_DELETE_ROW= 29,
146 OPERATION_TYPE_TL_READ_NORMAL= 30,
147 OPERATION_TYPE_TL_READ_WITH_SHARED_LOCKS= 31,
148 OPERATION_TYPE_TL_READ_HIGH_PRIORITY= 32,
149 OPERATION_TYPE_TL_READ_NO_INSERTS= 33,
150 OPERATION_TYPE_TL_WRITE_ALLOW_WRITE= 34,
151 OPERATION_TYPE_TL_WRITE_CONCURRENT_INSERT= 35,
152 OPERATION_TYPE_TL_WRITE_DELAYED= 36,
153 OPERATION_TYPE_TL_WRITE_LOW_PRIORITY= 37,
154 OPERATION_TYPE_TL_WRITE_NORMAL= 38,
155 OPERATION_TYPE_TL_READ_EXTERNAL= 39,
156 OPERATION_TYPE_TL_WRITE_EXTERNAL= 40,
159 OPERATION_TYPE_SOCKETCREATE = 41,
160 OPERATION_TYPE_SOCKETCONNECT = 42,
161 OPERATION_TYPE_SOCKETBIND = 43,
162 OPERATION_TYPE_SOCKETCLOSE = 44,
163 OPERATION_TYPE_SOCKETSEND = 45,
164 OPERATION_TYPE_SOCKETRECV = 46,
165 OPERATION_TYPE_SOCKETSENDTO = 47,
166 OPERATION_TYPE_SOCKETRECVFROM = 48,
167 OPERATION_TYPE_SOCKETSENDMSG = 49,
168 OPERATION_TYPE_SOCKETRECVMSG = 50,
169 OPERATION_TYPE_SOCKETSEEK = 51,
170 OPERATION_TYPE_SOCKETOPT = 52,
171 OPERATION_TYPE_SOCKETSTAT = 53,
172 OPERATION_TYPE_SOCKETSHUTDOWN = 54,
173 OPERATION_TYPE_SOCKETSELECT = 55,
176 OPERATION_TYPE_IDLE= 56
179 #define FIRST_OPERATION_TYPE (static_cast<int> (OPERATION_TYPE_LOCK))
181 #define LAST_OPERATION_TYPE (static_cast<int> (OPERATION_TYPE_IDLE))
183 #define COUNT_OPERATION_TYPE (LAST_OPERATION_TYPE - FIRST_OPERATION_TYPE + 1)
190 OBJECT_TYPE_TABLE= 1,
191 OBJECT_TYPE_TEMPORARY_TABLE= 2
194 #define FIRST_OBJECT_TYPE (static_cast<int> (OBJECT_TYPE_TABLE))
196 #define LAST_OBJECT_TYPE (static_cast<int> (OBJECT_TYPE_TEMPORARY_TABLE))
198 #define COUNT_OBJECT_TYPE (LAST_OBJECT_TYPE - FIRST_OBJECT_TYPE + 1)
209 EVENT_TYPE_STATEMENT= 1,
215 #define FIRST_EVENT_TYPE (static_cast<int> (EVENT_TYPE_STATEMENT))
217 #define LAST_EVENT_TYPE (static_cast<int> (EVENT_TYPE_WAIT))
219 #define COUNT_EVENT_TYPE (LAST_EVENT_TYPE - FIRST_EVENT_TYPE + 1)