TopologyElement (Java Application API for IBM Streams)
Date: 2020-08-07

com.ibm.streamsx.topology

## Interface TopologyElement

- All Known Subinterfaces:
    Placeable<T>, SPLInput, SPLStream, SPLWindow, TSink, TStream<T>, TWindow<T,K>
  All Known Implementing Classes:
    Topology

      public interface TopologyElement

  Any element in a `Topology`. All elements in a `Topology`, including `Topology` itself, implement `TopologyElement`.
  Some methods, typically those that create source streams, require a `TopologyElement` to identify the topology that the new element needs to be added to. Any other `TStream` or `TWindow` can be used as the `TopologyElement` passed to those methods, rather than having to pass the `Topology` reference all throughout the code that builds the topology.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.ibm.streamsx.topology.builder.GraphBuilder` | `builder()` Get the underlying `OperatorGraph`.
    `Topology` | `topology()` The topology for this element.

- - ### Method Detail

    - #### topology

          Topology topology()

      The topology for this element.
      Returns:
        The topology for this element.

    - #### builder

          com.ibm.streamsx.topology.builder.GraphBuilder builder()

      Get the underlying `OperatorGraph`. Internal use only.
      Not intended to be called by applications, may be removed at any time.