Commit graph

79 commits

Author SHA1 Message Date
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
6aad2b1818 Add static type assertions
Assert that various iterators satisfy the graph.Nexter interface
2015-04-14 16:28:46 -07:00
=
d545fc4b44 renamed GetType() to Type(), fixed iterator tests 2015-02-21 23:55:36 +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
cca6d53623 Modified mock iterator for the new interface of ApplyDeltas 2015-02-09 19:02:58 -08:00
c2fab568c7 Merge pull request #153 from mataevs/exceptop
Except/Not Operator for Gremlin.
2015-02-05 20:38:19 -05:00
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
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
Matei Chiperi
741f9cceec Fixed not iterator test. 2014-09-08 17:33:45 -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
Matei Chiperi
55d235bd55 Added Gremlin tests for the Except operator. 2014-08-28 18:56:06 -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
5d4e22498d Converted the Not operator to a complement operator in terms of functionality. 2014-08-27 13:42:56 -07:00
kortschak
443a091b72 Rename triple entities were relevant 2014-08-27 21:27:01 +09:30
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
a371155cd2 Fix linksto and zero-costs 2014-08-16 06:30:27 -04:00
e453385d5e explain logging and weight fixing 2014-08-16 05:19:16 -04:00
f967b36f84 comments and concretized deltas 2014-08-14 01:24:39 -04:00
fe0569c9d4 merge with master 2014-08-13 23:03:07 -04:00
104e7d110d fix leveldb (and speed up hasa) 2014-08-13 13:08:50 -04:00
b6d966e9b5 fix and iterator, add some logging, and reenable 2014-08-12 16:38:10 -04:00
kortschak
99d44e3228 Add test and make it pass 2014-08-12 10:20:26 +09:30
664b37b9a6 Merge branch 'master' into log_database 2014-08-10 21:50:36 -04:00
aad21b0585 Fix aborted materialization 2014-08-10 21:49:57 -04:00
3770190db5 test clean 2014-08-10 20:10:00 -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
b74cb142f0 Key/Keyer 2014-08-06 16:59:46 -04:00
2b43185117 rename Hashable/Hasher 2014-08-06 15:58:37 -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
2bec255b52 Copy refs and comment on Value 2014-08-06 14:37:37 -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