public void addAll(ComplexEventChunk<E> complexEventChunk) {
        if (complexEventChunk.first != null) {
            if (first == null) {
                first = complexEventChunk.first;
            } else {
                last.setNext(complexEventChunk.first);
            }
            last = complexEventChunk.last;
        }
    }
Collection used to group and manage chunk or ComplexEvents

@param <E> sub types of ComplexEvent such as StreamEvent and StateEvent
modules/siddhi-core/src/main/java/io/siddhi/core/event/ComplexEventChunk.java