Package dev.frostlake.executor.udf
Class UdfRuntimes
java.lang.Object
dev.frostlake.executor.udf.UdfRuntimes
Registry of the
UdfLanguageRuntime providers on the classpath, discovered once at first
use. A language whose runtime module is absent fails lazily — at CALL time, not at CREATE or
catalog-restore time — with an error naming the module to add, so catalogs holding e.g. Python
functions still load on a JavaScript-only deployment.-
Method Summary
Modifier and TypeMethodDescriptionstatic Iterable<UdfLanguageRuntime> all()Every discovered runtime, for engine-construction configuration.static UdfLanguageRuntimeinstalled(UdfLanguage language) The runtime forlanguage, or null when no module provides it.static UdfLanguageRuntimerequire(UdfLanguage language) The runtime forlanguage, or a clear error naming the module that provides it.
-
Method Details
-
all
Every discovered runtime, for engine-construction configuration. -
installed
The runtime forlanguage, or null when no module provides it. Unlikerequire(dev.frostlake.metastore.model.UdfLanguage), this is for callers that carry on without one — a CREATE-time body check can only judge a body whose language is installed, and accepts it otherwise. -
require
The runtime forlanguage, or a clear error naming the module that provides it.
-