@Override
        public Map<String, Object> snapshot() {
            Map<String, Object> state = new HashMap<>();
            state.put("Values", values);
            state.put("LastTimestamp", lastTimestamp);
            return state;
        }
This class implements logic to process aggregates(after retrieval from tables) that were aggregated
using external timestamp.
modules/siddhi-core/src/main/java/io/siddhi/core/aggregation/OutOfOrderEventsDataAggregator.java