diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java b/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java index 56e4e33..e737288 100644 --- a/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java +++ b/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java @@ -129,6 +129,10 @@ class LoggingQuery<S extends Storable> implements Query<S> { return newInstance(mQuery.orderBy(strings));
}
+ public Query<S> after(S start) throws FetchException {
+ return newInstance(mQuery.after(start));
+ }
+
public Cursor<S> fetch() throws FetchException {
Log log = mStorage.mLog;
if (log.isEnabled()) {
@@ -154,15 +158,6 @@ class LoggingQuery<S extends Storable> implements Query<S> { return mQuery.fetchAfter(start);
}
- public Cursor<S> fetchAfter(S start, long from, Long to) throws FetchException {
- Log log = mStorage.mLog;
- if (log.isEnabled()) {
- log.write("Query.fetchAfter(start, from, to) on " + this + ", start: " + start +
- ", from: " + from + ", to: " + to);
- }
- return mQuery.fetchAfter(start);
- }
-
public S loadOne() throws FetchException {
Log log = mStorage.mLog;
if (log.isEnabled()) {
|