Skip to content

FunctionRegistryBase

FunctionRegistryBase[T] is an abstraction of function registries for registering functions (that produce results of type T).

Contract

Registering Named Function

registerFunction(
  name: FunctionIdentifier,
  info: ExpressionInfo,
  builder: Seq[Expression] => T): Unit

Used when:

Implementations

createOrReplaceTempFunction

createOrReplaceTempFunction(
  name: String,
  builder: FunctionBuilder,
  source: String): Unit

createOrReplaceTempFunction registers a named function with a FunctionIdentifier for the given name.

Back to top