|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hypergraphdb.HGQuery
org.hypergraphdb.query.impl.IntersectionQuery
public class IntersectionQuery
An IntersectionQuery combines the results of two underlying
queries and produces a result set containing only elements that appear
in both of the input result sets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.hypergraphdb.HGQuery |
|---|
HGQuery.hg |
| Field Summary |
|---|
| Fields inherited from class org.hypergraphdb.HGQuery |
|---|
NOP |
| Constructor Summary | |
|---|---|
IntersectionQuery(HGQuery left,
HGQuery right,
RSCombiner combiner)
Construct an intersection of two queries. |
|
| Method Summary | |
|---|---|
HGSearchResult |
execute()
|
| Methods inherited from class org.hypergraphdb.HGQuery |
|---|
getHyperGraph, make, setHyperGraph |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntersectionQuery(HGQuery left,
HGQuery right,
RSCombiner combiner)
Construct an intersection of two queries.
left - One of the two queries. May not be null.right - The other of the two queries. May not be null.| Method Detail |
|---|
public HGSearchResult execute()
execute in class HGQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||