Package

com.github.dwhjames.awswrap

dynamodb

Permalink

package dynamodb

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. dynamodb
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class AmazonDynamoDBScalaClient extends AnyRef

    Permalink

    A lightweight wrapper for AmazonDynamoDBAsyncClient.

    A lightweight wrapper for AmazonDynamoDBAsyncClient.

    See also

    AmazonDynamoDBAsyncClient

  2. trait AmazonDynamoDBScalaMapper extends AnyRef

    Permalink

    An object mapping for DynamoDB items.

    An object mapping for DynamoDB items.

    This trait provides the interface to an object mapper for DynamoDB. It depends on a concrete implementation of AmazonDynamoDBScalaClient.

  3. trait AmazonDynamoDBScalaMapperConfig extends AnyRef

    Permalink

    A trait for configuring AmazonDynamoDBScalaMapper.

  4. type AttributeValue = amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    A convienience type synonym for AttributeValue.

  5. class AttributeValueConversionException extends RuntimeException

    Permalink

    A value could not be converted to an AttributeValue

    A value could not be converted to an AttributeValue

    See also

    AWS Java SDK

  6. class ConcurrentBatchWriter extends AnyRef

    Permalink

    A multi-threaded, self-throttling, batch writer to a given DynamoDB table

    A multi-threaded, self-throttling, batch writer to a given DynamoDB table

    This class provides a blocking interface to write items in batch to one DynamoDB table. The credentials that are provided must permit the "BatchWriteItem" operation to the named table.

  7. trait DynamoDBSerializer[T] extends AnyRef

    Permalink

    A trait for serializers that convert Scala objects to and from DynamoDB items.

    A trait for serializers that convert Scala objects to and from DynamoDB items.

    T

    the object type of this serializer

  8. case class FailedBatch[Metadata](tableName: String, batch: List[WriteRequest], cause: Throwable, metadata: Metadata) extends Product with Serializable

    Permalink

    A record to communicate errors during batch write attempts.

    A record to communicate errors during batch write attempts.

    Metadata

    the type of the metadata tag

    tableName

    the name of the table that was being written to

    batch

    the list of write request that were in the failed batch

    cause

    the exception that occurred while writing the batch

    metadata

    the metadata that was supplied for the write group

  9. implicit class RichAttributeValue extends AnyRef

    Permalink

    An enrichment of the AttributeValue class.

    An enrichment of the AttributeValue class.

    An implicit class to extend attribute values with a type-safe(ish) casting method.

  10. class SingleThreadedBatchWriter extends AnyRef

    Permalink

Value Members

  1. object AmazonDynamoDBScalaMapper

    Permalink

    A factory for AmazonDynamoDBScalaMapper.

  2. object AmazonDynamoDBScalaMapperConfig

    Permalink

    A factory for AmazonDynamoDBScalaMapperConfig.

  3. object QueryCondition extends AttributeConditions

    Permalink

    A factory of Conditions for queries.

    A factory of Conditions for queries.

    See also

    AWS Java SDK

    DynamoDB API Reference

  4. object ScanCondition extends AttributeConditions

    Permalink

    A factory of Conditions for scans.

    A factory of Conditions for scans.

    See also

    AWS Java SDK

    DynamoDB API Reference

  5. object Schema

    Permalink

    Convenience methods for constructing DynamoDB table schemas.

    Convenience methods for constructing DynamoDB table schemas.

    See also

    DynamoDB API Reference

  6. implicit val attributeValueToBigDecimal: (AttributeValue) ⇒ BigDecimal

    Permalink

    string AttributeValue to BigDecimal

  7. implicit val attributeValueToBigDecimalSet: (AttributeValue) ⇒ Set[BigDecimal]

    Permalink

    string set AttributeValue to Set[BigDecimal]

  8. implicit val attributeValueToBigInt: (AttributeValue) ⇒ BigInt

    Permalink

    string AttributeValue to BigInt

  9. implicit val attributeValueToBigIntSet: (AttributeValue) ⇒ Set[BigInt]

    Permalink

    string set AttributeValue to Set[BigInt]

  10. implicit val attributeValueToBoolean: (AttributeValue) ⇒ Boolean

    Permalink

    string AttributeValue to Boolean

  11. implicit val attributeValueToBooleanSet: (AttributeValue) ⇒ Set[Boolean]

    Permalink

    string set AttributeValue to Set[Boolean]

  12. implicit val attributeValueToByte: (AttributeValue) ⇒ Byte

    Permalink

    numeric AttributeValue to Byte

  13. implicit val attributeValueToByteArray: (AttributeValue) ⇒ Array[Byte]

    Permalink

    binary AttributeValue to Array[Byte]

  14. implicit val attributeValueToByteArraySet: (AttributeValue) ⇒ Set[Array[Byte]]

    Permalink

    binary set AttributeValue to Set[Array[Byte]]

  15. implicit val attributeValueToByteSet: (AttributeValue) ⇒ Set[Byte]

    Permalink

    numeric set AttributeValue to Set[Byte]

  16. implicit val attributeValueToDouble: (AttributeValue) ⇒ Double

    Permalink

    numeric AttributeValue to Double

  17. implicit val attributeValueToDoubleSet: (AttributeValue) ⇒ Set[Double]

    Permalink

    numeric set AttributeValue to Set[Double]

  18. implicit val attributeValueToFloat: (AttributeValue) ⇒ Float

    Permalink

    numeric AttributeValue to Float

  19. implicit val attributeValueToFloatSet: (AttributeValue) ⇒ Set[Float]

    Permalink

    numeric set AttributeValue to Set[Float]

  20. implicit val attributeValueToInt: (AttributeValue) ⇒ Int

    Permalink

    numeric AttributeValue to Int

  21. implicit val attributeValueToIntSet: (AttributeValue) ⇒ Set[Int]

    Permalink

    numeric set AttributeValue to Set[Int]

  22. implicit val attributeValueToLong: (AttributeValue) ⇒ Long

    Permalink

    numeric AttributeValue to Long

  23. implicit val attributeValueToLongSet: (AttributeValue) ⇒ Set[Long]

    Permalink

    numeric set AttributeValue to Set[Long]

  24. implicit val attributeValueToShort: (AttributeValue) ⇒ Short

    Permalink

    numeric AttributeValue to Short

  25. implicit val attributeValueToShortSet: (AttributeValue) ⇒ Set[Short]

    Permalink

    numeric set AttributeValue to Set[Short]

  26. implicit val attributeValueToString: (AttributeValue) ⇒ String

    Permalink

    string AttributeValue to String

  27. implicit val attributeValueToStringSet: (AttributeValue) ⇒ Set[String]

    Permalink

    string set AttributeValue to Set[String]

  28. implicit val bigDecimalIterableToAttributeValue: (Iterable[BigDecimal]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    BigDecimal to a string set AttributeValue

  29. implicit val bigDecimalToAttributeValue: (BigDecimal) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    BigDecimal to a string AttributeValue

  30. implicit val bigIntIterableToAttributeValue: (Iterable[BigInt]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    BigInt to a string set AttributeValue

  31. implicit val bigIntToAttributeValue: (BigInt) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    BigInt to a string AttributeValue

  32. implicit val booleanIterableToAttributeValue: (Iterable[Boolean]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Boolean collection to a string set AttributeValue

  33. implicit val booleanToAttributeValue: (Boolean) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Boolean to a string AttributeValue

  34. implicit val byteArrayIterableToAttributeValue: (Iterable[Array[Byte]]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Array[Byte] collection to a binary set AttributeValue

  35. implicit val byteArrayToAttributeValue: (Array[Byte]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Array[Byte] to a binary AttributeValue

  36. implicit val byteIterableToAttributeValue: (Iterable[Byte]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Byte collection to a numeric set AttributeValue

  37. implicit val byteToAttributeValue: (Byte) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Byte to a numeric AttributeValue

  38. implicit val doubleIterableToAttributeValue: (Iterable[Double]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Double collection to a numeric set AttributeValue

  39. implicit val doubleToAttributeValue: (Double) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Double to a numeric AttributeValue

  40. implicit val floatIterableToAttributeValue: (Iterable[Float]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Float collection to a numeric set AttributeValue

  41. implicit val floatToAttributeValue: (Float) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Float to a numeric AttributeValue

  42. implicit val intIterableToAttributeValue: (Iterable[Int]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Int collection to a numeric set AttributeValue

  43. implicit val intToAttributeValue: (Int) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Int to a numeric AttributeValue

  44. implicit val longIterableToAttributeValue: (Iterable[Long]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Long collection to a numeric set AttributeValue

  45. implicit val longToAttributeValue: (Long) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Long to a numeric AttributeValue

  46. def mkHashAndRangeKeyQuery[T, K](hashValue: K, rangeCondition: Condition)(implicit serializer: DynamoDBSerializer[T], ev: (K) ⇒ AttributeValue): QueryRequest

    Permalink

    Constructs a QueryRequest for hash and range keys.

    Constructs a QueryRequest for hash and range keys.

    Constructs a QueryRequest from an attribute value, a range condition, and an implicit serializer.

    hashValue

    the value the hash key must equal.

    rangeCondition

    a condition on the range key.

    serializer

    an implicit object serializer

    returns

    a query request

    See also

    QueryCondition

  47. def mkHashAndRangeKeyQuery[K](hashAttr: (String, K), rangeAttr: (String, Condition))(implicit ev: (K) ⇒ AttributeValue): QueryRequest

    Permalink

    Constructs a QueryRequest for hash and range keys.

    Constructs a QueryRequest for hash and range keys.

    Constructs a QueryRequest from an attribute name and attribute value pair, and an attribute name and condition pair.

    hashAttr

    the hash key name and the value it must equal.

    rangeAttr

    an attribute name and condition pair.

    returns

    a query request

    See also

    QueryCondition

  48. def mkHashKeyQuery[T, K](hashValue: K)(implicit serializer: DynamoDBSerializer[T], ev: (K) ⇒ AttributeValue): QueryRequest

    Permalink

    Constructs a QueryRequest for a hash key.

    Constructs a QueryRequest for a hash key.

    Constructs a QueryRequest from an attribute value and an implicit serializer.

    hashValue

    the value the hash key must equal.

    serializer

    an implicit object serializer

    returns

    a query request

  49. def mkHashKeyQuery[K](hashAttr: (String, K))(implicit ev: (K) ⇒ AttributeValue): QueryRequest

    Permalink

    Constructs a QueryRequest for a hash key.

    Constructs a QueryRequest for a hash key.

    Constructs a QueryRequest from an attribute name and attribute value pair.

    hashAttr

    the hash key name and the value it must equal.

    returns

    a query request

  50. implicit val shortIterableToAttributeValue: (Iterable[Short]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Short collection to a numeric set AttributeValue

  51. implicit val shortToAttributeValue: (Short) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    Short to a numeric AttributeValue

  52. implicit val stringIterableToAttributeValue: (Iterable[String]) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    String collection to a string set AttributeValue

  53. implicit val stringToAttributeValue: (String) ⇒ amazonaws.services.dynamodbv2.model.AttributeValue

    Permalink

    String to a string AttributeValue

Inherited from AnyRef

Inherited from Any

Ungrouped