GlobalSecondaryIndex class

Represents the properties of a global secondary index.

Constructors

GlobalSecondaryIndex({required String indexName, required List<KeySchemaElement> keySchema, required Projection projection, ProvisionedThroughput? provisionedThroughput})

Properties

hashCode int
The hash code for this object.
no setterinherited
indexName String
The name of the global secondary index. The name must be unique among all other indexes on this table.
final
keySchema List<KeySchemaElement>
The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:
final
projection Projection
Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
final
provisionedThroughput ProvisionedThroughput?
Represents the provisioned throughput settings for the specified global secondary index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited