de.uni.leipzig.IR15.Benchmark.neo4j
Class Query2_Native_Benchmark
java.lang.Object
de.uni.leipzig.IR15.Benchmark.Benchmark
de.uni.leipzig.IR15.Benchmark.neo4j.Neo4jBenchmark
de.uni.leipzig.IR15.Benchmark.neo4j.Query2_Native_Benchmark
public class Query2_Native_Benchmark
- extends Neo4jBenchmark
Query 2 selects the wordID of all sentence co-occurrences of co-occurrences
of a given word. It also selects the significance and the frequency of the
2nd degree co-occurrences.
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)
- Author:
- s1ck
Method Summary |
java.lang.String |
getName()
Returns the name of the benchmark. |
void |
run()
Fetches all neighbors of neighbors of a given start node. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query2_Native_Benchmark
public Query2_Native_Benchmark()
run
public void run()
- Fetches all neighbors of neighbors of 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