Commit graph

680 commits

Author SHA1 Message Date
Andrew Dunham
2d24d2ed3b Upgrade to latest App Engine SDK 2015-04-29 12:52:18 -07:00
Andrew Dunham
c1771fa72b Add .gitignore 2015-04-29 12:47:29 -07:00
Andrew Dunham
e9e768ce36 Refactor location of code
1. The 'cayley' command now lives under cmd/
2. Integration tests live under integration/
3. Some utility functions used in both the integration tests and the
   'cayley' command were split to their own 'util' package.
2015-04-29 12:45:58 -07:00
7f1607693a Merge pull request #244 from andrew-d/andrew-remove-ResultTree
Remove deprecated ResultTree API
2015-04-28 19:35:49 -04:00
Andrew Dunham
189961cb8d Remove deprecated ResultTree API 2015-04-28 15:57:35 -07:00
07303c708b Merge pull request #241 from Dabaez/patch-1
Update README.md
2015-04-26 23:35:20 -04:00
Allon Hadaya
35a96a3a81 Update in and out predicates to use unique iterator. 2015-04-26 17:49:51 -04:00
Allon Hadaya
f775756ad1 Alpha attempt at in and out predicates. 2015-04-26 17:49:51 -04:00
86ae24f59d Merge pull request #242 from barakmich/unique_iterator
Implement the Unique iterator
2015-04-26 17:48:42 -04:00
890f1b69f4 unique iterator implementation 2015-04-26 17:45:17 -04:00
Dabaez
1554b6ca51 Update README.md
Adding documentation on visualizer (lines 65-79)
2015-04-26 15:32:21 -04:00
7fa20fc306 Merge pull request #237 from jf87/master
added example n-quad file for gremlin api description
2015-04-25 19:13:08 -04:00
0570c71601 Merge pull request #236 from barakmich/mongo_indexed_lto
Mongo Indexed LinksTo
2015-04-25 19:11:48 -04:00
c3c5fe50c1 Fix nits 2015-04-25 19:08:20 -04:00
Jonathan Fuerst
5b207d7c64 Fix spelling mistake in GremlinAPI.md 2015-04-24 10:13:46 +02:00
46093c2307 Merge pull request #235 from jzelinskie/godeps
store dependencies' versions with godep
2015-04-23 16:51:00 -04:00
Jimmy Zelinskie
64fa0f8032 store dependencies' versions with godep
These dependencies can be loaded into your $GOPATH simply executing
`godep restore`. This will allow builds to become reproducible, without
getting in the way of those wanting to consume parts of the project's
source code as a library.
2015-04-23 16:36:16 -04:00
Jonathan Fuerst
00cd5f22c6 Changed gremlin_test.go to use data/testdata.nq
gremlin_test.nt is not necessary anymore
-- actually it was not used before ;-)
2015-04-23 15:14:00 +02:00
Jonathan Fuerst
e851864576 changed to new testdata file that is now used throughout the documentation 2015-04-22 17:05:38 +02:00
Jonathan Fuerst
5e3aafb47b added example n-quad file for gremlin api description 2015-04-21 14:25:49 +02: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
b90ba7cd77 don't replace unless strictly better 2015-04-19 14:59:22 -04:00
4e311177f1 cache size checks in mongo backend 2015-04-19 13:43:10 -04:00
5be1df3be3 initial mongo indexed linksto 2015-04-19 13:43:10 -04:00
6764ea0295 Merge pull request #233 from barakmich/decompressor
fix decompressing for http
2015-04-16 19:11:24 -04:00
ab8306d915 move decompressor test 2015-04-16 19:01:18 -04:00
f64df95f23 move decompressor to internal 2015-04-16 18:02:35 -04:00
2b86c283ec fix decompressing for http 2015-04-16 17:43:25 -04:00
a8f2db71b4 Merge pull request #231 from andrew-d/andrew-add-myself-as-author
Add myself to AUTHORS + CONTRIBUTORS
2015-04-16 15:19:30 -04:00
Andrew Dunham
1308826002 Add myself to AUTHORS + CONTRIBUTORS 2015-04-16 12:08:12 -07:00
4f69690c81 Merge pull request #229 from andrew-d/andrew-Err-method
Add Err() and Close() methods to Iterators
2015-04-16 15:05:04 -04:00
Andrew Dunham
d91bb5cb3f Fix phrasing in a comment 2015-04-15 16:51:30 -07:00
Andrew Dunham
8abb3807cb Move 'err' to the end of the struct 2015-04-15 16:49:47 -07:00
Andrew Dunham
c9de029225 s/(serr|err2)/_err/g 2015-04-15 16:39:51 -07:00
Andrew Dunham
131f5de7ea Fix a missed review comment 2015-04-15 16:30:01 -07:00
Andrew Dunham
5eed4d9667 Address review comments 2015-04-15 16:28:13 -07:00
Andrew Dunham
430ff507f0 Test for errors in .Contains() and .NextPath() 2015-04-15 15:28:46 -07:00
Andrew Dunham
7de923d40a Remove even more Fatal* calls 2015-04-15 14:14:33 -07:00
Andrew Dunham
1990eba055 Stop calling glog.Fatal* in a bunch of places 2015-04-15 14:07:45 -07:00
Andrew Dunham
cacdb74e41 Handle errors in more places in HasA Iterator 2015-04-15 13:51:46 -07:00
Andrew Dunham
0355b89f54 Don't save non-errors in the memstore iterator
As per the following link, io.EOF is returned to signal "no more items".
Thus, we don't treat this as an error, and don't save it.

https://godoc.org/github.com/cznic/b#Enumerator
2015-04-15 11:46:26 -07:00
Andrew Dunham
52d0b8779a Add an additional static type assertion 2015-04-15 11:17:33 -07:00
Andrew Dunham
33dd596ab4 Remove graph.Err helper function
Since Err() is now a member of the Iterator interface, we don't need
this helper function anymore.
2015-04-15 11:15:55 -07:00
Andrew Dunham
745d4874e6 Fix Err fallout for graph/iterator.LinksTo iterator 2015-04-15 10:58:37 -07:00
Andrew Dunham
accbc6007e Move Err() method to Iterator interface, fix fallout 2015-04-15 10:51:22 -07:00
Andrew Dunham
912b126e92 Fix Err fallout for graph/iterator.Materialize iterator 2015-04-15 10:48:50 -07:00
Andrew Dunham
0148f6ef12 More Close() docs 2015-04-14 22:13:56 -07:00
Andrew Dunham
1b6395ed0a Make Close() method on Iterators return an error 2015-04-14 20:17:31 -07:00