de.uni.leipzig.IR15.Benchmark.neo4j
Class Query1_Native_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.Query1_Native_Benchmark

public class Query1_Native_Benchmark
extends Neo4jBenchmark

Query 1 selects the wordID of all the sentence co-occurrences of a given word. In SQL this is the following query: select w1.w2_id from co_s w1 where w1.w1_id=137;

Author:
Martin 's1ck' Junghanns

Constructor Summary
Query1_Native_Benchmark()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the benchmark.
 void run()
          Iterates over all neighbors to a given start node and gets their w_id.
 
Methods inherited from class de.uni.leipzig.IR15.Benchmark.neo4j.Neo4jBenchmark
afterRun, beforeRun, 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_Native_Benchmark

public Query1_Native_Benchmark()
Method Detail

run

public void run()
Iterates over all neighbors to a given start node and gets their w_id.

Specified by:
run in class Benchmark

getName

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

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