MCPcopy Create free account
hub / github.com/microsoft/SandDance / Lookup

Function Lookup

docs/app/js/sanddance-app.js:117926–117928  ·  view source on GitHub ↗

* Extend tuples by joining them with values from a lookup table. * @constructor * @param {object} params - The parameters for this operator. * @param {Map} params.index - The lookup table map. * @param {Array } pa

(params)

Source from the content-addressed store, hash-verified

117924 * @param {Array<string>} params.as - Output field names for each lookup value.
117925 * @param {*} [params.default] - A default value to use if lookup fails.
117926 */ function Lookup(params) {
117927 (0, _vegaDataflow.Transform).call(this, {}, params);
117928}
117929Lookup.Definition = {
117930 "type": "Lookup",
117931 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected