# 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

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.

Information noteTip: For the complete DSQL function reference, see [getContextVariable](https://help.qlik.com/talend/en-US/data-mapper-user-guide/data-shaping/getcontextvariable_r.html "Returns the value of a context variable.") in the Talend Data Shaping Language Reference Guide.

### 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)

## getMapProperty

Returns the value of the specified execution property.

You can use the getMapProperty function to retrieve the value of an execution property. This function is particularly useful in Camel Routes (including the cMap component) to access exchange inbound headers.

Information noteTip: For the complete DSQL function reference, see [getMapProperty](https://help.qlik.com/talend/en-US/data-mapper-user-guide/data-shaping/getmapproperty_r.html "Returns the value of an execution property.") in the Talend Data Shaping Language Reference Guide.

### Arguments

Name of the execution property as a string literal.

### Examples

```
getMapProperty('propertyName')
```

If the specified property does not exist, the function returns null.

## java:call

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-R2026-07/using-beans-and-routines-in-dsql-map "Use the java:call function to call global and custom routines in a DSQL map.")