public interface CollectorFactory
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Type containerType) |
Collector<?,?,?> |
build(Type containerType) |
Optional<Type> |
elementType(Type containerType) |
boolean accepts(Type containerType)
containerType
- the container typeOptional<Type> elementType(Type containerType)
containerType
- the container typeStatementContext.findElementTypeFor(Type)
Collector<?,?,?> build(Type containerType)
containerType
- the type of the containerCollector
for the given container type.StatementContext.findCollectorFor(Type)
,
JdbiCollectors.findFor(Type)
Copyright © 2018. All rights reserved.