private static void defineTableDefinitions(SiddhiAppRuntimeBuilder siddhiAppRuntimeBuilder,
                                               Map<String, TableDefinition> tableDefinitionMap,
                                               SiddhiAppContext siddhiAppContext) {
        for (TableDefinition definition : tableDefinitionMap.values()) {
            try {
                siddhiAppRuntimeBuilder.defineTable(definition);
            } catch (Throwable t) {
                ExceptionUtil.populateQueryContext(t, definition, siddhiAppContext);
                throw t;
            }
        }
    }
Parse an SiddhiApp returning SiddhiAppRuntime

@param siddhiApp       plan to be parsed
@param siddhiAppString content of Siddhi application as string
@param siddhiContext   SiddhiContext  @return SiddhiAppRuntime
@return SiddhiAppRuntimeBuilder
modules/siddhi-core/src/main/java/io/siddhi/core/util/parser/SiddhiAppParser.java