object DynamoDBQuery
- Alphabetic
- By Inheritance
- DynamoDBQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait Constructor[-In, +A] extends DynamoDBQuery[In, A]
- final case class DescribeTableResponse(tableArn: String, tableStatus: TableStatus) extends Product with Serializable
- final case class EmptyTransaction() extends Throwable with Product with Serializable
- sealed trait TableStatus extends AnyRef
- sealed trait Write[-In, +A] extends Constructor[In, A]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](a: ⇒ A): DynamoDBQuery[Any, A]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def conditionCheck(tableName: String, primaryKey: PrimaryKey)(conditionExpression: ConditionExpression[_]): ConditionCheck
- 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
- def delete[A](tableName: String, key: PrimaryKey)(implicit arg0: Schema[A]): DynamoDBQuery[Any, Option[A]]
- def deleteItem(tableName: String, key: PrimaryKey): Write[Any, Option[Item]]
- def deleteTable(tableName: String): DeleteTable
- def describeTable(tableName: String): DescribeTable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fail(e: ⇒ DynamoDBError): DynamoDBQuery[Any, Nothing]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forEach[In, A, B](values: Iterable[A])(body: (A) ⇒ DynamoDBQuery[In, B]): DynamoDBQuery[In, List[B]]
Each element in
valuesis zipped together using functionbodywhich has signatureA => DynamoDBQuery[B]Note that whenDynamoDBQuery's are zipped together, on execution the queries are batched together as AWS DynamoDB batch queries whenever this is possible.Each element in
valuesis zipped together using functionbodywhich has signatureA => DynamoDBQuery[B]Note that whenDynamoDBQuery's are zipped together, on execution the queries are batched together as AWS DynamoDB batch queries whenever this is possible.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.
- def fromEither[A](or: Either[DynamoDBError, A]): DynamoDBQuery[Any, A]
- def get[A](tableName: String, key: PrimaryKey, projections: ProjectionExpression[_, _]*)(implicit arg0: Schema[A]): DynamoDBQuery[A, Either[DynamoDBError, A]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getItem(tableName: String, key: PrimaryKey, projections: ProjectionExpression[_, _]*): DynamoDBQuery[Any, Option[Item]]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def put[A](tableName: String, a: A)(implicit arg0: Schema[A]): DynamoDBQuery[A, Option[A]]
- def putItem(tableName: String, item: Item): DynamoDBQuery[Any, Option[Item]]
-
def
queryAll[A](tableName: String, projections: ProjectionExpression[_, _]*)(implicit arg0: Schema[A]): DynamoDBQuery[A, Stream[Throwable, A]]
when executed will return a ZStream of A
-
def
queryAllItem(tableName: String, projections: ProjectionExpression[_, _]*): QueryAll
when executed will return a ZStream of Item
-
def
querySome[A](tableName: String, limit: Int, projections: ProjectionExpression[_, _]*)(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)] -
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)
-
def
scanAll[A](tableName: String, projections: ProjectionExpression[_, _]*)(implicit arg0: Schema[A]): DynamoDBQuery[A, Stream[Throwable, A]]
when executed will return a ZStream of A
-
def
scanAllItem(tableName: String, projections: ProjectionExpression[_, _]*): ScanAll
when executed will return a ZStream of Item
-
def
scanSome[A](tableName: String, limit: Int, projections: ProjectionExpression[_, _]*)(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)] -
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)
- def succeed[A](a: ⇒ A): DynamoDBQuery[Any, A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def update[A](tableName: String, key: PrimaryKey)(action: Action[A])(implicit arg0: Schema[A]): DynamoDBQuery[A, Option[A]]
- def updateItem[A](tableName: String, key: PrimaryKey)(action: Action[A]): DynamoDBQuery[A, Option[Item]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object TableStatus