public class JdbiCollectors extends Object implements JdbiConfig<JdbiCollectors>
| Constructor and Description |
|---|
JdbiCollectors() |
| Modifier and Type | Method and Description |
|---|---|
JdbiCollectors |
createCopy()
Returns a copy of this configuration object.
|
Optional<Type> |
findElementTypeFor(Type containerType)
Returns the element type for the given container type.
|
Optional<Collector<?,?,?>> |
findFor(Type containerType)
Obtain a collector for the given type.
|
JdbiCollectors |
register(CollectorFactory factory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetRegistrypublic JdbiCollectors createCopy()
JdbiConfigcreateCopy in interface JdbiConfig<JdbiCollectors>public Optional<Type> findElementTypeFor(Type containerType)
containerType - the container type.public Optional<Collector<?,?,?>> findFor(Type containerType)
containerType - the container type.public JdbiCollectors register(CollectorFactory factory)
Copyright © 2019. All rights reserved.