package com.littleinc.orm_benchmark;

import java.sql.SQLException;

import android.content.Context;

public interface BenchmarkExecutable {

    public static final String SEARCH_TERM = "a";

    public static final long SEARCH_LIMIT = 100;

    public static final int NUM_READERS = 10;

    public static final int NUM_USER_INSERTS = 1000;

    public static final int NUM_MESSAGE_INSERTS = 10000;

    public static final int NUM_MESSAGES_WITH_READERS = 50;

    public static final int LOOK_BY_INDEXED_FIELD = 5000;

    public static enum Task {
        CREATE_DB, WRITE_DATA, READ_DATA, READ_INDEXED, READ_SEARCH, DROP_DB;
    }

    int getProfilerId();

    String getOrmName();

    void init(Context context, boolean useInMemoryDb);

    long createDbStructure() throws SQLException;

    long writeWholeData() throws SQLException;

    long readWholeData() throws SQLException;

    long readIndexedField() throws SQLException;

    long readSearch() throws SQLException;

    long dropDb() throws SQLException;
}

@@ -139,36 +139,16 @@
  %7B%0A%0A    
-public static final 
 String S
@@ -170,36 +170,16 @@
 %22;%0A%0A    
-public static final 
 long SEA
@@ -200,36 +200,16 @@
 0;%0A%0A    
-public static final 
 int NUM_
@@ -227,36 +227,16 @@
 0;%0A%0A    
-public static final 
 int NUM_
@@ -261,36 +261,16 @@
 0;%0A%0A    
-public static final 
 int NUM_
@@ -299,36 +299,16 @@
 0;%0A%0A    
-public static final 
 int NUM_
@@ -344,28 +344,8 @@
     
-public static final 
 int 
@@ -383,22 +383,8 @@
     
-public static 
 enum

Fix some warnings