Package org.jdbi.v3.postgres
Class InetArgumentFactory
- java.lang.Object
-
- org.jdbi.v3.core.argument.AbstractArgumentFactory<java.net.InetAddress>
-
- org.jdbi.v3.postgres.InetArgumentFactory
-
- All Implemented Interfaces:
ArgumentFactory,ArgumentFactory.Preparable
public class InetArgumentFactory extends AbstractArgumentFactory<java.net.InetAddress>
Postgres version of argument factory forInetAddress.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jdbi.v3.core.argument.ArgumentFactory
ArgumentFactory.Preparable
-
-
Constructor Summary
Constructors Constructor Description InetArgumentFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Argumentbuild(java.net.InetAddress value, ConfigRegistry config)Produce an argument object for the given value.java.util.Collection<java.lang.reflect.Type>prePreparedTypes()-
Methods inherited from class org.jdbi.v3.core.argument.AbstractArgumentFactory
build, prepare
-
-
-
-
Method Detail
-
build
protected Argument build(java.net.InetAddress value, ConfigRegistry config)
Description copied from class:AbstractArgumentFactoryProduce an argument object for the given value. When the implementation class has accepted a given type, it must then produce an argument instance or throw an exception.- Specified by:
buildin classAbstractArgumentFactory<java.net.InetAddress>- Parameters:
value- the value to convert to an argumentconfig- the config registry- Returns:
- An
Argumentfor the givenvalue. Must not be null!
-
prePreparedTypes
public java.util.Collection<java.lang.reflect.Type> prePreparedTypes()
- Specified by:
prePreparedTypesin interfaceArgumentFactory.Preparable- Overrides:
prePreparedTypesin classAbstractArgumentFactory<java.net.InetAddress>
-
-