public class PrimitivesColumnMapperFactory extends Object implements ResultColumnMapperFactory
Constructor and Description |
---|
PrimitivesColumnMapperFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class type,
StatementContext ctx)
Can this factory provide a column mapper which maps to the desired type
|
ResultColumnMapper |
columnMapperFor(Class type,
StatementContext ctx)
Supplies a column mapper which will map result set columns to type
|
public boolean accepts(Class type, StatementContext ctx)
ResultColumnMapperFactory
accepts
in interface ResultColumnMapperFactory
type
- the target type to map topublic ResultColumnMapper columnMapperFor(Class type, StatementContext ctx)
ResultColumnMapperFactory
columnMapperFor
in interface ResultColumnMapperFactory
Copyright © 2018. All rights reserved.