Attributes
- Companion
- trait
- Source
- DynamoDBQuery.scala
- Graph
-
- Supertypes
- Self type
-
DynamoDBQuery.type
Members list
Type members
Classlikes
Attributes
- Source
- DynamoDBQuery.scala
- Supertypes
- Known subtypes
-
Attributes
- Source
- DynamoDBQuery.scala
- Supertypes
Attributes
- Source
- DynamoDBQuery.scala
- Supertypes
- Self type
-
ScanAll.type
Attributes
- Companion
- trait
- Source
- DynamoDBQuery.scala
- Supertypes
- Self type
-
TableStatus.type
Attributes
- Companion
- object
- Source
- DynamoDBQuery.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Activeobject Archivedobject Archivingobject Creatingobject Deletingobject ReplicationNotAuthorizedobject Updatingobject unknownToSdkVersionShow all
Attributes
- Source
- DynamoDBQuery.scala
- Supertypes
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Attributes
- Source
- DynamoDBQuery.scala
Primary entry point for batching queries together. The function body is called for each A in the list and the results are zipped together using a strict version of the zip operation. When the execute method on query is invoked a DynamoDBError.BatchError.UnbatchableQueryError is returned with an explanation if the query does not qualify for batching. For a full explanation of the batching rules please see https://zio.dev/zio-dynamodb/reference/auto-batching-and-parallelisation
Primary entry point for batching queries together. The function body is called for each A in the list and the results are zipped together using a strict version of the zip operation. When the execute method on query is invoked a DynamoDBError.BatchError.UnbatchableQueryError is returned with an explanation if the query does not qualify for batching. For a full explanation of the batching rules please see https://zio.dev/zio-dynamodb/reference/auto-batching-and-parallelisation
Note this is a low level function for a small amount of elements that is bounded by limits by the AWS API - 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 in a finite memory space and efficiently limit batch sizes to the maximum size allowed by the AWS API, or alternatively use batch 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.
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Sometimes we want to save top level sum types to DynamoDB and we want to retrieve them back as the subtype with expressions in terms of the subtype as well. getWithNarrow does a get with a safe narrow operation from type From to To. If the narrow fails it returns a Decoding error with details of the cast failure in the message.
Sometimes we want to save top level sum types to DynamoDB and we want to retrieve them back as the subtype with expressions in terms of the subtype as well. getWithNarrow does a get with a safe narrow operation from type From to To. If the narrow fails it returns a Decoding error with details of the cast failure in the message.
Requires implicit schemas in scope which ensure that From is an enum (sealed trait) and To is a subtype.
Note this is an experimental API and may be subject to change.
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
It is common to save the top level sum type to DynamoDB and often we want to save them back as the subtype with expressions in terms of the subtype as well. putWithNarrow does a put of type To which is widened to type From before the save to ensure that the discriminator is saved, and narrows the returned DynamoDBQuery to To .
It is common to save the top level sum type to DynamoDB and often we want to save them back as the subtype with expressions in terms of the subtype as well. putWithNarrow does a put of type To which is widened to type From before the save to ensure that the discriminator is saved, and narrows the returned DynamoDBQuery to To .
Requires implicit schemas in scope which ensure that From is an enum (sealed trait) and To is a subtype.
Note this is an experimental API and may be subject to change.
Attributes
- Source
- DynamoDBQuery.scala
when executed will return a ZStream of A
when executed will return a ZStream of Item
when executed will return a Tuple of
when executed will return a Tuple of
Either[String,(Chunk[A], LastEvaluatedKey)]
Attributes
- Source
- DynamoDBQuery.scala
when executed will return a Tuple of
when executed will return a Tuple of
(Chunk[Item], LastEvaluatedKey)
Attributes
- Source
- DynamoDBQuery.scala
when executed will return a ZStream of A
when executed will return a ZStream of Item
when executed will return a Tuple of
when executed will return a Tuple of
Either[String,(Chunk[A], LastEvaluatedKey)]
Attributes
- Source
- DynamoDBQuery.scala
when executed will return a Tuple of
when executed will return a Tuple of
(Chunk[Item], LastEvaluatedKey)
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Attributes
- Source
- DynamoDBQuery.scala
Deprecated methods
Primary entry point for batching queries together. The function body is called for each A in the list and the results are zipped together using a strict version of the zip operation. When the execute method on query is invoked a DynamoDBError.BatchError.UnbatchableQueryError is returned with an explanation if the query does not qualify for batching. For a full explanation of the batching rules please see https://zio.dev/zio-dynamodb/reference/auto-batching-and-parallelisation
Primary entry point for batching queries together. The function body is called for each A in the list and the results are zipped together using a strict version of the zip operation. When the execute method on query is invoked a DynamoDBError.BatchError.UnbatchableQueryError is returned with an explanation if the query does not qualify for batching. For a full explanation of the batching rules please see https://zio.dev/zio-dynamodb/reference/auto-batching-and-parallelisation
Note this is a low level function for a small amount of elements that is bounded by limits by the AWS API - 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 in a finite memory space and efficiently limit batch sizes to the maximum size allowed by the AWS API, or alternatively use batch 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.
Attributes
- Deprecated
-
[Since version ]Use batch instead - Source
- DynamoDBQuery.scala