Interface PLJavaBasedLanguage.SRFFirst

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.SRFFirst
The result of a specializeValuePerCall call on an SRFTemplate.

An instance can incorporate whatever can be precomputed based on the resolved parameter types and other information available to specializeValuePerCall. Its firstCall method will then be invoked, for each call made at that call site, to supply the arguments and obtain an instance of SRFNext whose nextResult method will be called, as many times as needed, to retrieve all rows of the result.

  • Method Summary

    Modifier and Type
    Method
    Description
    Executes the prepared and specialized SRFFirst code, using the arguments and other call-specific information passed in fcinfo and returns an instance of SRFNext to produce a result set row by row.
  • Method Details

    • firstCall

      Executes the prepared and specialized SRFFirst code, using the arguments and other call-specific information passed in fcinfo and returns an instance of SRFNext to produce a result set row by row.

      This method should not access fcinfo's result or isNull methods to return any value, but should return an instance of SRFNext that will do so.

      Throws:
      SQLException