Package org.jdbi.v3.core.argument
Interface ArgumentFactory.Preparable
- All Superinterfaces:
- ArgumentFactory
- All Known Implementing Classes:
- AbstractArgumentFactory,- BitStringEnumSetArgumentFactory,- DateTimeArgumentFactory,- DurationArgumentFactory,- HStoreArgumentFactory,- InetArgumentFactory,- JavaTimeArgumentFactory,- JavaTimeZoneIdArgumentFactory,- ObjectArgumentFactory,- PeriodArgumentFactory,- SetObjectArgumentFactory,- SqlArrayArgumentFactory,- TypedEnumArgumentFactory,- UUIDArgumentFactory
- Enclosing interface:
- ArgumentFactory
ArgumentFactory extension interface that allows preparing arguments for efficient batch binding.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.jdbi.v3.core.argument.ArgumentFactoryArgumentFactory.Preparable
- 
Method Summary
- 
Method Details- 
buildDescription copied from interface:ArgumentFactoryReturns anArgumentfor the given value if the factory supports it; empty otherwise.- Specified by:
- buildin interface- ArgumentFactory
- Parameters:
- type- the known type of value. Depending on the situation this may be a full generic signature e.g.- ParameterizedType, a- Class, or Object.class if no type information is known.
- value- the value to convert into an- Argument
- config- the config registry, for composition
- Returns:
- an argument for the given value if this factory supports it, or Optional.empty()otherwise.
- See Also:
 
- 
prepare
 
-