Package org.jdbi.v3.core.collector
Class SetCollectorFactory
java.lang.Object
org.jdbi.v3.core.collector.SetCollectorFactory
- All Implemented Interfaces:
CollectorFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
collectors
-
-
Constructor Details
-
SetCollectorFactory
SetCollectorFactory()
-
-
Method Details
-
accepts
Description copied from interface:CollectorFactoryAccept aTypeas a collector.- Specified by:
acceptsin interfaceCollectorFactory- Parameters:
containerType- the container type.- Returns:
- whether this factory can produce a collector for the given container type.
-
elementType
Description copied from interface:CollectorFactoryReturns the element type for a given container type.- Specified by:
elementTypein interfaceCollectorFactory- Parameters:
containerType- the container type.- Returns:
- the container element type if it can be discovered through reflection; empty otherwise.
- See Also:
-
build
Description copied from interface:CollectorFactoryCreates a collector for a given container type.- Specified by:
buildin interfaceCollectorFactory- Parameters:
containerType- the container type.- Returns:
- a
Collectorfor the given container type. - See Also:
-