de.uni.leipzig.IR15.Benchmark.neo4j
Class Query3_Cypher_Benchmark

java.lang.Object
  extended by de.uni.leipzig.IR15.Benchmark.Benchmark
      extended by de.uni.leipzig.IR15.Benchmark.neo4j.Neo4jBenchmark
          extended by de.uni.leipzig.IR15.Benchmark.neo4j.CypherBenchmark
              extended by de.uni.leipzig.IR15.Benchmark.neo4j.Query3_Cypher_Benchmark

public class Query3_Cypher_Benchmark
extends CypherBenchmark

Query 3 selects all sentence co-occurrences of a given word which are co-occurences of themselves. A -> B , A -> C, B -> C - The relationship B -> C is selected In SQL this is the following query: select w1.w1_id,w1.w2_id,w1.freq,w1.sig from co_s w1 where w1.w1_id in (select w2.w2_id from co_s w2 where w2.w1_id=137) and w1.w2_id in (select w3.w2_id from co_s w3 where w3.w1_id=137);

Author:
Martin 's1ck' Junghanns

Constructor Summary
Query3_Cypher_Benchmark()
           
 
Method Summary
 void beforeRun()
          Prepare statement before each run.
 java.lang.String getName()
          Returns the name of the benchmark.
 
Methods inherited from class de.uni.leipzig.IR15.Benchmark.neo4j.CypherBenchmark
run
 
Methods inherited from class de.uni.leipzig.IR15.Benchmark.neo4j.Neo4jBenchmark
afterRun, 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

Query3_Cypher_Benchmark

public Query3_Cypher_Benchmark()
Method Detail

beforeRun

public void beforeRun()
Prepare statement before each run.

Overrides:
beforeRun in class Neo4jBenchmark

getName

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

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