@Override
    public int[] getQueryContextEndIndex() {

        return queryContextEndIndex;
    }
Time Period API. This defines all the time durations supported in Incremental Aggregation,
and the relevant operators
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/aggregation/TimePeriod.java