Commit graph

295 commits

Author SHA1 Message Date
ab3f59d21f Add hash-based indexes 2015-08-12 16:03:25 -04:00
c98318aa97 Fix tests and update Godep 2015-08-12 16:03:25 -04:00
8830760df2 Split intersection and node iteration into two logical SQL iterators 2015-08-12 16:03:25 -04:00
3e02bb2b71 refactor to SQL builder iterators and standard iterator wrapper 2015-08-12 16:03:25 -04:00
b754810c6e Remove old iterator code, leaving a simple all-iterator for the sql backend 2015-08-12 16:03:25 -04:00
425292811b First reasonably fast integration test 2015-08-12 16:03:25 -04:00
13d4d8b7b4 revert to non-subquery mode 2015-08-12 16:03:25 -04:00
7153a766c1 Add new builder iterators, v2
Subcommits:

link iterator next/contains

implement sql_node_iterator next/buildsql

fix optimizers
2015-08-12 16:03:25 -04:00
621acae945 Optimize by collapsing trees into single SQL queries 2015-08-12 16:03:25 -04:00
185e236f15 attempt to build more interesting SQL queries
Subcommits:

fix old iterator, and flesh out new builder iterator

fix contains for builder iterator

Working replacement iterator
2015-08-12 16:03:25 -04:00
da391c3db7 optional index strategies 2015-08-12 16:03:25 -04:00
3f391a782c first working-ish Postgres backend
Subcommits:

implement iterator and remove ResultTree

add Err() to sql

remove redundant and less helpful indices, change fillfactor, and use COPY FROM
2015-08-12 16:03:25 -04:00
ac1fa668e7 Add check for multiple all iterators
Update test to reflect that the two Alls will be collapsed,
also fix the test of tag optimization to use fixed iterators.
2015-08-12 15:26:19 -04:00
13640290ce Merge pull request #262 from neonstalwart/string-comparison-iterator
add string comparison to value comparison iterator
2015-07-31 17:12:38 -04:00
Igor Mihalik
a8c885a5e8 Fixed multiplier for position of "label" in case of "po" key entry
in "po", the ordering is {"predicate","object","subject","label"} thus the offset of label is 3*hashSize+2
2015-07-28 14:09:23 +02:00
Michael Schurter
db8353a7f1 Missed a test usage of old go-uuid import 2015-06-29 10:08:37 -07:00
Michael Schurter
dfb9939d86 Use new import path for go-uuid 2015-06-26 14:05:10 -07:00
7934252fb5 Add transaction (a list of deltas) as a primitive for applying sets of changes
... and Fix idomaticness
2015-06-23 17:53:24 -04:00
f825fef208 Add Save/SaveReverse and HAS API and split path.go into two files 2015-06-04 15:37:09 -04:00
d639aa3205 Clean up Linkage definition
A linkage is a direction/value pair, and that's all. A set of these can
have helper functions and the like. Cleans up some assumptions of
functionality that isn't useful (yet).
2015-06-02 14:46:19 -04:00
3a7da9f2a0 Merge pull request #249 from barakmich/fix_bolt
Fix bug where first Bolt iteration ignores deletion
2015-06-02 14:44:21 -04:00
e434e76d1e Merge pull request #263 from barakmich/or_iterator_describe
Fix describe in Or iterator
2015-05-29 16:29:07 -04:00
75248c2366 Merge pull request #260 from neonstalwart/memstore-touchup
collapse 2 iterations into 1 in memstore
2015-05-29 15:38:35 -04:00
09f59d1832 Merge pull request #258 from op/metadata-npe
Fix nil pointer panic when meta bucket is missing
2015-05-29 15:35:21 -04:00
a6bd9cb1e2 fix describe in or iterator 2015-05-29 15:28:52 -04:00
ben hockey
b2482ac5e1 add string comparison to value comparison iterator 2015-05-29 10:27:53 -05:00
Örjan Persson
6f6e14ee52 Fix nil pointer panic when meta bucket is missing
If NewQuadStore was called without first calling InitQuadStore, the
runtime would panic since the meta bucket never was created.
2015-05-29 15:50:38 +02:00
ben hockey
138fbbe7ce collapse 2 iterations into 1 in memstore 2015-05-28 15:11:35 -05:00
3f022227ce Fix LevelDB deleted-triple iterator stack overflow bug 2015-05-28 15:48:58 -04:00
ben hockey
678c7c843a move cmp to where it's used 2015-05-27 16:50:54 -05:00
kortschak
59aca3a32e graph: remove redundant type 2015-05-06 08:24:45 +09:30
cb00876747 Fix bug where first Bolt iteration ignores deletion 2015-05-01 12:41:48 -04:00
fa9945ed92 Add imports file to root; expansion welcome 2015-04-30 23:22:49 -04:00
Andrew Dunham
b8a214bd94 Initial work at documenting new Go API 2015-04-30 23:02:27 -04:00
0e50027be8 var renames, remove Func, etc 2015-04-30 23:02:27 -04:00
b9ca485321 Late bind the QuadStore and add Except and Tag 2015-04-30 23:02:27 -04:00
4128133675 add Is, Follow, and All to the path API 2015-04-30 23:02:27 -04:00
3dc74329c0 rename to path 2015-04-30 23:02:27 -04:00
287ea63e2d rename to paths 2015-04-30 23:02:27 -04:00
cb2caad603 privatize morphism 2015-04-30 23:02:27 -04:00
7b8b72dc54 unify morphisms and paths 2015-04-30 23:02:26 -04:00
37bf954db6 test via 2015-04-30 23:02:26 -04:00
2bceb9c25f implement reverse v1 2015-04-30 23:02:26 -04:00
5451d07ff5 first run at an api 2015-04-30 23:02:26 -04:00
Andrew Dunham
189961cb8d Remove deprecated ResultTree API 2015-04-28 15:57:35 -07:00
890f1b69f4 unique iterator implementation 2015-04-26 17:45:17 -04:00
c3c5fe50c1 Fix nits 2015-04-25 19:08:20 -04:00
355c8ee6bc generalize Linkage, add relevant comments 2015-04-19 20:07:14 -04:00
6201e709ef Better size reporting 2015-04-19 16:43:15 -04:00
102b3d7ef5 fix NewAnd taking quadstore in tests 2015-04-19 15:18:11 -04:00