@dbcube/core 3.0.4 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +402 -149
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +25 -12
- package/dist/index.d.ts +25 -12
- package/dist/index.js +399 -147
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12,10 +12,6 @@ declare class Engine {
|
|
|
12
12
|
private arguments;
|
|
13
13
|
private binary;
|
|
14
14
|
private timeout;
|
|
15
|
-
private childProcess;
|
|
16
|
-
private pendingRequests;
|
|
17
|
-
private requestCounter;
|
|
18
|
-
private isProcessStarting;
|
|
19
15
|
constructor(name: string, timeout?: number);
|
|
20
16
|
initializeBinary(): Promise<void>;
|
|
21
17
|
setArguments(): any[];
|
|
@@ -23,14 +19,31 @@ declare class Engine {
|
|
|
23
19
|
[x: string]: any;
|
|
24
20
|
} | null;
|
|
25
21
|
getConfig(): any;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
private
|
|
22
|
+
run(binary: string, args: []): Promise<ResponseEngine>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class QueryEngine {
|
|
26
|
+
private name;
|
|
27
|
+
private config;
|
|
28
|
+
private arguments;
|
|
29
|
+
private binary;
|
|
30
|
+
private timeout;
|
|
31
|
+
private connectionId;
|
|
32
|
+
private tcpPort;
|
|
33
|
+
constructor(name: string, timeout?: number);
|
|
34
|
+
private generatePort;
|
|
35
|
+
initializeBinary(): Promise<void>;
|
|
36
|
+
setArguments(): any[];
|
|
37
|
+
setConfig(name: string): {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
} | null;
|
|
40
|
+
getConfig(): any;
|
|
31
41
|
run(binary: string, args: string[]): Promise<ResponseEngine>;
|
|
32
|
-
|
|
33
|
-
|
|
42
|
+
private executeWithTcpServer;
|
|
43
|
+
private startTcpServer;
|
|
44
|
+
private sendTcpRequest;
|
|
45
|
+
private createProcess;
|
|
46
|
+
disconnect(): Promise<ResponseEngine>;
|
|
34
47
|
}
|
|
35
48
|
|
|
36
49
|
interface SystemInfo {
|
|
@@ -356,4 +369,4 @@ declare class TriggerProcessor {
|
|
|
356
369
|
static getTriggers(name: string): Promise<any[]>;
|
|
357
370
|
}
|
|
358
371
|
|
|
359
|
-
export { Arquitecture, Binary, ComputedFieldProcessor, Config, DbConfig, Engine, FileLogger, type InterceptController, TableProcessor, TriggerProcessor };
|
|
372
|
+
export { Arquitecture, Binary, ComputedFieldProcessor, Config, DbConfig, Engine, FileLogger, type InterceptController, QueryEngine, TableProcessor, TriggerProcessor };
|
package/dist/index.d.ts
CHANGED
|
@@ -12,10 +12,6 @@ declare class Engine {
|
|
|
12
12
|
private arguments;
|
|
13
13
|
private binary;
|
|
14
14
|
private timeout;
|
|
15
|
-
private childProcess;
|
|
16
|
-
private pendingRequests;
|
|
17
|
-
private requestCounter;
|
|
18
|
-
private isProcessStarting;
|
|
19
15
|
constructor(name: string, timeout?: number);
|
|
20
16
|
initializeBinary(): Promise<void>;
|
|
21
17
|
setArguments(): any[];
|
|
@@ -23,14 +19,31 @@ declare class Engine {
|
|
|
23
19
|
[x: string]: any;
|
|
24
20
|
} | null;
|
|
25
21
|
getConfig(): any;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
private
|
|
22
|
+
run(binary: string, args: []): Promise<ResponseEngine>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class QueryEngine {
|
|
26
|
+
private name;
|
|
27
|
+
private config;
|
|
28
|
+
private arguments;
|
|
29
|
+
private binary;
|
|
30
|
+
private timeout;
|
|
31
|
+
private connectionId;
|
|
32
|
+
private tcpPort;
|
|
33
|
+
constructor(name: string, timeout?: number);
|
|
34
|
+
private generatePort;
|
|
35
|
+
initializeBinary(): Promise<void>;
|
|
36
|
+
setArguments(): any[];
|
|
37
|
+
setConfig(name: string): {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
} | null;
|
|
40
|
+
getConfig(): any;
|
|
31
41
|
run(binary: string, args: string[]): Promise<ResponseEngine>;
|
|
32
|
-
|
|
33
|
-
|
|
42
|
+
private executeWithTcpServer;
|
|
43
|
+
private startTcpServer;
|
|
44
|
+
private sendTcpRequest;
|
|
45
|
+
private createProcess;
|
|
46
|
+
disconnect(): Promise<ResponseEngine>;
|
|
34
47
|
}
|
|
35
48
|
|
|
36
49
|
interface SystemInfo {
|
|
@@ -356,4 +369,4 @@ declare class TriggerProcessor {
|
|
|
356
369
|
static getTriggers(name: string): Promise<any[]>;
|
|
357
370
|
}
|
|
358
371
|
|
|
359
|
-
export { Arquitecture, Binary, ComputedFieldProcessor, Config, DbConfig, Engine, FileLogger, type InterceptController, TableProcessor, TriggerProcessor };
|
|
372
|
+
export { Arquitecture, Binary, ComputedFieldProcessor, Config, DbConfig, Engine, FileLogger, type InterceptController, QueryEngine, TableProcessor, TriggerProcessor };
|