Package org.jdbi.v3.postgres
Class BlobInputStreamArgumentFactory.LobInputStreamArgument
java.lang.Object
org.jdbi.v3.postgres.BlobInputStreamArgumentFactory.LobInputStreamArgument
- All Implemented Interfaces:
Argument
- Enclosing class:
- BlobInputStreamArgumentFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(int pos, PreparedStatement stmt, StatementContext ctx) Apply the argument to the given prepared statement.
-
Field Details
-
value
-
-
Constructor Details
-
LobInputStreamArgument
LobInputStreamArgument(InputStream value)
-
-
Method Details
-
apply
Description copied from interface:ArgumentApply the argument to the given prepared statement.- Specified by:
applyin interfaceArgument- Parameters:
pos- the position to which the argument should be bound, using the stupid JDBC "start at 1" bitstmt- the prepared statement the argument is to be bound toctx- the statement context- Throws:
SQLException- if anything goes wrong
-