private ComplexEventChunk<StreamEvent> convForDelete(List<Map<String, Object>> deleteConditionParameterMaps) {
        List<Object[]> objectList = new LinkedList<>();
        for (Map<String, Object> parameterMap : deleteConditionParameterMaps) {
            List<Object> outputData = new ArrayList<>();
            List<Attribute> attributeList = inMemoryTable.getTableDefinition().getAttributeList();

            for (int i = 0; i < attributeList.size(); i++) {
                if (parameterMap.get(attributeList.get(i).getName()) != null) {
                    outputData.add(parameterMap.get(attributeList.get(i).getName()));
                } else {
                    outputData.add(null);
                }
            }
            objectList.add(outputData.toArray());
        }

        ComplexEventChunk<StreamEvent> complexEventChunk = new ComplexEventChunk<>();
        for (Object[] record : objectList) {
            StreamEvent event = new StreamEvent(0, 0, record.length);
//            StateEvent stateEvent = new StateEvent(2, record.length);
            event.setOutputData(record);
//            stateEvent.addEvent(0, event);
            complexEventChunk.add(event);
        }
        return complexEventChunk;
    }
Custom store for testing of in memory cache for store tables.
modules/siddhi-core/src/test/java/io/siddhi/core/query/table/util/TestStoreForCacheMiss.java