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 |
|
Andrew Dunham
|
5c9979ec8b
|
Fix Err fallout for graph/gaedatastore iterator
|
2015-04-14 19:58:39 -07:00 |
|
Andrew Dunham
|
bd2b2b73cf
|
Fix Err fallout for graph/mongo iterator
|
2015-04-14 19:11:39 -07:00 |
|
Andrew Dunham
|
5efd90a651
|
Fix Err fallout for graph/leveldb iterators
|
2015-04-14 19:11:23 -07:00 |
|
Andrew Dunham
|
9cdeb519d7
|
Fix Err fallout for graph/memstore iterators
|
2015-04-14 18:56:05 -07:00 |
|
Andrew Dunham
|
3ce9adbc0b
|
Fix Err fallout for graph/bolt iterators
|
2015-04-14 18:55:48 -07:00 |
|
Andrew Dunham
|
aaa3f27754
|
Fix Err fallout for graph/iterator.Or iterator
|
2015-04-14 18:49:02 -07:00 |
|
Andrew Dunham
|
40cbbfcc1b
|
Fix Err fallout for graph/iterator.Comparison iterator
|
2015-04-14 18:39:08 -07:00 |
|
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 |
|