Skip to content

Commit

Permalink
Start to do a little release tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
ghelmling committed Feb 21, 2010
1 parent 96f9f1f commit a824def
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
29 changes: 29 additions & 0 deletions RELEASE_NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Release 0.2.0:
===============
Focus on API cleanup and better configurability.

* Reworked the query API
* QueryOpts usage was a bit clumsy, so it is no longer exposed as a
parameter in the query API. Instead, it's used internally to consolidate
settings, but the query instance functions more as a builder:

Query with start and end keys:
Query q = service.query();
q.start( startkey )
.where( Criteria.eq( 'prop', value ) )
.where( Criteria.eq( 'prop2', value2 ) )
.end( endkey );
q.execute();

or for an indexed query:
Query q = service.query();
q.using( Criteria.eq( 'idxprop', value ) )
.where( Criteria.gt( 'prop2', minvalue ) );
q.execute();




Release 0.1.0:
===============
Initial code release.
24 changes: 0 additions & 24 deletions TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,5 @@

10/8/2009:

* Straight scans aren't very intuitive with the query API, you kind of
work-around it to get them. Need to more easily enable this common
usage.

* For query scanning of secondary index tables, should maybe use row
prefix filters instead of value filters

1-28-2010:

* Rework the query API
* QueryOpts is clumsy. It shouldn't be exposed as an external
object. Instead, use it internally to consolidate settings, but
the query instance should function more as a builder:
q = service.query();
q.start( startkey )
.where( Criteria.eq( 'prop', value ) )
.where( Criteria.eq( 'prop2', value2 ) )
.end( endkey );
q.execute();

or for an indexed query:
q = service.query();
q.using( Criteria.eq( 'idxprop', value ) )
.where( Criteria.gt( 'prop2', minvalue ) );
q.execute();

0 comments on commit a824def

Please sign in to comment.