public Map<String, StreamDefinition> getStreamDefinitionMap() {
        return streamDefinitionMap.entrySet()
                .stream()
                .collect(Collectors.toMap(Map.Entry::getKey,
                        e -> (StreamDefinition) e.getValue()));
    }
Get the stream definition map.

@return Map of {@link StreamDefinition}s.
modules/siddhi-core/src/main/java/io/siddhi/core/SiddhiAppRuntimeImpl.java