de.uni.leipzig.IR15.Benchmark.mysql
Class Query2_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.Query2_Benchmark

public class Query2_Benchmark
extends MySQLBenchmark

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

Author:
Martin 's1ck' Junghanns

Constructor Summary
Query2_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

Query2_Benchmark

public Query2_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