awscala.dynamodbv2

Type members

Classlikes

case class Attribute(name: String, value: AttributeValue)
Companion
class
case class AttributeDefinition(name: String, scalarType: ScalarAttributeType) extends AttributeDefinition
Companion
object
Companion
class
case class AttributeValue(s: Option[String], bl: Option[Boolean], n: Option[String], b: Option[ByteBuffer], m: Option[Map[String, AttributeValue]], l: Seq[AttributeValue], ss: Seq[String], ns: Seq[String], bs: Seq[ByteBuffer]) extends AttributeValue
Companion
object
object BillingMode
Companion
class
case class BillingModeSummary(billingMode: String, lastUpdateToPayPerRequestDateTime: DateTime) extends BillingModeSummary
Companion
object
class CondCompares(c: Condition) extends DynamoCompares[Condition]
class ConfiguredDynamoDBClient(clientConfiguration: ClientConfiguration, credentialsProvider: AWSCredentialsProvider) extends AmazonDynamoDBClient with DynamoDB

Configured Implementation

Configured Implementation

Value Params
clientConfiguration

clientConfiguration

credentialsProvider

credentialsProvider

trait DynamoCompares[A]
object DynamoDB
Companion
class
trait DynamoDB extends AmazonDynamoDB

Amazon DynamoDB Java client wrapper

Amazon DynamoDB Java client wrapper

See also
Companion
object
class DynamoDBClient(credentialsProvider: AWSCredentialsProvider) extends AmazonDynamoDBClient with DynamoDB

Default Implementation

Default Implementation

Value Params
credentialsProvider

credentialsProvider

object DynamoDBCondition extends DynamoConditions[Condition]
object DynamoDBExpectedAttributeValue extends DynamoConditions[ExpectedAttributeValue]
Companion
object
Companion
class
class EACompares(ea: ExpectedAttributeValue) extends DynamoCompares[ExpectedAttributeValue]
Companion
class
case class GlobalSecondaryIndex(name: String, keySchema: Seq[KeySchema], projection: Projection, provisionedThroughput: Option[ProvisionedThroughput]) extends GlobalSecondaryIndex with SecondaryIndex
Companion
object
object Item
Companion
class
case class Item(table: Table, attributes: Seq[Attribute])
Companion
object
object KeySchema
Companion
class
case class KeySchema(attributeName: String, keyType: KeyType) extends KeySchemaElement
Companion
object
object KeyType
Companion
class
case class LocalSecondaryIndex(name: String, keySchema: Seq[KeySchema], projection: Projection) extends LocalSecondaryIndex with SecondaryIndex
Companion
object
case class LocalSecondaryIndexMeta(name: String, sizeBytes: Long, itemCount: Long, keySchema: Seq[KeySchema], projection: Projection) extends LocalSecondaryIndexDescription
Companion
object
case class PageStats(page: Int, lastPage: Boolean, limit: Int, scanned: Int, items: Int, consumedCapacity: ConsumedCapacity)
object Projection
Companion
class
case class Projection(projectionType: ProjectionType, nonKeyAttributes: Seq[String]) extends Projection
Companion
object
case class ProvisionedThroughput(readCapacityUnits: Long, writeCapacityUnits: Long) extends ProvisionedThroughput
Companion
object
case class ProvisionedThroughputMeta(numberOfDecreasesToday: Long, readCapacityUnits: Long, writeCapacityUnits: Long, lastDecreasedAt: DateTime, lastIncreasedAt: DateTime) extends ProvisionedThroughputDescription
Companion
object
class QueryResultPager(val table: Table, val operation: QueryRequest => QueryResult, val request: QueryRequest, pageStatsCallback: PageStats => Unit) extends ResultPager[QueryRequest, QueryResult]
sealed trait ResultPager[TReq, TRes] extends Iterator[Item]

The ResultPager allows iteration over the results from a DynamoDB query/scan as a single stream of items, handling the necessary paging details in the background.

The ResultPager allows iteration over the results from a DynamoDB query/scan as a single stream of items, handling the necessary paging details in the background.

DynamoDB paginates the result of query/scan operations. The data returned from a Query or Scan operation is limited to 1 MB; this means that if the result set exceeds 1 MB of data, you'll need to perform another Query or Scan operation to retrieve the next 1 MB of data. In addition, the limit parameter controls the number of items that you want DynamoDB to process in a single request before returning results. See http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Pagination

Each response from DynamoDB indicates if the processing has reached the end of the dataset, or if another request is needed in order to continue scanning where the last request finished.

When the items from a page is exhausted, the ResultPager will issue a new query/scan for the next page of results, until processing reaches the end of the dataset, or the client stops iterating over the result (as the return value is a Stream[Item])

class ScanResultPager(val table: Table, val operation: ScanRequest => ScanResult, val request: ScanRequest, pageStatsCallback: PageStats => Unit) extends ResultPager[ScanRequest, ScanResult]
object Table
Companion
class
case class Table(name: String, hashPK: String, rangePK: Option[String], attributes: Seq[AttributeDefinition], localSecondaryIndexes: Seq[LocalSecondaryIndex], globalSecondaryIndexes: Seq[GlobalSecondaryIndex], provisionedThroughput: Option[ProvisionedThroughput], billingMode: Option[BillingMode]) extends TableCompat
Companion
object
object TableMeta
Companion
class
case class TableMeta(name: String, sizeBytes: Long, itemCount: Long, status: TableStatus, attributes: Seq[AttributeDefinition], keySchema: Seq[KeySchema], globalSecondaryIndexes: Seq[GlobalSecondaryIndexDescription], localSecondaryIndexes: Seq[LocalSecondaryIndexMeta], provisionedThroughput: ProvisionedThroughputMeta, billingModeSummary: Option[BillingModeSummary], createdAt: DateTime) extends TableDescription
Companion
object

Inherited classlikes

class RichJavaAttributeValue(v: AttributeValue)
Inherited from
DynamoDBImplicits

Types

type AttributeAction = AttributeAction
type ComparisonOperator = ComparisonOperator
type KeyType = KeyType
type ProjectionType = ProjectionType
type ReturnConsumedCapacity = ReturnConsumedCapacity
type Select = Select
type TableStatus = TableStatus

Value members

Concrete fields