de.uni.leipzig.IR15.Benchmark.mysql
Class Query1_Benchmark

java.lang.Object
  extended by de.uni.leipzig.IR15.Benchmark.Benchmark
      extended by de.uni.leipzig.IR15.Benchmark.mysql.MySQLBenchmark
          extended by de.uni.leipzig.IR15.Benchmark.mysql.Query1_Benchmark

public class Query1_Benchmark
extends MySQLBenchmark

Query 1 selects all sentence co-occurrences (co_s) of a given word.

Author:
Martin 's1ck' Junghanns

Constructor Summary
Query1_Benchmark()
           
 
Method Summary
 void beforeRun()
          Find a random start node and prepare the sql statement.
 java.lang.String getName()
          Returns the name of the benchmark.
 
Methods inherited from class de.uni.leipzig.IR15.Benchmark.mysql.MySQLBenchmark
afterRun, getRandomStartNode, run, setUp, tearDown, warmup
 
Methods inherited from class de.uni.leipzig.IR15.Benchmark.Benchmark
getCurrentRun, getResults, getRuns, setCurrentRun, setRuns
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query1_Benchmark

public Query1_Benchmark()
Method Detail

beforeRun

public void beforeRun()
Find a random start node and prepare the sql statement.

Overrides:
beforeRun in class MySQLBenchmark

getName

public java.lang.String getName()
Returns the name of the benchmark.

Specified by:
getName in class Benchmark
Returns:
name of the benchmark