Commit graph

705 commits

Author SHA1 Message Date
9ce35aeb45 add removal test 2014-08-10 21:34:22 -04:00
48711af1d9 Mongo log works (and bug fixed) 2014-08-10 21:05:39 -04:00
3770190db5 test clean 2014-08-10 20:10:00 -04:00
6d22037602 add iterator check for mongo 2014-08-10 19:41:22 -04:00
ff148f58f8 first swing at mongo indexing (iterator todo) 2014-08-10 19:35:26 -04:00
8821c1968d add config options and graph.Handle 2014-08-10 18:17:38 -04:00
a1e5a53dd5 Merge with new Next() interface 2014-08-10 17:59:09 -04:00
kortschak
0c79c11606 Allow memstore instances to be started empty
This allows easier debugging of web UI problem.
2014-08-09 18:13:44 +09:30
11c3cd17c6 Fix cayley load command 2014-08-09 01:23:23 -04:00
614184bf87 Merge pull request #108 from kortschak/issue106
Use cquads in the web UI data loader
2014-08-09 01:22:16 -04:00
kortschak
9263b05d75 Use cquads in the web UI data loader
Fixes issue #106.
2014-08-09 10:09:43 +09:30
166ebb1a3a Merge pull request #105 from kortschak/persistence
Handle persistence and quad format in cayley
2014-08-08 17:00:28 -04:00
607d0040e2 Merge pull request #104 from kortschak/repl
Use github.com/peterh/liner for REPL lines
2014-08-08 16:44:59 -04:00
kortschak
86bf7e9e6a Remove now-irrelevant failing test 2014-08-08 22:21:42 +09:30
kortschak
4844ef3e58 Add support for remote data sources
Now you can, for example:

cayley http --dbpath="https://github.com/google/cayley/blob/master/30kmoviedata.nq.gz?raw=true"
2014-08-08 22:19:53 +09:30
kortschak
844927ff1f Make decompressor conditional on reader interface 2014-08-08 21:27:17 +09:30
kortschak
088e73a163 Merge {init,open,load}.go into db.go
The functions are too small to justify a single file each. The repl file
is left out as semantically unrelated.
2014-08-08 10:32:58 +09:30
kortschak
979a0c4aee Allow optional strict N-Quad parsing
This puts more of the logic in cayley, but other approaches require that
db knows about quad formats.
2014-08-08 10:28:18 +09:30
kortschak
4c3f5109eb Separate db.Open and db.Load
Updates #82.
2014-08-08 09:52:35 +09:30
kortschak
2d4c07b56d Make db name-literal agnostic
Move the persistence characteristic of the store into the graph registry
and provide an API hook to get that information.

Add error return for init on a non-persistent store.

Updates #35.
2014-08-08 08:36:49 +09:30
kortschak
7265e1d7a1 Use github.com/peterh/liner for REPL lines
This gives us history and line conveniences.
2014-08-07 15:02:30 +09:30
7cd740aa7b Merge pull request #93 from kortschak/nexter
Simplify the Nexter interface
2014-08-06 23:48:46 -04:00
kortschak
191244c40e Sync iteration calls to Nexter interface changes 2014-08-07 07:07:45 +09:30
kortschak
62785d25c2 Merge branch 'master' into nexter
Conflicts:
	graph/leveldb/all_iterator.go
	graph/leveldb/iterator.go
	graph/memstore/triplestore.go
	query/gremlin/finals.go
2014-08-07 06:57:45 +09:30
b52f9726ea update readme 2014-08-06 17:18:12 -04:00
b74cb142f0 Key/Keyer 2014-08-06 16:59:46 -04:00
6d4738cf0c convert to using real quads 2014-08-06 16:24:31 -04:00
c64acabee0 merge to master 2014-08-06 16:21:57 -04:00
408103b406 Merge branch 'materializer_iterator' 2014-08-06 15:59:24 -04:00
2b43185117 rename Hashable/Hasher 2014-08-06 15:58:37 -04:00
272829f3e9 Merge pull request #103 from barakmich/materializer_iterator
Fix Materializer iterator
2014-08-06 15:52:36 -04:00
4d9dd42dd8 comment 2014-08-06 15:51:56 -04:00
840c341274 Fix ID Lookup 2014-08-06 15:39:55 -04:00
6f1e46c2d8 Fix hashability for graph.Value 2014-08-06 15:34:30 -04:00
7e7371c3c8 Merge pull request #101 from barakmich/materializer_iterator
Add Materialize Iterator
2014-08-06 14:44:22 -04:00
2bec255b52 Copy refs and comment on Value 2014-08-06 14:37:37 -04:00
cedaa9cdfa Merge branch 'master' into materializer_iterator 2014-08-06 14:31:10 -04:00
9fceb9d4b0 Merge pull request #100 from barakmich/fix_integration
Fix the integration test from crashing
2014-08-06 14:18:36 -04:00
11891f02a9 remove lead-in parsing test 2014-08-06 05:19:46 -04:00
8a08b59cc2 Merge branch 'fix_integration' into materializer_iterator 2014-08-06 05:06:10 -04:00
0c3e0381f3 Fix the integration test from crashing
Sessions are expected to only have one running query (perhaps this is a
bug). So we need to make a new session for each of the benchmark runs,
timing only the running part.
2014-08-06 05:03:20 -04:00
76efc2fcb7 redo data structure for sensibility 2014-08-06 04:07:30 -04:00
d102394836 bounds errors 2014-08-06 03:49:55 -04:00
24f57df859 fix overshoot and optimize better 2014-08-06 03:49:55 -04:00
09244ddd38 materialize implementation and and optimization 2014-08-06 03:49:55 -04:00
f441fc4bbf Merge pull request #99 from kortschak/concrete
Use concrete value for quad.Quad use
2014-08-06 01:38:00 -04:00
c3bd1644a1 speedup and cleanup 2014-08-05 16:28:47 -04:00
a43531b4ce Merge pull request #98 from iaincollins/master
Fixed typo in quick setup command
2014-08-05 16:05:08 -04:00
d4e5eead32 convert leveldb to log-structure 2014-08-05 14:17:38 -04:00
Iain Collins
6d676094ee Fixed typo in quick setup command 2014-08-05 17:08:09 +01:00