object DynamoDBQuery

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamoDBQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Constructor[-In, +A] extends DynamoDBQuery[In, A]
  2. final case class DescribeTableResponse(tableArn: String, tableStatus: TableStatus, tableSizeBytes: Long, itemCount: Long) extends Product with Serializable
  3. sealed trait TableStatus extends AnyRef
  4. sealed trait Write[-In, +A] extends Constructor[In, A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](a: => A): DynamoDBQuery[Any, A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def conditionCheck(tableName: String, primaryKey: PrimaryKey)(conditionExpression: ConditionExpression[_]): ConditionCheck
  8. def createTable(tableName: String, keySchema: KeySchema, billingMode: BillingMode, sseSpecification: Option[SSESpecification] = None, tags: scala.collection.immutable.Map[String, String] = ScalaMap.empty)(attributeDefinition: AttributeDefinition, attributeDefinitions: AttributeDefinition*): CreateTable
  9. def deleteFrom[From](tableName: String)(primaryKeyExpr: PrimaryKeyExpr[From])(implicit arg0: Schema[From]): DynamoDBQuery[Any, Option[From]]
  10. def deleteItem(tableName: String, key: PrimaryKey): Write[Any, Option[Item]]
  11. def deleteTable(tableName: String): DeleteTable
  12. def describeTable(tableName: String): DescribeTable
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def fail(e: => DynamoDBError): DynamoDBQuery[Any, Nothing]
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def forEach[In, A, B](values: Iterable[A])(body: (A) => DynamoDBQuery[In, B]): DynamoDBQuery[In, List[B]]

    Each element in values is zipped together using function body which has signature A => DynamoDBQuery[B] Note that when DynamoDBQuery's are zipped together, on execution the queries are batched together as AWS DynamoDB batch queries whenever this is possible - only AWS GetItem, PutItem and DeleteItem queries can be batched, other query types will be executed in parallel.

    Each element in values is zipped together using function body which has signature A => DynamoDBQuery[B] Note that when DynamoDBQuery's are zipped together, on execution the queries are batched together as AWS DynamoDB batch queries whenever this is possible - only AWS GetItem, PutItem and DeleteItem queries can be batched, other query types will be executed in parallel.

    Note this is a low level function for a small amount of elements - if you want to perform a large number of reads and writes prefer the following utility functions - zio.dynamodb.batchReadItemFromStream, zio.dynamodb.batchWriteFromStream which work with ZStreams and efficiently limit batch sizes to the maximum size allowed by the AWS API, or alternatively use forEach to implement your own streaming functions.

    Note that if you need need access to unprocessedItems or unprocessedKeys then an error handler for DynamoDBError.BatchError should be provided.

  18. def fromEither[A](or: Either[ItemError, A]): DynamoDBQuery[Any, A]
  19. def get[From](tableName: String)(primaryKeyExpr: PrimaryKeyExpr[From])(implicit arg0: Schema[From]): DynamoDBQuery[From, Either[ItemError, From]]
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getItem(tableName: String, key: PrimaryKey, projections: ProjectionExpression[_, _]*): DynamoDBQuery[Any, Option[Item]]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def put[A](tableName: String, a: A)(implicit arg0: Schema[A]): DynamoDBQuery[A, Option[A]]
  28. def putItem(tableName: String, item: Item): DynamoDBQuery[Any, Option[Item]]
  29. def queryAll[A](tableName: String)(implicit arg0: Schema[A]): DynamoDBQuery[A, Stream[Throwable, A]]

    when executed will return a ZStream of A

  30. def queryAllItem(tableName: String, projections: ProjectionExpression[_, _]*): QueryAll

    when executed will return a ZStream of Item

  31. def querySome[A](tableName: String, limit: Int)(implicit arg0: Schema[A]): DynamoDBQuery[A, (Chunk[A], LastEvaluatedKey)]

    when executed will return a Tuple of

    when executed will return a Tuple of

    Either[String,(Chunk[A], LastEvaluatedKey)]
  32. def querySomeItem(tableName: String, limit: Int, projections: ProjectionExpression[_, _]*): QuerySome

    when executed will return a Tuple of

    when executed will return a Tuple of

    (Chunk[Item], LastEvaluatedKey)
  33. def scanAll[A](tableName: String)(implicit arg0: Schema[A]): DynamoDBQuery[A, Stream[Throwable, A]]

    when executed will return a ZStream of A

  34. def scanAllItem(tableName: String, projections: ProjectionExpression[_, _]*): ScanAll

    when executed will return a ZStream of Item

  35. def scanSome[A](tableName: String, limit: Int)(implicit arg0: Schema[A]): DynamoDBQuery[A, (Chunk[A], LastEvaluatedKey)]

    when executed will return a Tuple of

    when executed will return a Tuple of

    Either[String,(Chunk[A], LastEvaluatedKey)]
  36. def scanSomeItem(tableName: String, limit: Int, projections: ProjectionExpression[_, _]*): ScanSome

    when executed will return a Tuple of

    when executed will return a Tuple of

    (Chunk[Item], LastEvaluatedKey)
  37. def succeed[A](a: => A): DynamoDBQuery[Any, A]
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def update[From](tableName: String)(primaryKeyExpr: PrimaryKeyExpr[From])(action: Action[From])(implicit arg0: Schema[From]): DynamoDBQuery[From, Option[From]]
  41. def updateItem[A](tableName: String, key: PrimaryKey)(action: Action[A]): DynamoDBQuery[A, Option[Item]]
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. object ScanAll extends Serializable
  46. object TableStatus

Inherited from AnyRef

Inherited from Any

Ungrouped