e13e65d09b
single writer
2014-07-27 15:39:45 -04:00
7a8d4194bd
wip
2014-07-27 15:26:57 -04:00
9793096b9a
lint
2014-07-24 17:59:39 -04:00
929b4f539b
update the triplestore interface and local replication
2014-07-24 16:59:38 -04:00
768ca5c36f
add replication registry and local replication
2014-07-24 16:43:48 -04:00
426e0b6294
add replication interface
2014-07-24 16:43:48 -04:00
kortschak
e6ed23ef7c
Merge branch 'master' into parse
...
Conflicts:
db/load.go
2014-07-23 06:39:56 +09:30
95a31c179b
Switch to the latest mgo path.
...
This is not only the right thing to do, as per the documentation of the
latest release (yesterday) but it should now be backed by git and not
bzr, which is a big plus and won't break our build so much.
2014-07-22 15:22:29 -04:00
kortschak
0e0e382d2b
Use error returns and interface type for parsing
...
Fixes issue #72
This change simplifies interactions with parsing N-Quads and makes
reading datasets more robust. Changes made while here also improve
performance:
benchmark old ns/op new ns/op delta
BenchmarkParser 1058 667 -36.96%
We still use string concatenation which I'm not wildly happy about, but
I think this can be left for a later change.
Initial changes towards idiomatic error handling have been made. More
significant changes are needed, but these have subtle design implication
and need to be thought about more.
30kmoviesdata.nt.gz has been altered to properly escape double quotes.
This was done mechanically and with manual curation to pick up
straglers.
2014-07-22 20:34:37 +09:30
Jeremy Jay
923679b36c
comment tweaks
2014-07-18 14:54:29 -04:00
Jeremy Jay
5731ca7b42
6 of one, half-dozen of the other
2014-07-18 14:19:02 -04:00
Jeremy Jay
a6dc5c9532
fix tests for new method names
2014-07-18 14:09:57 -04:00
Jeremy Jay
f9c60a5f30
update names per discussion at google/cayley#38
2014-07-18 11:17:57 -04:00
Jeremy Jay
d808d9347c
move to registry interface for backends
2014-07-16 16:49:55 -04:00
Jeremy Jay
e780c1ceb9
Register should be RegisterIterator
2014-07-16 13:49:39 -04:00
Alex Peters
4d34ea50cc
Fix typos and minor cleanup
2014-07-10 13:19:30 +02:00
kortschak
e39063e3ec
Rename some methods and funcs since we are here
...
Very probably some of these can be made private.
2014-07-07 12:23:32 +09:30
kortschak
d1fdba1cbb
Fix build
...
leveldb did s/GetApproximateSizes/SizeOf/
2014-07-07 12:14:47 +09:30
kortschak
5bc1c438ef
Tabulate value comparison tests
2014-07-07 12:01:16 +09:30
kortschak
1c181429da
Purge goconvey and mock
...
These packages really impact on test readability with crazy action at a
distance. In addition to this removal of goconvey reduced the test run
time for leveldb on average by about 40-50%.
2014-07-05 22:00:46 +09:30
kortschak
3f6cfc98d5
Clean up testing code
...
Ugh on the error comparison.
2014-07-04 10:29:14 +09:30
kortschak
02eb9d051f
Simplify test code
2014-07-04 09:52:20 +09:30
e4df9488e7
merge rename_fix
2014-07-03 16:02:54 -04:00
468d943039
dbIt to iter
2014-07-03 15:59:50 -04:00
70f622aefe
Merge pull request #51 from barakmich/prefix_string
...
Prefix vs String for graph.Direction
2014-07-03 15:54:29 -04:00
62d8ebec8a
Update test in light of graph iterator types
2014-07-03 15:52:00 -04:00
50bd7d04ef
convert to prefix byte
2014-07-03 13:32:58 -04:00
kortschak
859164d714
Remove goconvey dependency
2014-07-03 20:25:59 +09:30
kortschak
c8e5ac1916
Add documentation around Type registration
2014-07-03 15:25:21 +09:30
kortschak
cd46452b63
Enumerate iterator types
2014-07-03 09:57:31 +09:30
7b87e08e89
Convert to Prefix/String in graph.Triple
2014-07-02 19:56:16 -04:00
kortschak
447a835b93
Rename AddValue
2014-07-02 12:17:33 +09:30
kortschak
d87e227ff3
Rename TSVal
2014-07-02 12:13:15 +09:30
kortschak
a1453da84e
Don't indirect map values
...
We already have reference behaviour, so this is not necessary.
This change highlighted fairly baroque architecture in mql that deserves
some attention; the use of channels is somewhat confusing.
Also rename LastResult to Result.
2014-07-02 12:08:49 +09:30
kortschak
b89d4f392c
Reduce TripleStore interface names
2014-07-02 11:40:33 +09:30
kortschak
8576f66d20
Reduce graph.Iterator method names
2014-07-02 11:02:09 +09:30
kortschak
a31a5a170c
Remove redundant loggin functions
2014-07-01 10:52:31 +09:30
kortschak
2f2f580858
Remove dead var
2014-07-01 09:46:15 +09:30
kortschak
05a7ecdbb6
Cleaning and TODOs
2014-07-01 09:35:58 +09:30
kortschak
1768e593a8
Move iterators into separate package
...
Also reduce API exposure and use standard library more - and fix bugs I
previously introduces in mongo.
2014-07-01 09:21:32 +09:30
kortschak
12c8769744
Retain correct copyright notice
2014-06-30 12:58:37 +09:30
kortschak
0a03cec497
Replace string type with graph.Direction
...
This conversion is not complete as there are still uses of string
directions via the Direction.String method in leveldb.
2014-06-30 12:41:03 +09:30
18c4c555b5
Fix #21 and change the MQL semantics slightly to match the original MQL
2014-06-29 21:20:54 -04:00
kortschak
bed8d3813a
Remove uses of container/list
2014-06-29 14:38:28 +09:30
kortschak
bc77744449
Remove trivial container/list usage
2014-06-29 13:15:35 +09:30
82f3fc7bfa
Canonicalize leveldb internal iterator
2014-06-28 16:47:37 -04:00
44ae0b523e
Fix the obvious copy bug
2014-06-28 16:13:20 -04:00
kortschak
d8b615f154
Remove unnecessary import renaming
2014-06-28 22:47:04 +09:30
kortschak
3831aad364
Canonicalise mongo receiver names
...
Remove redundant Mongo infixes that were miseed previously.
2014-06-28 21:51:32 +09:30
kortschak
dc62d4f32c
Canonicalise memstore receiver names
2014-06-28 21:46:02 +09:30