Module org.jooq

Class DefaultStatement

java.lang.Object
org.jooq.tools.r2dbc.DefaultStatement
All Implemented Interfaces:
io.r2dbc.spi.Statement
Direct Known Subclasses:
LoggingStatement

public class DefaultStatement extends Object implements io.r2dbc.spi.Statement
A default R2DBC Statement implementation delegating all R2DBC calls to an internal getDelegate().
Author:
Lukas Eder
  • Constructor Details

    • DefaultStatement

      public DefaultStatement(io.r2dbc.spi.Statement delegate)
  • Method Details

    • getDelegate

      public io.r2dbc.spi.Statement getDelegate()
    • add

      public io.r2dbc.spi.Statement add()
      Specified by:
      add in interface io.r2dbc.spi.Statement
    • bind

      public io.r2dbc.spi.Statement bind(int index, Object value)
      Specified by:
      bind in interface io.r2dbc.spi.Statement
    • bind

      public io.r2dbc.spi.Statement bind(String name, Object value)
      Specified by:
      bind in interface io.r2dbc.spi.Statement
    • bindNull

      public io.r2dbc.spi.Statement bindNull(int index, Class<?> type)
      Specified by:
      bindNull in interface io.r2dbc.spi.Statement
    • bindNull

      public io.r2dbc.spi.Statement bindNull(String name, Class<?> type)
      Specified by:
      bindNull in interface io.r2dbc.spi.Statement
    • execute

      public org.reactivestreams.Publisher<? extends io.r2dbc.spi.Result> execute()
      Specified by:
      execute in interface io.r2dbc.spi.Statement
    • returnGeneratedValues

      public io.r2dbc.spi.Statement returnGeneratedValues(String... columns)
      Specified by:
      returnGeneratedValues in interface io.r2dbc.spi.Statement
    • fetchSize

      public io.r2dbc.spi.Statement fetchSize(int rows)
      Specified by:
      fetchSize in interface io.r2dbc.spi.Statement