- 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.
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 TypeMethodDescriptionfirstCall
(RegProcedure.Call fcinfo) Executes the prepared and specializedSRFFirst
code, using the arguments and other call-specific information passed infcinfo
and returns an instance ofSRFNext
to produce a result set row by row.
-
Method Details
-
firstCall
Executes the prepared and specializedSRFFirst
code, using the arguments and other call-specific information passed infcinfo
and returns an instance ofSRFNext
to produce a result set row by row.This method should not access fcinfo's
result
orisNull
methods to return any value, but should return an instance ofSRFNext
that will do so.- Throws:
SQLException
-