commonMain.aws.sdk.kotlin.hll.dynamodbmapper.items.internal.ItemSchemaImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dynamodb-mapper-jvm Show documentation
Show all versions of dynamodb-mapper-jvm Show documentation
High level DynamoDbMapper client
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.sdk.kotlin.hll.dynamodbmapper.items.internal
import aws.sdk.kotlin.hll.dynamodbmapper.items.ItemConverter
import aws.sdk.kotlin.hll.dynamodbmapper.items.ItemSchema
import aws.sdk.kotlin.hll.dynamodbmapper.items.KeySpec
internal data class ItemSchemaPartitionKeyImpl(
override val converter: ItemConverter,
override val partitionKey: KeySpec,
) : ItemSchema.PartitionKey
internal data class ItemSchemaCompositeKeyImpl(
override val converter: ItemConverter,
override val partitionKey: KeySpec,
override val sortKey: KeySpec,
) : ItemSchema.CompositeKey