public StreamStateElement getStreamStateElement2() {

        return streamStateElement2;
    }
Logical state element used in pattern to handle logical operations
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/input/state/LogicalStateElement.java