@@ -5,48 +5,114 @@ import "time"
55type Connector interface {
66 ConnectedNow () bool
77 Close () error
8- Ping () (resp * Response , err error )
98 ConfiguredTimeout () time.Duration
9+ NewPrepared (expr string ) (* Prepared , error )
10+ NewStream () (* Stream , error )
11+ NewWatcher (key string , callback WatchCallback ) (Watcher , error )
12+ Do (req Request ) (fut * Future )
1013
14+ // Deprecated: the method will be removed in the next major version,
15+ // use a PingRequest object + Do() instead.
16+ Ping () (resp * Response , err error )
17+ // Deprecated: the method will be removed in the next major version,
18+ // use a SelectRequest object + Do() instead.
1119 Select (space , index interface {}, offset , limit uint32 , iterator Iter , key interface {}) (resp * Response , err error )
20+ // Deprecated: the method will be removed in the next major version,
21+ // use an InsertRequest object + Do() instead.
1222 Insert (space interface {}, tuple interface {}) (resp * Response , err error )
23+ // Deprecated: the method will be removed in the next major version,
24+ // use a ReplicaRequest object + Do() instead.
1325 Replace (space interface {}, tuple interface {}) (resp * Response , err error )
26+ // Deprecated: the method will be removed in the next major version,
27+ // use a DeleteRequest object + Do() instead.
1428 Delete (space , index interface {}, key interface {}) (resp * Response , err error )
29+ // Deprecated: the method will be removed in the next major version,
30+ // use a UpdateRequest object + Do() instead.
1531 Update (space , index interface {}, key , ops interface {}) (resp * Response , err error )
32+ // Deprecated: the method will be removed in the next major version,
33+ // use a UpsertRequest object + Do() instead.
1634 Upsert (space interface {}, tuple , ops interface {}) (resp * Response , err error )
35+ // Deprecated: the method will be removed in the next major version,
36+ // use a CallRequest object + Do() instead.
1737 Call (functionName string , args interface {}) (resp * Response , err error )
38+ // Deprecated: the method will be removed in the next major version,
39+ // use a Call16Request object + Do() instead.
1840 Call16 (functionName string , args interface {}) (resp * Response , err error )
41+ // Deprecated: the method will be removed in the next major version,
42+ // use a Call17Request object + Do() instead.
1943 Call17 (functionName string , args interface {}) (resp * Response , err error )
44+ // Deprecated: the method will be removed in the next major version,
45+ // use an EvalRequest object + Do() instead.
2046 Eval (expr string , args interface {}) (resp * Response , err error )
47+ // Deprecated: the method will be removed in the next major version,
48+ // use an ExecuteRequest object + Do() instead.
2149 Execute (expr string , args interface {}) (resp * Response , err error )
2250
51+ // Deprecated: the method will be removed in the next major version,
52+ // use a SelectRequest object + Do() instead.
2353 GetTyped (space , index interface {}, key interface {}, result interface {}) (err error )
54+ // Deprecated: the method will be removed in the next major version,
55+ // use a SelectRequest object + Do() instead.
2456 SelectTyped (space , index interface {}, offset , limit uint32 , iterator Iter , key interface {}, result interface {}) (err error )
57+ // Deprecated: the method will be removed in the next major version,
58+ // use an InsertRequest object + Do() instead.
2559 InsertTyped (space interface {}, tuple interface {}, result interface {}) (err error )
60+ // Deprecated: the method will be removed in the next major version,
61+ // use a ReplaceRequest object + Do() instead.
2662 ReplaceTyped (space interface {}, tuple interface {}, result interface {}) (err error )
63+ // Deprecated: the method will be removed in the next major version,
64+ // use a DeleteRequest object + Do() instead.
2765 DeleteTyped (space , index interface {}, key interface {}, result interface {}) (err error )
66+ // Deprecated: the method will be removed in the next major version,
67+ // use a UpdateRequest object + Do() instead.
2868 UpdateTyped (space , index interface {}, key , ops interface {}, result interface {}) (err error )
69+ // Deprecated: the method will be removed in the next major version,
70+ // use a CallRequest object + Do() instead.
2971 CallTyped (functionName string , args interface {}, result interface {}) (err error )
72+ // Deprecated: the method will be removed in the next major version,
73+ // use a Call16Request object + Do() instead.
3074 Call16Typed (functionName string , args interface {}, result interface {}) (err error )
75+ // Deprecated: the method will be removed in the next major version,
76+ // use a Call17Request object + Do() instead.
3177 Call17Typed (functionName string , args interface {}, result interface {}) (err error )
78+ // Deprecated: the method will be removed in the next major version,
79+ // use an EvalRequest object + Do() instead.
3280 EvalTyped (expr string , args interface {}, result interface {}) (err error )
81+ // Deprecated: the method will be removed in the next major version,
82+ // use an ExecuteRequest object + Do() instead.
3383 ExecuteTyped (expr string , args interface {}, result interface {}) (SQLInfo , []ColumnMetaData , error )
3484
85+ // Deprecated: the method will be removed in the next major version,
86+ // use a SelectRequest object + Do() instead.
3587 SelectAsync (space , index interface {}, offset , limit uint32 , iterator Iter , key interface {}) * Future
88+ // Deprecated: the method will be removed in the next major version,
89+ // use an InsertRequest object + Do() instead.
3690 InsertAsync (space interface {}, tuple interface {}) * Future
91+ // Deprecated: the method will be removed in the next major version,
92+ // use a ReplaceRequest object + Do() instead.
3793 ReplaceAsync (space interface {}, tuple interface {}) * Future
94+ // Deprecated: the method will be removed in the next major version,
95+ // use a DeleteRequest object + Do() instead.
3896 DeleteAsync (space , index interface {}, key interface {}) * Future
97+ // Deprecated: the method will be removed in the next major version,
98+ // use a UpdateRequest object + Do() instead.
3999 UpdateAsync (space , index interface {}, key , ops interface {}) * Future
100+ // Deprecated: the method will be removed in the next major version,
101+ // use a UpsertRequest object + Do() instead.
40102 UpsertAsync (space interface {}, tuple interface {}, ops interface {}) * Future
103+ // Deprecated: the method will be removed in the next major version,
104+ // use a CallRequest object + Do() instead.
41105 CallAsync (functionName string , args interface {}) * Future
106+ // Deprecated: the method will be removed in the next major version,
107+ // use a Call16Request object + Do() instead.
42108 Call16Async (functionName string , args interface {}) * Future
109+ // Deprecated: the method will be removed in the next major version,
110+ // use a Call17Request object + Do() instead.
43111 Call17Async (functionName string , args interface {}) * Future
112+ // Deprecated: the method will be removed in the next major version,
113+ // use an EvalRequest object + Do() instead.
44114 EvalAsync (expr string , args interface {}) * Future
115+ // Deprecated: the method will be removed in the next major version,
116+ // use an ExecuteRequest object + Do() instead.
45117 ExecuteAsync (expr string , args interface {}) * Future
46-
47- NewPrepared (expr string ) (* Prepared , error )
48- NewStream () (* Stream , error )
49- NewWatcher (key string , callback WatchCallback ) (Watcher , error )
50-
51- Do (req Request ) (fut * Future )
52118}
0 commit comments