You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by le...@apache.org on 2011/12/11 15:53:23 UTC
svn commit: r1213007 - in /incubator/gora/trunk: CHANGES.txt
gora-core/src/main/java/org/apache/gora/query/Query.java
Author: lewismc
Date: Sun Dec 11 14:53:23 2011
New Revision: 1213007
URL: http://svn.apache.org/viewvc?rev=1213007&view=rev
Log:
commit to address GORA-64 and update to CHANGES.txt
Modified:
incubator/gora/trunk/CHANGES.txt
incubator/gora/trunk/gora-core/src/main/java/org/apache/gora/query/Query.java
Modified: incubator/gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/gora/trunk/CHANGES.txt?rev=1213007&r1=1213006&r2=1213007&view=diff
==============================================================================
--- incubator/gora/trunk/CHANGES.txt (original)
+++ incubator/gora/trunk/CHANGES.txt Sun Dec 11 14:53:23 2011
@@ -2,6 +2,8 @@ Gora Change Log
Trunk (unreleased changes):
+* GORA-64 Query should document inclusiveness (Keith Turner via lewismc)
+
* GORA-52 Run JUnit tests from the command line (lewismc)
* GORA-62 Run bin/gora commands after maven build (lewismc)
Modified: incubator/gora/trunk/gora-core/src/main/java/org/apache/gora/query/Query.java
URL: http://svn.apache.org/viewvc/incubator/gora/trunk/gora-core/src/main/java/org/apache/gora/query/Query.java?rev=1213007&r1=1213006&r2=1213007&view=diff
==============================================================================
--- incubator/gora/trunk/gora-core/src/main/java/org/apache/gora/query/Query.java (original)
+++ incubator/gora/trunk/gora-core/src/main/java/org/apache/gora/query/Query.java Sun Dec 11 14:53:23 2011
@@ -77,10 +77,28 @@ public interface Query<K, T extends Pers
/* Dimension : key */
void setKey(K key);
+ /**
+ *
+ * @param startKey
+ * an inclusive start key
+ */
void setStartKey(K startKey);
+ /**
+ *
+ * @param endKey
+ * an inclusive end key
+ */
void setEndKey(K endKey);
+ /**
+ * Set the range of keys over which the query will execute.
+ *
+ * @param startKey
+ * an inclusive start key
+ * @param endKey
+ * an inclusive end key
+ */
void setKeyRange(K startKey, K endKey);
K getKey();