Skip to content

v4.3.0

Compare
Choose a tag to compare
@dilini-muthumala dilini-muthumala released this 13 Dec 05:27
· 1824 commits to master since this release

Following API changes have being introduced in this release:

  • Following method in org.wso2.siddhi.core.query.processor.stream.window.QueryableProcessor interface is deprecated.
StreamEvent query(StateEvent matchingEvent, CompiledCondition compiledCondition,
                      CompiledSelection compiledSelection)
            throws ConnectionUnavailableException;

Above method should be replaced with following method:

    StreamEvent query(StateEvent matchingEvent, CompiledCondition compiledCondition,
                      CompiledSelection compiledSelection, Attribute[] outputAttributes)
            throws ConnectionUnavailableException;
  • As a result of above change in QueryableProcessor, following method in org.wso2.siddhi.core.table.record.RecordTableHandler abstract class is also deprecated.
    public abstract Iterator<Object[]> query(long timestamp, Map<String, Object> parameterMap,
                                             CompiledCondition compiledCondition,
                                             CompiledSelection compiledSelection,
                                             RecordTableHandlerCallback recordTableHandlerCallback)
            throws ConnectionUnavailableException;

Above method will be replaced with following method:

public abstract Iterator<Object[]> query(long timestamp, Map<String, Object> parameterMap,
                                             CompiledCondition compiledCondition,
                                             CompiledSelection compiledSelection,
                                             Attribute[] outputAttributes,
                                             RecordTableHandlerCallback recordTableHandlerCallback)
            throws ConnectionUnavailableException;