8437520018
Merge pull request #162 from kortschak/issue160
...
Issue160
2014-10-15 03:30:37 -04: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
cfa2cc647a
Merge pull request #167 from kortschak/issue165
...
Don't retain results where the value is empty
2014-09-23 20:13:37 -04:00
kortschak
e71d19c851
Don't retain results where the value is empty
...
Empty quad terms are not valid, so we should be able to safely drop any
results where the value is "".
2014-09-24 09:14:59 +09:30
9ae13957b3
Merge pull request #166 from kortschak/issue163
...
Ensure we don't examine empty token
2014-09-23 19:26:03 -04:00
kortschak
887c23e640
Ensure we don't examine empty token
...
Fixes issue #163 .
2014-09-24 08:52:00 +09:30
kortschak
d6191ba468
Add test for issue 160
2014-09-23 09:19:51 +09:30
kortschak
5484d7eb35
Type switch on otto.Value
...
Ugh, this is not documented in otto. Leaving a panic for future cases
where dynamic typing will jump out at us.
Fixes issue #160 .
2014-09-23 08:56:14 +09:30
kortschak
ce179e3887
Provide informative logging for dups/absences
2014-09-22 13:00:20 +09:30
6308affc69
Merge pull request #152 from kortschak/describe
...
Replace DebugString with a well defined type returned by Describe
2014-09-19 21:38:28 -04:00
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
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