ENTITY- the source entity
FK_ENTITY- the target entity
Streamof foreign entities given a single entity. This is useful since it can be passed to an outer stream as the argument for a
Each streamer contains metadata of which fields it compares to determine the mapping as well as a reference to the foreign manager.
Streamers have the following signature:
Stream<FK_ENTITY> apply(ENTITY entity);
|Modifier and Type||Method and Description|
Returns the field that the stream references.
Returns the identifier for the foreign table that is referenced.
In the following example,
bar is the target:
.flatMap(foo.findBars()) // findBars returns Streamer<Foo, Bar>
Copyright © 2018 Speedment, Inc.. All rights reserved.