Projection Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Represents attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.Model.Projection

Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class Projection : Object

The Projection type exposes the following members

Constructors

  Name Description
Public Method Projection()

Properties

  Name Description
Public Property NonKeyAttributes Represents the non-key attribute names which will be projected into the index. The total count of attributes specified in NonKeyAttributes, summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

Constraints:Length1 - 20

Public Property ProjectionType Represents the set of attributes that are projected into the index:
  • KEYS_ONLY - Only the index and primary keys are projected into the index.
  • INCLUDE - Only the specified table attributes are projected into the index. The list of projected attributes are in NonKeyAttributes.
  • ALL - All of the table attributes are projected into the index.

Constraints:Allowed ValuesALL, KEYS_ONLY, INCLUDE

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8