# DSQL map features

Talend Data Mapper provides a few features in DSQL maps on top of the existing Data Shaping Language functions.

You can find the documentation for the other Data Shaping Language functions in the [Talend Data Shaping Language Reference Guide](https://help.qlik.com/talend/en-US/data-shaping-language-reference-guide/8.0).

## getContextVariable

Availability-note[Beta](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-beta)

Beta content

Returns the value of the specified context variable.

You can use the getContextVariable function to call a context variable defined in your Talend Studio Job.

### Arguments

Name of the context variable.

### Examples

* [Using context variables in a DSQL map](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0/using-context-variables-in-dsql-map)

## java:call

Availability-note[Beta](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-beta)

Beta content

Calls a Java method.

You can use the java:call feature to call a Java method. This can be used to call beans and routines available in Talend Studio for example.

### Arguments

Java parameters.

Three different syntaxes are supported:

* Call to a static method: java:call(&lt;class\_name&gt;, &lt;method\_name&gt;, &lt;arguments&gt;)
* Call to a non-static method: java:call(java:new(&lt;class\_name&gt;, &lt;constructor\_arguments&gt;), &lt;method\_name&gt;, &lt;arguments&gt;)
* Call to a non-static method of a Java object returned by another method of a Java object: java:call(java:call(&lt;class\_name&gt;, &lt;method\_name&gt;, &lt;arguments&gt;), &lt;method\_name&gt;, &lt;arguments&gt;)

### Examples

* [Using beans and routines in a DSQL map](https://help.qlik.com/talend/en-US/data-mapper-user-guide/8.0-R2025-05/using-beans-and-routines-in-dsql-map "Use the java:call function to call global and custom routines in a DSQL map.")