All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.espertech.esper.runtime.internal.kernel.service.DeployerModuleEPLObjects Maven / Gradle / Ivy

/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.runtime.internal.kernel.service;

import com.espertech.esper.common.client.EventType;
import com.espertech.esper.common.internal.compile.stage1.spec.ExpressionDeclItem;
import com.espertech.esper.common.internal.compile.stage1.spec.ExpressionScriptProvided;
import com.espertech.esper.common.internal.context.aifactory.core.ModuleIncidentals;
import com.espertech.esper.common.internal.context.compile.ContextMetaData;
import com.espertech.esper.common.internal.context.module.ModuleIndexMeta;
import com.espertech.esper.common.internal.epl.classprovided.core.ClassProvided;
import com.espertech.esper.common.internal.epl.namedwindow.path.NamedWindowMetaData;
import com.espertech.esper.common.internal.epl.script.core.NameAndParamNum;
import com.espertech.esper.common.internal.epl.table.compiletime.TableMetaData;
import com.espertech.esper.common.internal.epl.variable.compiletime.VariableMetaData;
import com.espertech.esper.common.internal.event.bean.service.BeanEventTypeFactoryPrivate;
import com.espertech.esper.common.internal.event.path.EventTypeCollectedSerde;
import com.espertech.esper.common.internal.event.path.EventTypeResolverImpl;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class DeployerModuleEPLObjects {
    private final BeanEventTypeFactoryPrivate beanEventTypeFactory;
    private final Map moduleEventTypes;
    private final Map moduleNamedWindows;
    private final Map moduleTables;
    private final Set moduleIndexes;
    private final Map moduleContexts;
    private final Map moduleVariables;
    private final Map moduleExpressions;
    private final Map moduleScripts;
    private final Map moduleClasses;
    private final List eventTypeSerdes;
    private final EventTypeResolverImpl eventTypeResolver;

    public DeployerModuleEPLObjects(BeanEventTypeFactoryPrivate beanEventTypeFactory, Map moduleEventTypes, Map moduleNamedWindows, Map moduleTables, Set moduleIndexes, Map moduleContexts, Map moduleVariables, Map moduleExpressions, Map moduleScripts, Map moduleClasses, List eventTypeSerdes, EventTypeResolverImpl eventTypeResolver) {
        this.beanEventTypeFactory = beanEventTypeFactory;
        this.moduleEventTypes = moduleEventTypes;
        this.moduleNamedWindows = moduleNamedWindows;
        this.moduleTables = moduleTables;
        this.moduleIndexes = moduleIndexes;
        this.moduleContexts = moduleContexts;
        this.moduleVariables = moduleVariables;
        this.moduleExpressions = moduleExpressions;
        this.moduleScripts = moduleScripts;
        this.moduleClasses = moduleClasses;
        this.eventTypeSerdes = eventTypeSerdes;
        this.eventTypeResolver = eventTypeResolver;
    }

    public BeanEventTypeFactoryPrivate getBeanEventTypeFactory() {
        return beanEventTypeFactory;
    }

    public Map getModuleEventTypes() {
        return moduleEventTypes;
    }

    public Map getModuleNamedWindows() {
        return moduleNamedWindows;
    }

    public Map getModuleTables() {
        return moduleTables;
    }

    public Set getModuleIndexes() {
        return moduleIndexes;
    }

    public Map getModuleContexts() {
        return moduleContexts;
    }

    public Map getModuleVariables() {
        return moduleVariables;
    }

    public Map getModuleExpressions() {
        return moduleExpressions;
    }

    public Map getModuleScripts() {
        return moduleScripts;
    }

    public Map getModuleClasses() {
        return moduleClasses;
    }

    public List getEventTypeSerdes() {
        return eventTypeSerdes;
    }

    public ModuleIncidentals getIncidentals() {
        return new ModuleIncidentals(moduleNamedWindows, moduleContexts, moduleVariables, moduleExpressions, moduleTables);
    }

    public EventTypeResolverImpl getEventTypeResolver() {
        return eventTypeResolver;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy