de.uni.leipzig.IR15.Benchmark.orientdb
Class Query3_LowL_Benchmark

java.lang.Object
  extended by de.uni.leipzig.IR15.Benchmark.Benchmark
      extended by de.uni.leipzig.IR15.Benchmark.orientdb.OrientDBBenchmark
          extended by de.uni.leipzig.IR15.Benchmark.orientdb.Query3_LowL_Benchmark

public class Query3_LowL_Benchmark
extends OrientDBBenchmark

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:
Sascha 'peil' Ludwig

Constructor Summary
Query3_LowL_Benchmark()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the benchmark.
 void run()
          Finds all nodes and gets the w1_id, w2_id, sig and freq attributes for nodes that are neighbors to each other and to a given start node.
 
Methods inherited from class de.uni.leipzig.IR15.Benchmark.orientdb.OrientDBBenchmark
afterRun, beforeRun, findMaxWordID, 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_LowL_Benchmark

public Query3_LowL_Benchmark()
Method Detail

run

public void run()
Finds all nodes and gets the w1_id, w2_id, sig and freq attributes for nodes that are neighbors to each other and to a given start node.

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