Interface StreamletBase<R>

    • Method Detail

      • setName

        StreamletBase<R> setName​(String sName)
        Sets the name of the BaseStreamlet.
        Parameters:
        sName - The name given by the user for this BaseStreamlet
        Returns:
        Returns back the Streamlet with changed name
      • getName

        String getName()
        Gets the name of the Streamlet.
        Returns:
        Returns the name of the Streamlet
      • setNumPartitions

        StreamletBase<R> setNumPartitions​(int numPartitions)
        Sets the number of partitions of the streamlet
        Parameters:
        numPartitions - The user assigned number of partitions
        Returns:
        Returns back the Streamlet with changed number of partitions
      • getNumPartitions

        int getNumPartitions()
        Gets the number of partitions of this Streamlet.
        Returns:
        the number of partitions of this Streamlet