datahike 0.8.1909 → 0.8.1910
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/boring.core.js +2 -2
- package/boring.data.js +6 -6
- package/boring.options.js +16 -16
- package/boring.reader.js +4 -4
- package/boring.writer.js +2 -2
- package/browser/datahike.js +3753 -3757
- package/cljs.cache.js +9 -9
- package/cljs.cache.wrapped.js +7 -7
- package/cljs.core.async.impl.channels.js +8 -8
- package/cljs.core.async.impl.dispatch.js +3 -3
- package/cljs.core.async.impl.ioc_helpers.js +2 -2
- package/cljs.core.async.impl.timers.js +3 -3
- package/cljs.core.async.js +16 -16
- package/cljs.core.js +298 -298
- package/cljs.reader.js +10 -10
- package/cljs.spec.alpha.js +74 -71
- package/cljs.tools.reader.edn.js +26 -26
- package/cljs.tools.reader.impl.commons.js +7 -7
- package/cljs.tools.reader.impl.errors.js +10 -10
- package/cljs.tools.reader.impl.inspect.js +4 -4
- package/cljs.tools.reader.impl.utils.js +2 -2
- package/cljs.tools.reader.js +2 -2
- package/cljs.tools.reader.reader_types.js +1 -1
- package/cljs_env.js +3 -3
- package/cljs_node_io.core.js +10 -10
- package/cljs_node_io.file.js +18 -18
- package/cljs_node_io.fs.js +1 -1
- package/clojure.data.js +14 -14
- package/clojure.set.js +1 -1
- package/clojure.string.js +11 -11
- package/clojure.walk.js +3 -6
- package/datahike.api.impl.js +27 -27
- package/datahike.api.js +4 -4
- package/datahike.array.js +8 -8
- package/datahike.bitemporal.predicate.js +1 -1
- package/datahike.config.js +32 -32
- package/datahike.connections.js +4 -4
- package/datahike.connector.js +76 -76
- package/datahike.constants.js +21 -21
- package/datahike.datom.js +22 -22
- package/datahike.db.interface.js +8 -8
- package/datahike.db.js +71 -71
- package/datahike.db.search.js +44 -44
- package/datahike.db.utils.js +43 -43
- package/datahike.env.js +4 -4
- package/datahike.gc.js +13 -14
- package/datahike.impl.entity.js +12 -12
- package/datahike.index.interface.js +13 -13
- package/datahike.index.js +1 -1
- package/datahike.index.persistent_set.js +165 -165
- package/datahike.js.api.js +253 -258
- package/datahike.js.convert.js +1 -1
- package/datahike.lru.js +4 -4
- package/datahike.metrics.js +7 -7
- package/datahike.optimistic.js +12 -12
- package/datahike.pull_api.js +7 -7
- package/datahike.query.analyze.js +1 -1
- package/datahike.query.js +1203 -1203
- package/datahike.readers.js +9 -9
- package/datahike.remote.js +1 -1
- package/datahike.schema.js +37 -37
- package/datahike.schema_cache.js +2 -2
- package/datahike.store.js +62 -62
- package/datahike.tools.js +5 -5
- package/datahike.versioning.js +4 -4
- package/datahike.writer.js +823 -822
- package/datahike.writing.js +47 -47
- package/datalog.parser.impl.proto.js +1 -1
- package/datalog.parser.pull.js +2 -2
- package/datalog.parser.type.js +24 -24
- package/fress.impl.adler32.js +3 -3
- package/fress.impl.bigdec.js +2 -2
- package/fress.impl.buffer.js +4 -4
- package/fress.impl.raw_input.js +1 -1
- package/fress.impl.raw_output.js +3 -3
- package/fress.impl.table.js +1 -1
- package/fress.reader.js +14 -14
- package/fress.util.js +10 -10
- package/fress.writer.js +23 -23
- package/geheimnis.aes.js +1 -1
- package/hasch.benc.js +3 -3
- package/hasch.core.js +6 -6
- package/hasch.platform.js +17 -17
- package/is.simm.partial_cps.runtime.js +1 -1
- package/is.simm.partial_cps.sequence.js +5 -5
- package/kabel/datahike.js +4505 -4509
- package/konserve.compressor.js +16 -16
- package/konserve.core.js +48 -48
- package/konserve.encryptor.js +17 -17
- package/konserve.gc_guard.js +1 -1
- package/konserve.impl.defaults.js +15 -15
- package/konserve.impl.storage_layout.js +2 -2
- package/konserve.memory.js +1 -1
- package/konserve.metrics.js +6 -6
- package/konserve.node_filestore.js +625 -625
- package/konserve.protocols.js +7 -7
- package/konserve.serializers.js +17 -17
- package/konserve.store.js +86 -86
- package/konserve.tiered.js +10 -10
- package/konserve.utils.js +6 -6
- package/org.replikativ.persistent_sorted_set.branch.js +3 -3
- package/org.replikativ.persistent_sorted_set.btset.js +375 -375
- package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
- package/org.replikativ.persistent_sorted_set.impl.boundary.js +1 -1
- package/org.replikativ.persistent_sorted_set.js +1 -1
- package/org.replikativ.persistent_sorted_set.leaf.js +1 -1
- package/org.replikativ.persistent_sorted_set.util.js +1 -1
- package/package.json +1 -1
- package/replikativ.logging.js +1 -1
- package/s3/datahike.js +2256 -2260
- package/superv.async.js +24 -24
- package/tailrecursion.priority_map.js +15 -15
- package/taoensso.trove.console.js +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./cljs.cache.js");require("./konserve.utils.js");require("./superv.async.js");require("./cljs.core.async.js");
|
|
2
|
-
'use strict';var
|
|
3
|
-
|
|
4
|
-
$CLJS.
|
|
5
|
-
hla=new $CLJS.H(null,"missing-index-implementation","missing-index-implementation",1084024469);$CLJS.
|
|
6
|
-
$CLJS.
|
|
7
|
-
$CLJS.ila=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.
|
|
8
|
-
$CLJS.
|
|
9
|
-
$CLJS.
|
|
10
|
-
$CLJS.
|
|
11
|
-
$CLJS.
|
|
12
|
-
$CLJS.il($CLJS.
|
|
13
|
-
$CLJS.il($CLJS.
|
|
14
|
-
$CLJS.il($CLJS.
|
|
2
|
+
'use strict';var HB,FB,KB,hla;$CLJS.DB=function(a){if(a!=null&&a.uj!=null)a=a.uj(a);else{var b=$CLJS.DB[$CLJS.$a(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=$CLJS.DB._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Ub("IMultiFn.-methods",a);}return a};
|
|
3
|
+
HB=function(){return $CLJS.wl("Hitchhiker-tree index requires explicit setup:\n 1. Add io.replikativ/hitchhiker-tree to your deps.edn\n 2. Require datahike.index.hitchhiker-tree in your namespace\n Or use the default :datahike.index/persistent-set index.",new $CLJS.U(null,3,[$CLJS.cn,hla,$CLJS.Tl,$CLJS.EB,FB,$CLJS.al.h($CLJS.sk($CLJS.jk($CLJS.DB($CLJS.GB))),$CLJS.gl)],null))};$CLJS.hl.prototype.uj=$CLJS.Za(12,function(){return $CLJS.Kc(this.ji)});
|
|
4
|
+
$CLJS.IB=new $CLJS.H("datahike.index.interface","node-cache","datahike.index.interface/node-cache",-413855869);$CLJS.JB=new $CLJS.H(null,"avet-build","avet-build",-820498362);FB=new $CLJS.H(null,"available-indexes","available-indexes",-831432660);KB=new $CLJS.H(null,"unknown-index-type","unknown-index-type",-421628630);$CLJS.EB=new $CLJS.H("datahike.index","hitchhiker-tree","datahike.index/hitchhiker-tree",-774508884);$CLJS.LB=new $CLJS.H(null,"avet","avet",1383857032);
|
|
5
|
+
hla=new $CLJS.H(null,"missing-index-implementation","missing-index-implementation",1084024469);$CLJS.GB=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","empty-index"),function(f){return f},e,a,b,c,d)}();
|
|
6
|
+
$CLJS.MB=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","init-index"),function(f){return f},e,a,b,c,d)}();
|
|
7
|
+
$CLJS.ila=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","init-index-sorted"),function(f){return f},e,a,b,c,d)}();
|
|
8
|
+
$CLJS.NB=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","add-konserve-handlers"),function(f){return $CLJS.Tl.g(f)},e,a,b,c,d)}();
|
|
9
|
+
$CLJS.OB=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","konserve-backend"),function(f){return f},e,a,b,c,d)}();
|
|
10
|
+
$CLJS.PB=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","default-index-config"),function(f){return f},e,a,b,c,d)}();
|
|
11
|
+
$CLJS.QB=function(){var a=$CLJS.Eh($CLJS.oh),b=$CLJS.Eh($CLJS.oh),c=$CLJS.Eh($CLJS.oh),d=$CLJS.Eh($CLJS.oh),e=$CLJS.vf($CLJS.oh,$CLJS.Qm,$CLJS.Yk.o?$CLJS.Yk.o():$CLJS.Yk.call(null));return new $CLJS.hl($CLJS.Sk.h("datahike.index.interface","with-storage"),function(f){return f},e,a,b,c,d)}();$CLJS.il($CLJS.QB,$CLJS.gl,function(a,b){return b});
|
|
12
|
+
$CLJS.il($CLJS.GB,$CLJS.gl,function(a){if($CLJS.A.h(a,$CLJS.EB))throw HB();throw $CLJS.wl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.U(null,3,[$CLJS.cn,KB,$CLJS.Tl,a,FB,$CLJS.al.h($CLJS.sk($CLJS.jk($CLJS.DB($CLJS.GB))),$CLJS.gl)],null));});$CLJS.il($CLJS.MB,$CLJS.gl,function(a){if($CLJS.A.h(a,$CLJS.EB))throw HB();throw $CLJS.wl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.U(null,3,[$CLJS.cn,KB,$CLJS.Tl,a,FB,$CLJS.al.h($CLJS.sk($CLJS.jk($CLJS.DB($CLJS.MB))),$CLJS.gl)],null));});
|
|
13
|
+
$CLJS.il($CLJS.NB,$CLJS.gl,function(a){a=$CLJS.Tl.g(a);if($CLJS.A.h(a,$CLJS.EB))throw HB();throw $CLJS.wl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.U(null,3,[$CLJS.cn,KB,$CLJS.Tl,a,FB,$CLJS.al.h($CLJS.sk($CLJS.jk($CLJS.DB($CLJS.NB))),$CLJS.gl)],null));});$CLJS.il($CLJS.OB,$CLJS.gl,function(a){if($CLJS.A.h(a,$CLJS.EB))throw HB();throw $CLJS.wl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.U(null,3,[$CLJS.cn,KB,$CLJS.Tl,a,FB,$CLJS.al.h($CLJS.sk($CLJS.jk($CLJS.DB($CLJS.OB))),$CLJS.gl)],null));});
|
|
14
|
+
$CLJS.il($CLJS.PB,$CLJS.gl,function(a){if($CLJS.A.h(a,$CLJS.EB))throw HB();throw $CLJS.wl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.U(null,3,[$CLJS.cn,KB,$CLJS.Tl,a,FB,$CLJS.al.h($CLJS.sk($CLJS.jk($CLJS.DB($CLJS.PB))),$CLJS.gl)],null));});
|
package/datahike.index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./datahike.index.interface.js");require("./datahike.index.persistent_set.js");
|
|
2
|
-
'use strict';$CLJS.II=new $CLJS.H(null,"branch","branch",-74633925);$CLJS.JI=new $CLJS.H(null,"search-cache-size","search-cache-size",-1358020379);$CLJS.KI=new $CLJS.H(null,"write","write",-1857649168);$CLJS.LI=new $CLJS.H(null,"schema-flexibility","schema-flexibility",-1255871751);$CLJS.MI=new $CLJS.fe(null,"not\x3d","not\x3d",1466536204,null);$CLJS.jk($CLJS.
|
|
2
|
+
'use strict';$CLJS.II=new $CLJS.H(null,"branch","branch",-74633925);$CLJS.JI=new $CLJS.H(null,"search-cache-size","search-cache-size",-1358020379);$CLJS.KI=new $CLJS.H(null,"write","write",-1857649168);$CLJS.LI=new $CLJS.H(null,"schema-flexibility","schema-flexibility",-1255871751);$CLJS.MI=new $CLJS.fe(null,"not\x3d","not\x3d",1466536204,null);$CLJS.jk($CLJS.DB($CLJS.GB));
|