Interface Jdbc.BiRowConsumer

All Superinterfaces:
com.landawn.abacus.util.Throwables.BiConsumer<ResultSet,List<String>,SQLException>
Enclosing class:
Jdbc
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 static interface Jdbc.BiRowConsumer extends com.landawn.abacus.util.Throwables.BiConsumer<ResultSet,List<String>,SQLException>
The Interface BiRowConsumer.
  • Field Details

  • Method Details

    • accept

      void accept(ResultSet rs, List<String> columnLabels) throws SQLException
      Specified by:
      accept in interface com.landawn.abacus.util.Throwables.BiConsumer<ResultSet,List<String>,SQLException>
      Parameters:
      rs -
      columnLabels -
      Throws:
      SQLException
    • andThen

      default Jdbc.BiRowConsumer andThen(com.landawn.abacus.util.Throwables.BiConsumer<? super ResultSet,? super List<String>,SQLException> after)
      Parameters:
      after -
      Returns:
    • from

      static Jdbc.BiRowConsumer from(Jdbc.RowConsumer rowConsumer)
      Parameters:
      rowConsumer -
      Returns:
    • oneOff

      @Beta @SequentialOnly @Stateful static Jdbc.BiRowConsumer oneOff(BiConsumer<List<String>,com.landawn.abacus.util.NoCachingNoUpdating.DisposableObjArray> consumer)
      It's stateful. Don't save or cache the returned instance for reuse or use it in parallel stream.
      Parameters:
      consumer -
      Returns:
    • oneOff

      @Beta @SequentialOnly @Stateful static Jdbc.BiRowConsumer oneOff(Class<?> entityClass, BiConsumer<List<String>,com.landawn.abacus.util.NoCachingNoUpdating.DisposableObjArray> consumer)
      It's stateful. Don't save or cache the returned instance for reuse or use it in parallel stream.
      Parameters:
      entityClass - used to fetch column/row value from ResultSet by the type of fields/columns defined in this class.
      consumer -
      Returns: