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

com.espertech.esper.client.soda.DataFlowOperatorInput Maven / Gradle / Ivy

There is a newer version: 7.1.0
Show newest version
/*
 ***************************************************************************************
 *  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.client.soda;

import java.io.Serializable;
import java.util.List;

/**
 * Represents an input port of an operator.
 */
public class DataFlowOperatorInput implements Serializable {

    private static final long serialVersionUID = -6664793568622110220L;
    private List inputStreamNames;
    private String optionalAsName;

    /**
     * Ctor.
     */
    public DataFlowOperatorInput() {
    }

    /**
     * Ctor.
     *
     * @param inputStreamNames names of input streams for the same port
     * @param optionalAsName   optional alias
     */
    public DataFlowOperatorInput(List inputStreamNames, String optionalAsName) {
        this.inputStreamNames = inputStreamNames;
        this.optionalAsName = optionalAsName;
    }

    /**
     * Returns the input stream names.
     *
     * @return input stream names
     */
    public List getInputStreamNames() {
        return inputStreamNames;
    }

    /**
     * Sets the input stream names.
     *
     * @param inputStreamNames input stream names
     */
    public void setInputStreamNames(List inputStreamNames) {
        this.inputStreamNames = inputStreamNames;
    }

    /**
     * Returns the alias name.
     *
     * @return alias
     */
    public String getOptionalAsName() {
        return optionalAsName;
    }

    /**
     * Sets the alias name.
     *
     * @param optionalAsName alias to set
     */
    public void setOptionalAsName(String optionalAsName) {
        this.optionalAsName = optionalAsName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy