Class DynamoDbExpressionParser

java.lang.Object
org.evomaster.client.java.controller.dynamodb.DynamoDbExpressionParser

public class DynamoDbExpressionParser extends Object
Parser for DynamoDB key/filter/condition expression strings. Supported operators/functions align with DynamoDB expression docs: =, <>, <, <=, >, >=, BETWEEN, IN, AND, OR, NOT, attribute_exists, attribute_not_exists, attribute_type, begins_with, contains, size.
  • Constructor Details

    • DynamoDbExpressionParser

      public DynamoDbExpressionParser()
  • Method Details

    • parse

      public QueryOperation parse(String expression, Map<String,String> expressionAttributeNames, Map<String,Object> expressionAttributeValues)
      Parses a DynamoDB expression and converts it into a query-operation tree.
      Parameters:
      expression - the DynamoDB expression string to parse
      expressionAttributeNames - optional map of attribute-name aliases
      expressionAttributeValues - optional map of value placeholders
      Returns:
      the parsed operation tree, or null when the expression is blank