datahike 0.8.1927 → 0.8.1928
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 +18 -18
- package/boring.reader.js +4 -4
- package/boring.writer.js +2 -2
- package/browser/datahike.js +2524 -2524
- package/cljs.cache.js +8 -8
- 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 +2 -2
- package/cljs.core.async.js +15 -15
- package/cljs.core.js +71 -71
- package/cljs.reader.js +10 -10
- package/cljs.spec.alpha.js +73 -70
- 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 +1 -1
- package/cljs.tools.reader.js +2 -2
- package/cljs.tools.reader.reader_types.js +1 -1
- package/cljs_env.js +5 -5
- 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 +6 -6
- package/clojure.walk.js +2 -5
- 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 +81 -81
- package/datahike.constants.js +20 -21
- package/datahike.core.js +1 -1
- package/datahike.datom.js +22 -22
- package/datahike.db.interface.js +8 -8
- package/datahike.db.js +57 -57
- package/datahike.db.search.js +45 -45
- package/datahike.db.utils.js +42 -42
- package/datahike.env.js +4 -4
- package/datahike.gc.js +14 -13
- package/datahike.impl.entity.js +9 -9
- package/datahike.index.interface.js +14 -14
- package/datahike.index.js +1 -1
- package/datahike.index.persistent_set.js +150 -150
- package/datahike.js.api.js +245 -245
- package/datahike.js.convert.js +1 -1
- package/datahike.lru.js +3 -3
- package/datahike.metrics.js +1 -1
- package/datahike.online_gc.js +2 -2
- package/datahike.optimistic.js +12 -12
- package/datahike.pull_api.js +5 -5
- package/datahike.query.analyze.js +1 -1
- package/datahike.query.execute.js +3 -3
- package/datahike.query.js +934 -933
- package/datahike.query.logical.js +2 -2
- package/datahike.query.lower.js +2 -2
- package/datahike.readers.js +10 -10
- package/datahike.remote.js +1 -1
- package/datahike.schema.js +37 -37
- package/datahike.schema_cache.js +2 -2
- package/datahike.store.js +59 -59
- package/datahike.tools.js +4 -4
- package/datahike.tx_preds.js +1 -1
- package/datahike.versioning.js +3 -3
- package/datahike.writer.js +823 -823
- package/datahike.writing.js +52 -52
- package/datalog.parser.impl.proto.js +1 -1
- package/datalog.parser.pull.js +1 -1
- package/datalog.parser.type.js +12 -12
- 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 +15 -15
- package/is.simm.partial_cps.runtime.js +1 -1
- package/is.simm.partial_cps.sequence.js +2 -2
- package/kabel/datahike.js +4438 -4439
- package/konserve.compressor.js +16 -16
- package/konserve.core.js +43 -43
- package/konserve.encryptor.js +17 -17
- package/konserve.gc.js +1 -1
- package/konserve.gc_guard.js +1 -1
- package/konserve.impl.defaults.js +15 -15
- package/konserve.impl.storage_layout.js +3 -3
- package/konserve.memory.js +1 -1
- package/konserve.metrics.js +6 -6
- package/konserve.node_filestore.js +587 -587
- package/konserve.protocols.js +7 -6
- package/konserve.serializers.js +15 -15
- package/konserve.store.js +74 -74
- package/konserve.tiered.js +10 -10
- package/konserve.utils.js +5 -5
- 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 +3528 -3528
- package/superv.async.js +24 -24
- package/tailrecursion.priority_map.js +13 -13
- package/taoensso.trove.console.js +2 -2
- package/taoensso.trove.js +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
|
|
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.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.
|
|
8
|
-
$CLJS.
|
|
9
|
-
$CLJS.
|
|
10
|
-
$CLJS.
|
|
11
|
-
$CLJS.
|
|
12
|
-
$CLJS.
|
|
13
|
-
$CLJS.ll($CLJS.
|
|
14
|
-
$CLJS.ll($CLJS.
|
|
15
|
-
$CLJS.ll($CLJS.
|
|
2
|
+
'use strict';var MB,KB,QB,hla;$CLJS.IB=function(a){if(a!=null&&a.uj!=null)a=a.uj(a);else{var b=$CLJS.IB[$CLJS.$a(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=$CLJS.IB._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Tb("IMultiFn.-methods",a);}return a};
|
|
3
|
+
MB=function(){return $CLJS.xl("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.T(null,3,[$CLJS.jm,hla,$CLJS.Um,$CLJS.JB,KB,$CLJS.$k.h($CLJS.vk($CLJS.mk($CLJS.IB($CLJS.LB))),$CLJS.jl)],null))};$CLJS.kl.prototype.uj=$CLJS.Za(12,function(){return $CLJS.Rc(this.ji)});
|
|
4
|
+
KB=new $CLJS.H(null,"available-indexes","available-indexes",-831432660);$CLJS.NB=new $CLJS.H(null,"avet","avet",1383857032);$CLJS.OB=new $CLJS.H("datahike.index.interface","node-cache","datahike.index.interface/node-cache",-413855869);$CLJS.PB=new $CLJS.H(null,"avet-build","avet-build",-820498362);QB=new $CLJS.H(null,"unknown-index-type","unknown-index-type",-421628630);$CLJS.JB=new $CLJS.H("datahike.index","hitchhiker-tree","datahike.index/hitchhiker-tree",-774508884);
|
|
5
|
+
hla=new $CLJS.H(null,"missing-index-implementation","missing-index-implementation",1084024469);$CLJS.LB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","empty-index"),function(f){return f},e,a,b,c,d)}();
|
|
6
|
+
$CLJS.RB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($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.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","init-index-sorted"),function(f){return f},e,a,b,c,d)}();
|
|
8
|
+
$CLJS.SB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","add-konserve-handlers"),function(f){return $CLJS.Um.g(f)},e,a,b,c,d)}();
|
|
9
|
+
$CLJS.TB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","konserve-backend"),function(f){return f},e,a,b,c,d)}();
|
|
10
|
+
$CLJS.UB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","default-index-config"),function(f){return f},e,a,b,c,d)}();
|
|
11
|
+
$CLJS.VB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","with-storage"),function(f){return f},e,a,b,c,d)}();$CLJS.ll($CLJS.VB,$CLJS.jl,function(a,b){return b});
|
|
12
|
+
$CLJS.WB=function(){var a=$CLJS.Eh($CLJS.nh),b=$CLJS.Eh($CLJS.nh),c=$CLJS.Eh($CLJS.nh),d=$CLJS.Eh($CLJS.nh),e=$CLJS.uf($CLJS.nh,$CLJS.Tn,$CLJS.Yk.m?$CLJS.Yk.m():$CLJS.Yk.call(null));return new $CLJS.kl($CLJS.Sk.h("datahike.index.interface","ensure-root-count!"),function(f){return f},e,a,b,c,d)}();$CLJS.ll($CLJS.WB,$CLJS.jl,function(){return null});
|
|
13
|
+
$CLJS.ll($CLJS.LB,$CLJS.jl,function(a){if($CLJS.A.h(a,$CLJS.JB))throw MB();throw $CLJS.xl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.T(null,3,[$CLJS.jm,QB,$CLJS.Um,a,KB,$CLJS.$k.h($CLJS.vk($CLJS.mk($CLJS.IB($CLJS.LB))),$CLJS.jl)],null));});$CLJS.ll($CLJS.RB,$CLJS.jl,function(a){if($CLJS.A.h(a,$CLJS.JB))throw MB();throw $CLJS.xl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.T(null,3,[$CLJS.jm,QB,$CLJS.Um,a,KB,$CLJS.$k.h($CLJS.vk($CLJS.mk($CLJS.IB($CLJS.RB))),$CLJS.jl)],null));});
|
|
14
|
+
$CLJS.ll($CLJS.SB,$CLJS.jl,function(a){a=$CLJS.Um.g(a);if($CLJS.A.h(a,$CLJS.JB))throw MB();throw $CLJS.xl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.T(null,3,[$CLJS.jm,QB,$CLJS.Um,a,KB,$CLJS.$k.h($CLJS.vk($CLJS.mk($CLJS.IB($CLJS.SB))),$CLJS.jl)],null));});$CLJS.ll($CLJS.TB,$CLJS.jl,function(a){if($CLJS.A.h(a,$CLJS.JB))throw MB();throw $CLJS.xl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.T(null,3,[$CLJS.jm,QB,$CLJS.Um,a,KB,$CLJS.$k.h($CLJS.vk($CLJS.mk($CLJS.IB($CLJS.TB))),$CLJS.jl)],null));});
|
|
15
|
+
$CLJS.ll($CLJS.UB,$CLJS.jl,function(a){if($CLJS.A.h(a,$CLJS.JB))throw MB();throw $CLJS.xl("Unknown index type: "+$CLJS.V.g(a),new $CLJS.T(null,3,[$CLJS.jm,QB,$CLJS.Um,a,KB,$CLJS.$k.h($CLJS.vk($CLJS.mk($CLJS.IB($CLJS.UB))),$CLJS.jl)],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.OI=new $CLJS.H(null,"branch","branch",-74633925);$CLJS.PI=new $CLJS.H(null,"search-cache-size","search-cache-size",-1358020379);$CLJS.QI=new $CLJS.H(null,"write","write",-1857649168);$CLJS.RI=new $CLJS.H(null,"schema-flexibility","schema-flexibility",-1255871751);$CLJS.SI=new $CLJS.fe(null,"not\x3d","not\x3d",1466536204,null);$CLJS.mk($CLJS.
|
|
2
|
+
'use strict';$CLJS.OI=new $CLJS.H(null,"branch","branch",-74633925);$CLJS.PI=new $CLJS.H(null,"search-cache-size","search-cache-size",-1358020379);$CLJS.QI=new $CLJS.H(null,"write","write",-1857649168);$CLJS.RI=new $CLJS.H(null,"schema-flexibility","schema-flexibility",-1255871751);$CLJS.SI=new $CLJS.fe(null,"not\x3d","not\x3d",1466536204,null);$CLJS.mk($CLJS.IB($CLJS.LB));
|