-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathBridgeMethods.js
More file actions
104 lines (83 loc) · 2.54 KB
/
Copy pathBridgeMethods.js
File metadata and controls
104 lines (83 loc) · 2.54 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
'use strict';
/**
* BridgeMethods Class provides a framework for all HarperBridge method classes
*/
class BridgeMethods {
/** @param {...any} args */
createSchema(...args) {
throw new Error('createSchema bridge method is not defined');
}
/** @param {...any} args */
dropSchema(...args) {
throw new Error('dropSchema bridge method is not defined');
}
/** @param {...any} args */
createTable(...args) {
throw new Error('createTable bridge method is not defined');
}
/** @param {...any} args */
dropTable(...args) {
throw new Error('dropTable bridge method is not defined');
}
/** @param {...any} args */
createRecords(...args) {
throw new Error('createRecords bridge method is not defined');
}
/** @param {...any} args */
updateRecords(...args) {
throw new Error('updateRecords bridge method is not defined');
}
/** @param {...any} args */
async upsertRecords(...args) {
throw new Error('upsertRecords bridge method is not defined');
}
/** @param {...any} args */
deleteRecords(...args) {
throw new Error('deleteRecords bridge method is not defined');
}
/** @param {...any} args */
createAttribute(...args) {
throw new Error('createAttribute bridge method is not defined');
}
/** @param {...any} args */
dropAttribute(...args) {
throw new Error('dropAttribute bridge method is not defined');
}
/** @param {...any} args */
searchByConditions(...args) {
throw new Error('searchByConditions bridge method is not defined');
}
/** @param {...any} args */
searchByHash(...args) {
throw new Error('searchByHash bridge method is not defined');
}
/** @param {...any} args */
searchByValue(...args) {
throw new Error('searchByValue bridge method is not defined');
}
/** @param {...any} args */
getDataByHash(...args) {
throw new Error('getDataByHash bridge method is not defined');
}
/** @param {...any} args */
async getDataByValue(...args) {
throw new Error('getDataByValue bridge method is not defined');
}
/** @param {...any} args */
async deleteRecordsBefore(...args) {
throw new Error('deleteRecordsBefore bridge method is not defined');
}
/** @param {...any} args */
async deleteAuditLogsBefore(...args) {
throw new Error('deleteAuditLogsBefore bridge method is not defined');
}
/** @param {...any} args */
async deleteTransactionLogsBefore(...args) {
throw new Error('deleteTransactionLogsBefore bridge method is not defined');
}
/** @param {...any} args */
async readAuditLog(...args) {
throw new Error('readAuditLog bridge method is not defined');
}
}
module.exports = BridgeMethods;