Java Code Examples for io.siddhi.query.api.execution.query.input.stream.StateInputStream#Type
The following examples show how to use
io.siddhi.query.api.execution.query.input.stream.StateInputStream#Type .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbsentLogicalPreStateProcessor.java From siddhi with Apache License 2.0 | 5 votes |
public AbsentLogicalPreStateProcessor(LogicalStateElement.Type type, StateInputStream.Type stateType, TimeConstant waitingTime) { super(type, stateType); if (waitingTime != null) { this.waitingTime = waitingTime.value(); } }
Example 2
Source File: AbsentStreamPreStateProcessor.java From siddhi with Apache License 2.0 | 5 votes |
/** * Construct an AbsentStreamPreStateProcessor object. * * @param stateType PATTERN or SEQUENCE * @param waitingTime the waiting time defined by 'for' keyword */ public AbsentStreamPreStateProcessor(StateInputStream.Type stateType, long waitingTime) { super(stateType); // Not operator always has 'for' time this.waitingTime = waitingTime; }
Example 3
Source File: AbsentStreamPreStateProcessor.java From siddhi with Apache License 2.0 | 4 votes |
protected boolean removeOnNoStateChange(StateInputStream.Type stateType) { return false; }
Example 4
Source File: StreamPreStateProcessor.java From siddhi with Apache License 2.0 | 4 votes |
public StreamPreStateProcessor(StateInputStream.Type stateType) { this.stateType = stateType; }
Example 5
Source File: StreamPreStateProcessor.java From siddhi with Apache License 2.0 | 4 votes |
protected boolean removeOnNoStateChange(StateInputStream.Type stateType) { return stateType == StateInputStream.Type.SEQUENCE; }
Example 6
Source File: NextInnerStateRuntime.java From siddhi with Apache License 2.0 | 4 votes |
public NextInnerStateRuntime(InnerStateRuntime currentInnerStateRuntime, InnerStateRuntime nextInnerStateRuntime, StateInputStream.Type stateType) { super(stateType); this.currentInnerStateRuntime = currentInnerStateRuntime; this.nextInnerStateRuntime = nextInnerStateRuntime; }
Example 7
Source File: StreamInnerStateRuntime.java From siddhi with Apache License 2.0 | 4 votes |
public StreamInnerStateRuntime(StateInputStream.Type stateType) { this.stateType = stateType; }
Example 8
Source File: StreamInnerStateRuntime.java From siddhi with Apache License 2.0 | 4 votes |
public StateInputStream.Type getStateType() { return stateType; }
Example 9
Source File: EveryInnerStateRuntime.java From siddhi with Apache License 2.0 | 4 votes |
public EveryInnerStateRuntime(InnerStateRuntime innerStateRuntime, StateInputStream.Type stateType) { super(stateType); this.innerStateRuntime = innerStateRuntime; }
Example 10
Source File: LogicalInnerStateRuntime.java From siddhi with Apache License 2.0 | 4 votes |
public LogicalInnerStateRuntime(InnerStateRuntime innerStateRuntime1, InnerStateRuntime innerStateRuntime2, StateInputStream.Type stateType) { super(stateType); this.innerStateRuntime1 = innerStateRuntime1; this.innerStateRuntime2 = innerStateRuntime2; }
Example 11
Source File: LogicalPreStateProcessor.java From siddhi with Apache License 2.0 | 4 votes |
public LogicalPreStateProcessor(LogicalStateElement.Type type, StateInputStream.Type stateType) { super(stateType); this.logicalType = type; }
Example 12
Source File: CountPreStateProcessor.java From siddhi with Apache License 2.0 | 4 votes |
public CountPreStateProcessor(int minCount, int maxCount, StateInputStream.Type stateType) { super(stateType); this.minCount = minCount; this.maxCount = maxCount; }