DynamoDbTableWithSortKey

org.encalmo.aws.DynamoDbTableWithSortKey
trait DynamoDbTableWithSortKey[PartitionKeyType, SortKeyType](partitionKeyName: String, sortKeyName: String)(using partitionKeyToAttributeValue: Conversion[PartitionKeyType, AttributeValue], sortKeyToAttributeValue: Conversion[SortKeyType, AttributeValue])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

inline def baseTableName: String

Concrete methods

inline def getItem(partitionKey: PartitionKeyType, sortKey: SortKeyType)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Option[DynamoDbItem]
inline def getItem(partitionKey: PartitionKeyType, sortKey: SortKeyType, inline projection: Seq[String])(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Option[DynamoDbItem]
inline def getItemAsClass[T <: Product](partitionKey: PartitionKeyType, sortKey: SortKeyType)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext, mirror: ProductOf[T]): Option[T]
inline def getItemAsClassOrError[T <: Product](partitionKey: PartitionKeyType, sortKey: SortKeyType)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext, mirror: ProductOf[T]): Either[error.Error, T]
inline def getItemOrError(partitionKey: PartitionKeyType, sortKey: SortKeyType)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, DynamoDbItem]
inline def getItemProperties[Types <: Tuple](partitionKey: PartitionKeyType, sortKey: SortKeyType, inline properties: String*)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Option[Types]
inline def getItemPropertiesOrError[Types <: Tuple](partitionKey: PartitionKeyType, sortKey: SortKeyType, inline properties: String*)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, Types]
inline def getItemProperty[T : ReadWriter](partitionKey: PartitionKeyType, sortKey: SortKeyType, inline property: String)(using evidence$1: ReadWriter[T], awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Option[T]
inline def getItemPropertyAsClass[T <: Product](partitionKey: PartitionKeyType, sortKey: SortKeyType, inline property: String)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext, mirror: ProductOf[T]): Option[T]
inline def getItemPropertyAsListOfClass[T <: Product](partitionKey: PartitionKeyType, sortKey: SortKeyType, inline property: String)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext, mirror: ProductOf[T]): Option[Seq[T]]
inline def getItemPropertyOrError[T : ReadWriter](partitionKey: PartitionKeyType, sortKey: SortKeyType, inline property: String)(using evidence$1: ReadWriter[T], awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, T]
inline def partitionKeyOf(partitionKey: PartitionKeyType): (String, AttributeValue)
inline def removeItem(partitionKey: PartitionKeyType, sortKey: SortKeyType)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, Unit]
inline def removeItemProperty(partitionKey: PartitionKeyType, sortKey: SortKeyType, inline property: String)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, Unit]
inline def setItem[T <: Product](item: T, removeUndefinedProperties: Boolean)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext, mirror: ProductOf[T]): Either[error.Error, Unit]
inline def setItemProperties(partitionKey: PartitionKeyType, sortKey: SortKeyType, propertyUpdates: (String, AttributeValueUpdate)*)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, Unit]
inline def setItemProperty(partitionKey: PartitionKeyType, sortKey: SortKeyType, inline property: String, value: AttributeValue)(using awsClient: AwsClient, env: DynamoDbEnvironment, error: ErrorContext): Either[error.Error, Unit]
inline def sortKeyOf(sortKey: SortKeyType): (String, AttributeValue)
final inline def tableName(using env: DynamoDbEnvironment, error: ErrorContext): String