Commit graph

573 commits

Author SHA1 Message Date
Matei Chiperi
985161325e Changed triplestore to quadstore in the Except operator build_iterator code. 2014-09-08 17:13:05 -07:00
Matei Chiperi
a742ebcd46 Cleaned up code for pull request for an Except operator. 2014-09-08 17:09:42 -07:00
Matei Chiperi
a718130f4a Merge branch 'master' of https://github.com/google/cayley into operators
Conflicts:
	query/gremlin/build_iterator.go
2014-09-08 17:04:48 -07:00
Matei Chiperi
20bd08d5ba Fixed Optimize method for not iterator. 2014-09-05 16:07:34 -07:00
kortschak
e2eea6c283 Convert Type fields to use graph.Type
Add text encoding methods to replace string storage.
2014-09-05 09:49:15 +09:30
kortschak
62013d3dfc Replace DebugString with Describe
This change makes tree description completely open to mechanical
analysis and ensures consistency between description formats for each of
the iterator types.

Renamed StatsContainer.(Kind -> Type) for consistency.
2014-09-05 09:32:09 +09:30
b5f113203d Merge pull request #149 from kortschak/lint-vet
Delinting, deadcode removal and vetting
2014-09-04 15:29:27 -04:00
Matei Chiperi
55d235bd55 Added Gremlin tests for the Except operator. 2014-08-28 18:56:06 -07:00
Matei Chiperi
b97e6782ff Changed identifier "not" to "except" for iterator builder. 2014-08-28 17:52:58 -07:00
Matei Chiperi
305815e663 Fixed Stats method for Not iterator.
Added unit tests for Not iterator.
2014-08-28 16:23:15 -07:00
Matei Chiperi
a5fd1905d0 Improvements to the Not iterator:
- Pass the all iterator as an argument
 - Fixed next method (call all.Next() ).
2014-08-28 16:02:21 -07:00
kortschak
bf6412b55d Run go vet
Bugs found.
2014-08-28 12:22:37 +09:30
kortschak
8118c8d3cc Quieten deadcode 2014-08-28 12:04:45 +09:30
kortschak
484bf145a8 Remove non-documentation lint
Because of extensive nature of changes, tested all three non-memstore
backends - passed.
2014-08-28 11:51:39 +09:30
Matei Chiperi
def70ca12e Exposed Except (alias Difference) operator in Gremlin API. 2014-08-27 14:48:30 -07:00
Matei Chiperi
5d4e22498d Converted the Not operator to a complement operator in terms of functionality. 2014-08-27 13:42:56 -07:00
6614466d23 Merge pull request #148 from kortschak/renaming
Renaming triple-related entities to the quads they actually are (eg, TripleStore -> QuadStore)
2014-08-27 16:36:06 -04:00
kortschak
a22eb42482 Make hashOf a function 2014-08-27 23:25:50 +09:30
kortschak
d8866478df Add basic support for mongo testing
This is not intended to be for general consumption at this stage; it
requires that the tester has a mongod instance running and because of
the time taken to load the db, $GOROOT/src/cmd/go/test.go must be
modified to allow for tests longer than 10 minutes. A future CL may
allow db probing and the use of an existing cayley test dataset.
2014-08-27 23:01:12 +09:30
kortschak
dccf38cba6 Simplify godoc 2014-08-27 21:40:56 +09:30
kortschak
5e9da0347c Simplify method name 2014-08-27 21:40:36 +09:30
kortschak
443a091b72 Rename triple entities were relevant 2014-08-27 21:27:01 +09:30
kortschak
ddf8849e60 Remove quadfix 2014-08-27 20:39:28 +09:30
kortschak
12859a69a5 Rename triple* -> quad* files 2014-08-27 19:20:35 +09:30
Taylor Buley
6530523e68 corrects misspellings in Gremlin and Config docs 2014-08-26 15:36:11 -07:00
Matei Chiperi
a0318aa7b2 Added comments for the loop iterator. 2014-08-26 12:26:54 -07:00
Matei Chiperi
d9b67c8335 Added comments for the not operator. 2014-08-26 11:59:14 -07:00
Matei Chiperi
d3bc8c1736 First implementations of loop and not operator for Cayley Gremlin. 2014-08-26 11:19:15 -07:00
1e62aaf374 Merge pull request #145 from kortschak/gremlin
Fix gremlin timeout handling
2014-08-26 11:56:57 -04:00
878a3267d6 Merge pull request #143 from kortschak/generate
Add generation support for B+tree code
2014-08-26 11:29:54 -04:00
kortschak
4345604a39 Inconsequential whitespace changes 2014-08-26 14:36:42 +09:30
kortschak
1faa8b1727 Fix build 2014-08-26 14:30:10 +09:30
kortschak
73dbfc9461 Fix worker termination handling
Fixes issue #102.
2014-08-26 14:20:37 +09:30
kortschak
62e7037f20 Remove unnecessary indirection 2014-08-26 11:19:22 +09:30
kortschak
ab685cfe04 Mark limit as unused in gremlin and SEXP
Used in SEXP. Currently there appears to be no way to limit the number
of query returns from MQL.
2014-08-26 10:17:44 +09:30
kortschak
8df21cd8d9 Refactor work out into worker type 2014-08-26 10:12:44 +09:30
kortschak
95170eb8ed Prepare gremlin for introduction of a worker type 2014-08-25 15:57:40 +09:30
kortschak
ca90da43f4 Generate cznic/b code as described in Makefile 2014-08-24 11:45:00 +09:30
kortschak
59ce5e5a58 Add generate help for memstore/b generation 2014-08-24 11:44:35 +09:30
a96f2ef6f3 Merge pull request #142 from kortschak/generate
Add go generate directive
2014-08-23 20:48:44 -04:00
kortschak
5aba71f2e7 Add go generate directive
At this stage this is just a comment for users. The directive will have
effect at go tip when go CL125580044 is submitted. When that happens, at
tip parser code generation can be acheived in the default case with:

    go generate

in the relevant package directory.
2014-08-24 10:08:53 +09:30
89a03bfe8f Merge pull request #128 from barakmich/boltdb
Add BoltDB backend
2014-08-23 18:11:28 -04:00
d0fcdf4299 Documentation and tests 2014-08-23 18:05:04 -04:00
e2debf5f04 Merge branch 'master' into boltdb 2014-08-23 17:23:16 -04:00
37904212e3 Merge pull request #139 from kortschak/deadcode
Move remove() and removeAll() to tests
2014-08-23 17:22:29 -04:00
e8c51f5df4 Merge kortschak/config (hand-conflict) 2014-08-23 17:21:08 -04:00
e11dfeb50f Optionalize the sync parameter 2014-08-23 17:19:14 -04:00
c46c3f16e0 Merge pull request #138 from kortschak/usage
Clean up usage
2014-08-23 14:20:33 -04:00
79297cd8b1 Merge pull request #141 from kortschak/parse
Fix parser acceptance of `"` literal in IRIRef
2014-08-23 14:18:43 -04:00
kortschak
49961a50d7 Generate parser and add tests
ragel -Z -G2 parse.rl

ragel version 6.8
2014-08-23 11:09:28 +09:30