Interface PLJavaBasedLanguage.Routine

Enclosing interface:
PLJavaBasedLanguage
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 PLJavaBasedLanguage.Routine
The result of a specialize call on a Template.

An instance can incorporate whatever can be precomputed based on the resolved parameter types and other information available to specialize. Its call method will then be invoked to supply the arguments and produce the results for each call made at that call site.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Actually executes the prepared and specialized Routine, using the arguments and other call-specific information passed in fcinfo.
  • Method Details

    • call

      void call(RegProcedure.Call fcinfo) throws SQLException
      Actually executes the prepared and specialized Routine, using the arguments and other call-specific information passed in fcinfo.

      Various special cases of routine calls (triggers, procedure calls, and so on) can be distinguished by the specific subtypes of RegProcedure.Call.Context that may be returned by fcinfo.context().

      Throws:
      SQLException