public interface Renderer
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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 providedPipelineis rendered to a stream using aEntityManagerFactoryprovided via theRendererFactory.
-
Method Details
-
render
<E,T, RenderResult<E,S extends BaseStream<T, S>> T, renderS> (Pipeline<E> pipeline, StreamConfiguration<E> streamConfiguration) Creates and returns a new RenderResult whereby the providedPipelineis rendered to a stream using aEntityManagerFactoryprovided via theRendererFactory.- Type Parameters:
E- type of the root elements in the returned Stream's source- Parameters:
pipeline- describing the intended StreamstreamConfiguration- containing additional information, such as joins- Returns:
- a new RenderResult whereby the provided
Pipelineis rendered to a stream using aEntityManagerFactory
-
close
void close()Used to release any dangling resources after the expiration period of the Renderer instance.
-