#677 - REFACTOR: Remove unused SqlQuery.setBackgroundFetchAfter()

This commit is contained in:
Robin Bygrave
2016-04-28 22:18:14 +12:00
parent 8a84eaf7a7
commit 9350155c00
3 changed files with 0 additions and 24 deletions
@@ -135,11 +135,6 @@ public interface SqlQuery extends Serializable {
*/
SqlQuery setMaxRows(int maxRows);
/**
* Set the index after which fetching continues in a background thread.
*/
SqlQuery setBackgroundFetchAfter(int backgroundFetchAfter);
/**
* Set the column to use to determine the keys for a Map.
*/
@@ -35,11 +35,6 @@ public interface SpiSqlQuery extends SqlQuery {
*/
int getMaxRows();
/**
* Return the number of rows after which background fetching occurs.
*/
int getBackgroundFetchAfter();
/**
* Return the key property for maps.
*/
@@ -45,11 +45,6 @@ public class DefaultRelationalQuery implements SpiSqlQuery {
*/
private transient PreparedStatement pstmt;
/**
* The rows after which the fetch continues in a bg thread.
*/
private int backgroundFetchAfter;
private int bufferFetchSizeHint;
/**
@@ -166,15 +161,6 @@ public class DefaultRelationalQuery implements SpiSqlQuery {
return this;
}
public int getBackgroundFetchAfter() {
return backgroundFetchAfter;
}
public DefaultRelationalQuery setBackgroundFetchAfter(int backgroundFetchAfter) {
this.backgroundFetchAfter = backgroundFetchAfter;
return this;
}
public int getTimeout() {
return timeout;
}