commonMain.aws.sdk.kotlin.hll.dynamodbmapper.model.internal.IndexSpecImpl.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.model.internal
import aws.sdk.kotlin.hll.dynamodbmapper.DynamoDbMapper
import aws.sdk.kotlin.hll.dynamodbmapper.items.ItemSchema
import aws.sdk.kotlin.hll.dynamodbmapper.model.IndexSpec
internal data class IndexSpecPartitionKeyImpl(
override val mapper: DynamoDbMapper,
override val tableName: String,
override val indexName: String,
override val schema: ItemSchema.PartitionKey,
) : IndexSpec.PartitionKey
internal data class IndexSpecCompositeKeyImpl(
override val mapper: DynamoDbMapper,
override val tableName: String,
override val indexName: String,
override val schema: ItemSchema.CompositeKey,
) : IndexSpec.CompositeKey