Interface Renderer


public interface Renderer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Used to release any dangling resources after the expiration period of the Renderer instance.
    <E, T, S extends BaseStream<T, S>>
    RenderResult<E,T,S>
    render(Pipeline<E> pipeline, StreamConfiguration<E> streamConfiguration)
    Creates and returns a new RenderResult whereby the provided Pipeline is rendered to a stream using a EntityManagerFactory provided via the RendererFactory.
  • Method Details

    • render

      <E, T, S extends BaseStream<T, S>> RenderResult<E,T,S> render(Pipeline<E> pipeline, StreamConfiguration<E> streamConfiguration)
      Creates and returns a new RenderResult whereby the provided Pipeline is rendered to a stream using a EntityManagerFactory provided via the RendererFactory.
      Type Parameters:
      E - type of the root elements in the returned Stream's source
      Parameters:
      pipeline - describing the intended Stream
      streamConfiguration - containing additional information, such as joins
      Returns:
      a new RenderResult whereby the provided Pipeline is rendered to a stream using a EntityManagerFactory
    • close

      void close()
      Used to release any dangling resources after the expiration period of the Renderer instance.