Class BlobInputStreamArgumentFactory.LobInputStreamArgument

java.lang.Object
org.jdbi.v3.postgres.BlobInputStreamArgumentFactory.LobInputStreamArgument
All Implemented Interfaces:
Argument
Enclosing class:
BlobInputStreamArgumentFactory

static class BlobInputStreamArgumentFactory.LobInputStreamArgument extends Object implements Argument
  • Field Details

  • Constructor Details

    • LobInputStreamArgument

      LobInputStreamArgument(InputStream value)
  • Method Details

    • apply

      public void apply(int pos, PreparedStatement stmt, StatementContext ctx) throws SQLException
      Description copied from interface: Argument
      Apply the argument to the given prepared statement.
      Specified by:
      apply in interface Argument
      Parameters:
      pos - the position to which the argument should be bound, using the stupid JDBC "start at 1" bit
      stmt - the prepared statement the argument is to be bound to
      ctx - the statement context
      Throws:
      SQLException - if anything goes wrong