Interface Sink<T>

  • All Superinterfaces:
    Serializable

    public interface Sink<T>
    extends Serializable
    Sink is how Streamlet's end. The put method invocation consumes the tuple into say external database/cache, etc. setup/cleanup is where the sink can do any one time setup work, like establishing/closing connection to sources, etc.
    • Method Detail

      • setup

        void setup​(Context context)
      • put

        void put​(T tuple)
      • cleanup

        void cleanup()