From c5028b6b2d70cd5ab1a051195ade47bd6fec72f9 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Mon, 14 Apr 2008 14:09:45 +0000 Subject: Added "after" method and removed fetchAfter slice method. --- .../com/amazon/carbonado/repo/logging/LoggingQuery.java | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/main/java/com/amazon/carbonado/repo') 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 implements Query { return newInstance(mQuery.orderBy(strings)); } + public Query after(S start) throws FetchException { + return newInstance(mQuery.after(start)); + } + public Cursor fetch() throws FetchException { Log log = mStorage.mLog; if (log.isEnabled()) { @@ -154,15 +158,6 @@ class LoggingQuery implements Query { return mQuery.fetchAfter(start); } - public Cursor 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()) { -- cgit v1.2.3