Package org.partiql.lang.eval.binding

Types

Link copied to clipboard
data class Alias(asName: String, atName: String?, byName: String?)

Sources can be aliased to names with 'AS', 'AT' or 'BY'

Link copied to clipboard
abstract class LocalsBinder

Creates a list of bindings from a list of locals. The various implementations (such as List.localsBinder) will assign names to the locals. Think of this as a factory which precomputes the name-bindings map for a list of locals.

Functions

Link copied to clipboard
fun List<Alias>.localsBinder(missingValue: ExprValue): LocalsBinder

Returns a LocalsBinder for the bindings specified in the Alias ('AS' and optionally 'AT'). Each local ExprValue will be bound to the Alias with the same ordinal.