public interface ResultSetMapperComponent extends Component
Lifecyclable.State
LIFECYCLABLE_LOGGER
Modifier and Type | Method and Description |
---|---|
<T> ResultSetMapping<T> |
apply(Class<T> javaClass)
Gets the mapping from the javaClass to the
ResultSetMapping . |
<T> ResultSetMapping<T> |
apply(DbmsType dbmsType,
Class<T> javaClass)
Gets the mapping from the javaClass to the
ResultSetMapping . |
default Class<ResultSetMapperComponent> |
getComponentClass()
Returns the Component interface Class this Component implements.
|
asSoftware, defaultCopy, getSpeedment, isInternal
getState, initialize, isInitialized, isLoaded, isResolved, isStarted, isStopped, load, onInitialize, onLoad, onResolve, onStart, onStop, postStop, preInitialize, preLoad, preResolve, preStart, preStop, resolve, setState, start, stop
default Class<ResultSetMapperComponent> getComponentClass()
Component
getComponentClass
in interface Component
<T> ResultSetMapping<T> apply(DbmsType dbmsType, Class<T> javaClass)
ResultSetMapping
. If a
specific mapping for the given DbmsType
is present, that mapping
is selected over the general mapping for any DbmsType
.T
- the java class type to mapdbmsType
- the Dbms typejavaClass
- the java class to map<T> ResultSetMapping<T> apply(Class<T> javaClass)
ResultSetMapping
. The
mapping will not consider DbmsType
specific mappings.T
- the java class type to mapjavaClass
- the java class to mapCopyright © 2016 Speedment, Inc.. All rights reserved.