|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.plan.OuterInnerDirectionalGraph
public class OuterInnerDirectionalGraph
This class represents outer-join relationships between outer and inner tables. To add a left outer join between streams 0 and 1 use "add(0, 1)". To add a full outer join between streams 0 and 1 use "add(0, 1)" and "add(1, 0)". To add a right outer join between streams 0 and 1 use "add(1, 0)".
Constructor Summary | |
---|---|
OuterInnerDirectionalGraph(int numStreams)
Ctor. |
Method Summary | |
---|---|
OuterInnerDirectionalGraph |
add(int outerStream,
int innerStream)
Add an outer-to-inner join stream relationship. |
void |
addUnqualifiedNavigable(int streamOne,
int streamTwo)
|
java.util.Set<java.lang.Integer> |
getInner(int outerStream)
Returns the set of inner streams for the given outer stream number. |
java.util.Set<java.lang.Integer> |
getOuter(int innerStream)
Returns the set of outer streams for the given inner stream number. |
java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> |
getUnqualifiedNavigableStreams()
|
boolean |
isInner(int outerStream,
int innerStream)
Returns true if the outer stream has an optional relationship to the inner stream. |
boolean |
isOuter(int outerStream,
int innerStream)
Returns true if the inner stream has a relationship to the outer stream. |
java.lang.String |
print()
Prints out collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OuterInnerDirectionalGraph(int numStreams)
numStreams
- - number of streamsMethod Detail |
---|
public OuterInnerDirectionalGraph add(int outerStream, int innerStream)
outerStream
- is the stream number of the outer streaminnerStream
- is the stream number of the inner stream
public java.util.Set<java.lang.Integer> getInner(int outerStream)
outerStream
- is the stream number of the outer stream
public java.util.Set<java.lang.Integer> getOuter(int innerStream)
innerStream
- is the stream number of the inner stream
public boolean isInner(int outerStream, int innerStream)
outerStream
- is the stream number of the outer streaminnerStream
- is the stream number of the inner stream
public boolean isOuter(int outerStream, int innerStream)
outerStream
- is the stream number of the outer streaminnerStream
- is the stream number of the inner stream
public java.lang.String print()
public java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> getUnqualifiedNavigableStreams()
public void addUnqualifiedNavigable(int streamOne, int streamTwo)
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |