All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.hll.dynamodbmapper.model.internal.TableSpecImpl.kt Maven / Gradle / Ivy

There is a newer version: 1.3.73-beta
Show newest version
/*
 * 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.TableSpec

internal data class TableSpecPartitionKeyImpl(
    override val mapper: DynamoDbMapper,
    override val tableName: String,
    override val schema: ItemSchema.PartitionKey,
) : TableSpec.PartitionKey

internal data class TableSpecCompositeKeyImpl(
    override val mapper: DynamoDbMapper,
    override val tableName: String,
    override val schema: ItemSchema.CompositeKey,
) : TableSpec.CompositeKey




© 2015 - 2024 Weber Informatics LLC | Privacy Policy