Creating Type Aliases

You can define type aliases for your data queries, and use them to avoid retyping the same type chains again and again in the Expression Language.

See Also
Input Parameters
Expression Language Principles
  1. From the navigation menu, select Queries.
  2. Select a data query.
  3. From the top bar, click Type aliases.
  4. In the Type Aliases panel, click .
  5. In Alias name, enter the name of your alias. For example, MyAlias.
  6. Click Type, and specify the type chain.

    For example, Tuple<title: String, owner: String>

  7. In your operators, use the alias instead of the type chain.

    For example, in a MAP operator, you can call the alias to avoid retyping the entire type chain:

    tuple: MyAlias = input.tuple;

  8. From the top bar, click Save and apply.