AWSDynamoDBQueryExpression Class Reference

Inherits from NSObject
Declared in AWSDynamoDBObjectMapper.h
AWSDynamoDBObjectMapper.m

Overview

A query expression.

  indexName

The index name.

@property (nonatomic, strong, nullable) NSString *indexName

Declared In

AWSDynamoDBObjectMapper.h

  keyConditionExpression

The condition that specifies the key value(s) for items to be retrieved by the Query action. For more information, see [AWSDynamoDBQueryInput keyConditionExpression]

@property (nonatomic, strong, nullable) NSString *keyConditionExpression

Discussion

For example, you may set keyConditionExpression to hashAttributeName = :hashVal AND rangeAttributeName = :rangeVal where hashAttributeName and rangeAttributeName is the attribute name of the hash key and range key respectively. Then you can set expressionAttributeValues to @{@":hashVal" : @"myHashValue", @":rangeVal" : @100}.

Declared In

AWSDynamoDBObjectMapper.h

  filterExpression

A string that contains conditions DynamoDB applies after the Query operation, but before the data is returned. For more information, see [AWSDynamoDBQueryInput filterExpression]

@property (nonatomic, strong, nullable) NSString *filterExpression

Declared In

AWSDynamoDBObjectMapper.h

  projectionExpression

A string that identifies one or more attributes to retrieve from the table. If no attribute names are specified, all attributes will be returned.

@property (nonatomic, strong, nullable) NSString *projectionExpression

Declared In

AWSDynamoDBObjectMapper.h

  expressionAttributeValues

One or more values that can be substituted in an expression.

@property (nonatomic, strong, nullable) NSDictionary<NSString*id> *expressionAttributeValues

Declared In

AWSDynamoDBObjectMapper.h

  expressionAttributeNames

One or more substitution tokens for attribute names in an expression.

@property (nonatomic, strong, nullable) NSDictionary<NSString*NSString*> *expressionAttributeNames

Declared In

AWSDynamoDBObjectMapper.h

  limit

The limit.

@property (nonatomic, strong, nullable) NSNumber *limit

Declared In

AWSDynamoDBObjectMapper.h

  scanIndexForward

When set to @YES, AWSDynamoDBObjectMapper scans the index forward. When set to @NO, it scans the other direction.

@property (nonatomic, strong, nullable) NSNumber *scanIndexForward

Declared In

AWSDynamoDBObjectMapper.h

  exclusiveStartKey

The exclusive start key.

@property (nonatomic, strong, nullable) NSDictionary<NSString*AWSDynamoDBAttributeValue*> *exclusiveStartKey

Declared In

AWSDynamoDBObjectMapper.h