public class LogicalStateElement extends Object implements StateElement
Modifier and Type | Class and Description |
---|---|
static class |
LogicalStateElement.Type
Different type of logical condition.
|
Modifier and Type | Field and Description |
---|---|
protected StreamStateElement |
streamStateElement1 |
protected StreamStateElement |
streamStateElement2 |
protected LogicalStateElement.Type |
type |
protected TimeConstant |
within |
Constructor and Description |
---|
LogicalStateElement(StreamStateElement streamStateElement1,
LogicalStateElement.Type type,
StreamStateElement streamStateElement2) |
LogicalStateElement(StreamStateElement streamStateElement1,
LogicalStateElement.Type type,
StreamStateElement streamStateElement2,
TimeConstant within) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int[] |
getQueryContextEndIndex() |
int[] |
getQueryContextStartIndex() |
StreamStateElement |
getStreamStateElement1() |
StreamStateElement |
getStreamStateElement2() |
LogicalStateElement.Type |
getType() |
TimeConstant |
getWithin() |
int |
hashCode() |
void |
setQueryContextEndIndex(int[] lineAndColumn) |
void |
setQueryContextStartIndex(int[] lineAndColumn) |
void |
setWithin(TimeConstant within) |
String |
toString() |
protected StreamStateElement streamStateElement1
protected LogicalStateElement.Type type
protected StreamStateElement streamStateElement2
protected TimeConstant within
public LogicalStateElement(StreamStateElement streamStateElement1, LogicalStateElement.Type type, StreamStateElement streamStateElement2)
public LogicalStateElement(StreamStateElement streamStateElement1, LogicalStateElement.Type type, StreamStateElement streamStateElement2, TimeConstant within)
public StreamStateElement getStreamStateElement1()
public StreamStateElement getStreamStateElement2()
public LogicalStateElement.Type getType()
public TimeConstant getWithin()
getWithin
in interface StateElement
public void setWithin(TimeConstant within)
setWithin
in interface StateElement
public int[] getQueryContextStartIndex()
getQueryContextStartIndex
in interface SiddhiElement
public void setQueryContextStartIndex(int[] lineAndColumn)
setQueryContextStartIndex
in interface SiddhiElement
public int[] getQueryContextEndIndex()
getQueryContextEndIndex
in interface SiddhiElement
public void setQueryContextEndIndex(int[] lineAndColumn)
setQueryContextEndIndex
in interface SiddhiElement
Copyright © 2018 WSO2. All rights reserved.