- 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
prepare
call on a PL/Java-based
routine.
An instance should depend only on the static catalog information for the
routine as passed to prepare
, and may encapsulate any values that
can be precomputed from that information alone. Its
specialize
method will be called, passing information
specific to a call site, to obtain a PLJavaBasedLanguage.Routine
.
-
Method Summary
Modifier and TypeMethodDescriptionspecialize
(RegProcedure.Lookup flinfo) Given the information present at a particular call site, specialize this template into aRoutine
that will handle calls through this call site.
-
Method Details
-
specialize
Given the information present at a particular call site, specialize this template into aRoutine
that will handle calls through this call site.Typical activities for
specialize
would be to consult flinfo'sinputsDescriptor
andoutputsDescriptor
for the number and types of the expected input and output parameters, though it is unnecessary if the tuple descriptors obtained atprepare
time included no unresolved types. TheinputsAreSpread
method should be consulted if the routine has a variadic parameter of the wildcard"any"
type.- Throws:
SQLException
-