---
schema_version: "1"
id: e7f63b53cc9e11431dfac65ca6da3d14893db4e2c680d12e880415414457c813
title: Qualifier Options for Salesforce Connect Adapter for Amazon DynamoDB
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/dynamodb_qualifiers_options.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.dynamodb_qualifiers_options.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9266bd0a8c4d881ab6bccace3bb3f0f86a7b6d12e0549cc7105480418e5770c2
description: You can use various qualifier options to parse an Amazon DynamoDB table into an external object by applying filters to the table rows and performing lightweight transformations of the returned data.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Qualifier Options for Salesforce Connect Adapter for Amazon DynamoDB

You can use various qualifier options to parse an Amazon DynamoDB table into an external object by applying filters to the table rows and performing lightweight transformations of the returned data.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience (not for high-data-volume
            external objects)</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: <strong>Developer</strong> Edition</p>
            <p style="margin-bottom:0;">Available for an extra cost
              in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong>
              Editions</p>
          </td>

        </tr>
      </tbody>
    </table>

The following is the syntax for a JSON qualifier expression.

```
TableLocation ::=
    "tableLocationName": "tableLocationValue" |
    "tableLocationName": {TableLocation(, TableLocation)*}
        
NamedColumnQualifier ::= 
    "columnName": {ColumnQualifier(, ColumnQualifier)*}

ColumnQualifier ::=
     "columnName": "physicalColumnName" |
    "type": ("S" | "N" | "BOOL") |
    "presence": ("exists" | "null" | "not null" | "not exists" | "any") |
    "virtual": (true | false) |
    "filter": "sqlLikeExpression" |
    "postFilter": "matchRegex" |
    "values": [ValueDefinition(, ValueDefinition)*]
    
ValueDefinition ::=
    {ValueQualifier,( ValueQualifier)*} 

ValueQualifier ::=         
    "definition": "functionDefinition" |
    "columnOrder": ["ColumnName"(, "ColumnName")*]
```

- `TableLocation`: Specific set of properties for a data source type that are used to locate the table. For example, database name and database catalog.
- `NamedColumnQualifier`: Default value for the columnName is `NamedColumnQualifier`’s column name. If the `ColumnQualifier` is virtual, `columnName` is not specified.
- `ColumnQualifier`
    - `columnName`: Name of the external physical attribute, column, or field.
    - `type`: Some field types may be mapped to more than one attribute type. For example, dates may be mapped as an ISO 8601 string (default) or as a Unix epoch number.
        
        You can’t use the `type` qualifier to override field types to incompatible attribute types. For example, a field of type number can’t be mapped to an attribute type of string.
    - `presence`: Represents whether the attribute must be _present_, _null_ (be present and null), _not null_ (be present but not null), _absent_, or _any_ (presence isn’t relevant). Default value is _any_.
        
        Amazon DynamoDB server evaluates the presence criteria and translates it as part of the [PartiQL](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-reference.html) query.
    - `virtual`: If true, the attribute doesn't physically exist in the external data source. Default value is _false_. Virtual attributes are derived from external attributes using the `values` formula.
        
        Use virtual attributes to transform encoded or composed attributes, such as transforming a sort key attribute to a user-friendly value. You can recompose physical attribute values by defining value functions with virtual attribute values, for example to create or update records.
    - `filter`: An expression evaluated by the Amazon DynamoDB server to filter matching items. Allowed expressions for Amazon DynamoDB:
        
        - equals: `ExactValue`
        - begins with: `LeftValue%`
        - contains: `%MiddleValue%`
        
        Ends with or other substring matches aren't supported.
    - `postFilter`: An expression that runs after the query results are obtained from the Amazon DynamoDB service. Though the postFilter expression refines matching result records, use qualifiers such as `presence` and `filter` for better performance.
        
        Back-references (for example, "\\1") and lazy quantifiers (for example, "\*?") aren’t supported for performance reasons.
    - `values`: A list of candidate Salesforce formula functions that derive the attribute value from other attributes. For example, encoding sort keys and deriving composed keys.
- `ValueDefinition`: Contains an array of value qualifiers.
- `ValueQualifier`
    - `definition`: A candidate value defined using Salesforce formula functions. A formula function can be a constant expression or can depend on one or more attribute values.
    - `columnOrder`: The lexical attribute order of the derived attribute value. The lexical order determines the field sort order in SOQL.

#### See Also

- [_Amazon DynamoDB Developer Guide_: Use PartiQL Functions with Amazon DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-functions.html)
- [Manage Qualifiers for Salesforce Connect Adapter for Amazon DynamoDB](https://help.salesforce.com/s/articleView?id=platform.dynamodb_manage_qualifiers.htm&release=264.0.0&type=5 "Amazon DynamoDB uses unique design patterns to model data efficiently that support multiple table and single table designs. To make data stored in Amazon DynamoDB table accessible to external objects, use qualifiers to reinterpret external data. The qualifiers describe the item attributes and indicates whether an item belongs to the schema represented by the external object. For multiple-table schema designs, the table qualifier is optional.")