Commit graph

268 commits

Author SHA1 Message Date
Andrew Dunham
bb5fd55e21 Fix Err fallout for graph/iterator.HasA iterator 2015-04-14 18:39:07 -07:00
Andrew Dunham
742277e72e Fix Err fallout for graph/iterator.And iterator 2015-04-14 18:39:07 -07:00
Andrew Dunham
c156fd6b1b Fix Err fallout for graph/iterator.Not iterator 2015-04-14 18:39:07 -07:00
Andrew Dunham
1181e76ab0 Add testIterator for use in testing 2015-04-14 18:39:07 -07:00
Andrew Dunham
6cb67cdd8c Add a helper function Err, similar to graph.Next 2015-04-14 16:58:20 -07:00
Andrew Dunham
f1d7600c34 Fix Err fallout for graph/iterator.Null iterator 2015-04-14 16:57:57 -07:00
Andrew Dunham
ebb45d4c14 Fix Err fallout for graph/iterator.Fixed iterator 2015-04-14 16:35:08 -07:00
Andrew Dunham
c0133018a5 Fix Err fallout for graph/iterator.Int64 iterator 2015-04-14 16:34:03 -07:00
Andrew Dunham
e07838857f Add Err() method to Nexter interface 2015-04-14 16:33:32 -07:00
Andrew Dunham
6aad2b1818 Add static type assertions
Assert that various iterators satisfy the graph.Nexter interface
2015-04-14 16:28:46 -07:00
84718983a5 Merge master and gaedatastore branch 2015-04-04 19:09:33 -04:00
a5cc4007f0 graph: tighten up primarykey json marshaling to prefer integer keys 2015-04-04 19:00:56 -04:00
f1579c1e25 Merge pull request #218 from barakmich/primarykey
Fix PrimaryKey Marshalling and add Bolt test
2015-04-04 18:05:04 -04:00
panamafrancis
643e721f82 added sync pools for hashing 2015-02-26 01:52:09 +01:00
panamafrancis
55c1fe9e57 Primary key refactoring re. Un/Marshaling of JSON and the unique keys, plus the ApplyDelta() and 'defensive' changes introduced by Kortshack, also did some tidying up. 2015-02-25 10:40:27 +01:00
bffcd47257 Fix PrimaryKey Marshalling and add Bolt test
Based on LevelDB test exactly. Sure enough, it found a bug.
2015-02-21 18:26:52 -05:00
panamafrancis
1ddc94c2e5 Fixed crash in iterator Clone(), added test 2015-02-21 23:55:36 +01:00
panamafrancis
a5aca090c1 Stopped appengine exclusive tests being built by the go test tool 2015-02-21 23:55:36 +01:00
=
d545fc4b44 renamed GetType() to Type(), fixed iterator tests 2015-02-21 23:55:36 +01:00
=
4bafc22f43 Fixed appengine.go + minor changes 2015-02-21 23:55:36 +01:00
=
5e61e2ecad Appengine datastore backend implementation, beta version, not optimized. \n CR: nobody \n Tests: Unit tests, manual 2015-02-21 23:46:11 +01:00
=
35ccfe7677 Added functionality so quadstore is generated per request (if needed) for the new appengine backend \n CR : nobody \n Tests run: unit tests 2015-02-21 23:46:11 +01:00
2c74cb1657 Merge pull request #217 from barakmich/primarykey
Rewrite keys into concrete types, remove key package
2015-02-21 16:37:55 -05:00
67673b31f4 Clean up a little lint and some shadowed variables 2015-02-21 16:21:48 -05:00
cf3e286d15 Rewrite keys into concrete types, remove key package 2015-02-21 16:19:51 -05:00
l.albertalli
472d86223e Changed the ApplyDeltas signature 2015-02-10 18:17:54 -08:00
l.albertalli
50c3e5f93c Shortended function signature and changed flag priority 2015-02-10 10:48:02 -08:00
l.albertalli
cca6d53623 Modified mock iterator for the new interface of ApplyDeltas 2015-02-09 19:02:58 -08:00
l.albertalli
6134bc8bdd Moved configuration to Quadwriter and added to config file 2015-02-09 18:43:26 -08:00
l.albertalli
68cd44b986 Removed a debug line 2015-02-06 17:52:09 -08:00
l.albertalli
ce1cce5a01 Added command line options to ignore duplicate quad in add or missing quad in delete 2015-02-06 17:49:16 -08:00
c2fab568c7 Merge pull request #153 from mataevs/exceptop
Except/Not Operator for Gremlin.
2015-02-05 20:38:19 -05:00
8d08e80396 Merge pull request #159 from kortschak/dups
Provide informative logging for dups/absences
2015-02-03 19:13:19 -05:00
d2434b024d Merge pull request #180 from bkendall/fix-mongo-cache-no-tests
Prevent empty values in cache (using mongo)
2015-02-03 18:58:33 -05:00
327b6aac49 Merge pull request #203 from kortschak/defensive
Make graph.Delta zero state invalid for use
2015-02-03 18:53:17 -05:00
kortschak
46f987ca51 Make graph.Delta zero state invalid for use
Previously, an incorrectly initialised Delta (omission of Action) would
result in an Add operation. Make that detectable and return an error.
2015-01-27 08:39:50 +10:30
Varadharajan Mukundan
98d5f3b8d7 In LevelDB's createKeyFor method we allocate size for 3 hashes but append 4 hashes. Eventhough append handles it intelligently, the code is misleading 2015-01-05 18:21:20 +05:30
9088fe376b Merge pull request #186 from panamafrancis/primarykeys
Implementation of the PrimaryKey type
2014-12-28 14:05:58 -08:00
kortschak
844e811f0f Fix leveldb change skew
Make leveldb match the changes in syndtr/leveldb API due to breakages at
syndtr/goleveldb@63c9e64.
2014-12-12 08:24:38 +10:30
panamafrancis
abda6cbbb0 Refactoring of Delta.IDs & horizon functionality with a PrimaryKey type, needed for implementing UUID based primary keys for backends such as the appengine datastore \n Tests: at top level and if available per backend, if not then just visual 2014-12-01 23:00:06 +01:00
Bryan Kendall
03c82c7463 prevent cache from storing empty values 2014-11-01 17:18:28 -07:00
Matei Chiperi
52be8fb21b Updated Except operator to the new operator interface. 2014-10-02 16:34:17 -07:00
Matei Chiperi
f86bddd50a Merge branch 'master' into exceptop 2014-10-02 16:08:51 -07:00
kortschak
887c23e640 Ensure we don't examine empty token
Fixes issue #163.
2014-09-24 08:52:00 +09:30
kortschak
ce179e3887 Provide informative logging for dups/absences 2014-09-22 13:00:20 +09:30
Matei Chiperi
741f9cceec Fixed not iterator test. 2014-09-08 17:33:45 -07:00
Matei Chiperi
1d0540af17 Removed "loop" iterator type. 2014-09-08 17:17:46 -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