1- import type { BindingsStream , IActionContext , ISourceState , ISourceStateBloomFilter } from '@comunica/types' ;
1+ import type { BindingsStream , IActionContext , ILink , ISourceState , ISourceStateBloomFilter } from '@comunica/types' ;
22import { ViewKey } from './ViewKey' ;
33import { Algebra } from '@comunica/utils-algebra' ;
44import { AsyncIterator } from 'asynciterator' ;
@@ -20,33 +20,29 @@ export const CacheSourceStateViews = {
2020 } ,
2121 ISourceState
2222 > ( '@comunica/persistent-cache-manager:sourceStateView' ) ,
23-
24- cacheQueryView :
23+ /**
24+ *
25+ */
26+ indexedCacheGetView :
2527 new ViewKey <
2628 ISourceState ,
2729 { url : string , mode : 'get' , action : IActionQuerySourceDereferenceLink } ,
2830 BindingsStream | AsyncIterator < RDF . Quad > | ISourceState
2931 > ( '@comunica/persistent-cache-manager:cacheQuery' ) ,
3032
31- cacheQueryViewBloomFilter :
32- new ViewKey <
33- ISourceStateBloomFilter ,
34- { url : string , mode : 'get' , action : IActionQuerySourceDereferenceLink } | { mode : 'queryBindings' | 'queryQuads' , operation : Algebra . Operation } ,
35- AsyncIterator < BindingsStream > | AsyncIterator < AsyncIterator < RDF . Quad > > | ISourceState
36- > ( '@comunica/persistent-cache-manager:cacheQueryBloomFilter' ) ,
37-
38- cacheCountView :
33+ indexedCacheCountView :
3934 new ViewKey <
4035 ISourceState ,
41- { operation : Algebra . Operation , documents : string [ ] } ,
36+ { operation : Algebra . Operation } ,
4237 number
4338 > ( '@comunica/persistent-cache-manager:cacheCount' ) ,
44- cacheCountBloomFilterView :
39+
40+ indexedCacheCountViewOfflineTraversal :
4541 new ViewKey <
46- ISourceStateBloomFilter ,
47- { operation : Algebra . Operation , documents : string [ ] } ,
42+ ISourceState ,
43+ { operation : Algebra . Operation , seeds : ILink [ ] , query : Algebra . BaseOperation } ,
4844 number
49- > ( '@comunica/persistent-cache-manager:cacheCountBloomFilter ' ) ,
45+ > ( '@comunica/persistent-cache-manager:cacheCount ' ) ,
5046
5147} ;
5248
0 commit comments