diff --git a/src/java/com/threerings/stats/server/persist/StatRepository.java b/src/java/com/threerings/stats/server/persist/StatRepository.java
index c6edeca3..c4658a4a 100644
--- a/src/java/com/threerings/stats/server/persist/StatRepository.java
+++ b/src/java/com/threerings/stats/server/persist/StatRepository.java
@@ -41,18 +41,6 @@ import static com.threerings.stats.Log.log;
public class StatRepository extends SimpleRepository
implements Stat.AuxDataSource
{
- /** Used by {@link #processStats}. */
- public interface Processor
- {
- /**
- * Called on every stat matching the criterion supplied to {@link #processStats}.
- * Note: do not retain a reference to the supplied {@link Stat} instance as its
- * contents will be overwritten prior to each call to process.
- */
- public void process (int playerId, String accountName, String handle,
- Date created, int sessionMinutes, Stat stat);
- }
-
/**
* The database identifier used when establishing a database connection. This value being
* statdb.
@@ -179,42 +167,6 @@ public class StatRepository extends SimpleRepository
_codeToString.get(type).remove(ocode);
}
- /**
- * Invokes the supplied processor on every stat in the database of the specified type.
- *
- *
Note: the stats database will inevitable be extremely large (one row for every - * paying player and one for non-payers less than six months old; millions of rows if the game - * is at all successful). Don't call this method willy nilly and the summarized results should - * be cached for at least 12 hours. (Stats don't change that frequently in the aggregate.) - */ - public void processStats (final Processor processor, Stat.Type type) - throws PersistenceException - { - final Stat stat = type.newStat(); - final String query = "select STATS.PLAYER_ID, ACCOUNT_NAME, HANDLE, CREATED, " + - "SESSION_MINUTES, STAT_DATA from STATS, PLAYERS " + - "where PLAYERS.PLAYER_ID = STATS.PLAYER_ID and STAT_CODE = " + type.code(); - execute(new Operation