Amazon DynamoDB · Types · Other public types

ArxDynamoKeyTemplate

Definition

Namespace
ARX.SDK.DynamoDb.Model
Package
ARX.SDK.DynamoDb
C#
public sealed class ArxDynamoKeyTemplate

A key's value as an entity makes it: a plain attribute (a table per entity), or a template of literal text and {attribute} placeholders (a single table), whose values are escaped: % and # are percent-encoded, so "A#1" can't collide with another key.

Properties

  • string Text { get; }

    The template as declared, or the plain attribute's name.

  • string PlainAttribute { get; }

    The attribute whose own value is the key (a table per entity); null for a template.

  • IReadOnlyList<string> Attributes { get; }

    The attributes the key is made of, in order.

  • string LiteralPrefix { get; }

    The literal text before the first placeholder (ORDER#): what every key of the entity starts with.

  • bool EndsWithPlaceholder { get; }

    True when the template ends with a placeholder, so a condition on that attribute can narrow the key's range.