E&S CVS Commit: PEAK - Simplified algebra API: 'A(join=[B,C],where=d)'. All implemented

pje at eby-sarna.com pje at eby-sarna.com
Thu Oct 23 15:17:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Thu Oct 23 19:16:37 UTC 2003

Modified Files:
	PEAK/src/peak/query: algebra.py interfaces.py
	PEAK/src/peak/query/tests: test_algebra.py

Log Message:
Simplified algebra API: 'A(join=[B,C],where=d)'.  All implemented
operations are now accessible as keyword arguments to the __call__ of a
relvar.  This is more compact, clearer, and allows select/project/join and
outer joins to be expressed in a single call.  And, it eliminated a lot
of duplication between the various select/project/thetaJoin/outerJoin
method implmentations.  Also, refactored to ditch various kludges.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/query/algebra.py.diff?r1=1.7&r2=1.8
http://cvs.eby-sarna.com/PEAK/src/peak/query/interfaces.py.diff?r1=1.6&r2=1.7
http://cvs.eby-sarna.com/PEAK/src/peak/query/tests/test_algebra.py.diff?r1=1.7&r2=1.8

To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/query/algebra.py
cvs rdiff -r1.6 -r1.7 PEAK/src/peak/query/interfaces.py
cvs rdiff -r1.7 -r1.8 PEAK/src/peak/query/tests/test_algebra.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list