public interface SqlStreamSupplierComponent extends StreamSupplierComponent
StreamSupplierComponent
-interface that
specializes in producing streams from a relational SQL database.Modifier and Type | Method and Description |
---|---|
<ENTITY> void |
install(TableIdentifier<ENTITY> tableIdentifier,
SqlFunction<ResultSet,ENTITY> entityMapper)
Installs the specified entity mapper for the specified table in this
component.
|
findAny, isImmutable, start, stop, stream, stream
<ENTITY> void install(TableIdentifier<ENTITY> tableIdentifier, SqlFunction<ResultSet,ENTITY> entityMapper)
Every manager that represents a SQL table is required to invoke this method as part of its configuration cycle.
ENTITY
- the entity typetableIdentifier
- identifier for the tableentityMapper
- the mapper between SQL result and entity to useCopyright © 2018 Speedment, Inc.. All rights reserved.