Package org.jdbi.v3.core.argument
Interface NamedArgumentFinder
-
- All Known Implementing Classes:
BeanPropertyArguments,MapArguments,ObjectFieldArguments,ObjectMethodArguments,ObjectPropertyNamedArgumentFinder,PojoPropertyArguments
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NamedArgumentFinderReturns an Argument based on a name. Used to lookup multiple properties e.g. in a Bean or a Map.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Optional<Argument>find(java.lang.String name, StatementContext ctx)default java.util.Collection<java.lang.String>getNames()Returns the names this named argument finder can find.
-
-
-
Method Detail
-
find
java.util.Optional<Argument> find(java.lang.String name, StatementContext ctx)
-
getNames
@Beta default java.util.Collection<java.lang.String> getNames()
Returns the names this named argument finder can find. Returns an empty collection otherwise.- Returns:
- the names this named argument finder can find. Returns an empty collection otherwise.
-
-