This repository was archived by the owner on Oct 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
16
16
CreateNodeArgs ,
17
17
EdgeUtil ,
18
18
Eid ,
19
- GetNodeSliceArgs ,
20
19
NewNodeResponse ,
21
20
Nid ,
22
21
NodeBatch ,
@@ -31,7 +30,7 @@ import {
31
30
TEdgeJson ,
32
31
TNode ,
33
32
TNodeJson ,
34
- TNodeSliceIterator ,
33
+ INodeIterator ,
35
34
TotalUserActivity ,
36
35
UserExternalPipelineId ,
37
36
UserExternalPipelineIngestionProgress ,
@@ -540,17 +539,14 @@ export function makeLocalStorageApi(
540
539
node : {
541
540
get : ( { nid } : { nid : string ; signal ?: AbortSignal } ) =>
542
541
getNode ( { store, nid } ) ,
542
+ getByOrigin : throwUnimplementedError ( 'node.getByOrigin' ) ,
543
543
update : (
544
544
args : { nid : string } & NodePatchRequest ,
545
545
_signal ?: AbortSignal
546
546
) => updateNode ( store , args ) ,
547
547
create : ( args : CreateNodeArgs , _signal ?: AbortSignal ) =>
548
548
createNode ( store , args ) ,
549
- // TODO[snikitin@outlook .com] Local-hosted slicing implementation is a
550
- // problem because the datacenter-hosted version depends entirely on
551
- // time range search which is easy with in SQL, but with a KV-store
552
- // requires to load all nodes from memory on every "iteration"
553
- slice : throwUnimplementedError ( 'node.slice' ) ,
549
+ iterate : throwUnimplementedError ( 'node.iterate' ) ,
554
550
delete : throwUnimplementedError ( 'node.delete' ) ,
555
551
bulkDelete : throwUnimplementedError ( 'node.bulkdDelete' ) ,
556
552
batch : {
You can’t perform that action at this time.
0 commit comments