AWS SDK for .NET Documentation
Projection Class
AmazonAmazon.DynamoDBv2.ModelProjection Did this page help you?   Yes   No    Tell us about it...

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

Declaration Syntax
C#
public class Projection
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Projection()()()()
Initializes a new instance of the Projection class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
NonKeyAttributes
Represents the non-key attribute names which will be projected into the index. For local secondary indexes, the total count of 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:

Length
1 - 20


ProjectionType
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 Values
ALL, KEYS_ONLY, INCLUDE


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithNonKeyAttributes(array<String>[]()[][]) Obsolete.
Adds elements to the NonKeyAttributes collection

WithNonKeyAttributes(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the NonKeyAttributes collection

WithProjectionType(String) Obsolete.
Sets the ProjectionType property

Inheritance Hierarchy
Object
Projection

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)