Write

zio.dynamodb.DynamoDBQuery.Write
sealed trait Write[-In, +A] extends Constructor[In, A]

Attributes

Graph
Supertypes
trait Constructor[In, A]
trait DynamoDBQuery[In, A]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

final def *>[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, B]

Attributes

Inherited from:
DynamoDBQuery
final def <*[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, A]

Attributes

Inherited from:
DynamoDBQuery
final def <*>[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, (A, B)]

Attributes

Inherited from:
DynamoDBQuery
final def capacity(capacity: ReturnConsumedCapacity): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
final def consistency(consistency: ConsistencyMode): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery
def filter[B](filterExpression: ConditionExpression[B])(implicit ev: CanFilter[B, A]): DynamoDBQuery[In, A]

Filter a Scan or a Query

Filter a Scan or a Query

Attributes

Inherited from:
DynamoDBQuery
def gsi(indexName: String, keySchema: KeySchema, projection: ProjectionType): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
def gsi(indexName: String, keySchema: KeySchema, projection: ProjectionType, readCapacityUnit: Long, writeCapacityUnit: Long): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
final def indexName(indexName: String): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
def lsi(indexName: String, keySchema: KeySchema, projection: ProjectionType): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
final def map[B](f: A => B): DynamoDBQuery[In, B]

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery
def parallel(n: Int): DynamoDBQuery[In, A]

Executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.

Executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.

Value parameters

n

The number of parallel requests to make to DynamoDB

Attributes

Inherited from:
DynamoDBQuery
def returns(returnValues: ReturnValues): DynamoDBQuery[In, A]

Note for update(...) ATM both ReturnValues.UpdatedNew and ReturnValues.UpdatedOld will potentially cause a decode error for the high level API if all the attributes are not updated as this will result in partial data being returned and hence a decode error so should not be use.

Note for update(...) ATM both ReturnValues.UpdatedNew and ReturnValues.UpdatedOld will potentially cause a decode error for the high level API if all the attributes are not updated as this will result in partial data being returned and hence a decode error so should not be use.

If these are required then use the low level API for now.

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery
def sortOrder(ascending: Boolean): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
def startKey(exclusiveStartKey: LastEvaluatedKey): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
final def transaction: DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
def where[B](conditionExpression: ConditionExpression[B])(implicit ev: CanWhere[B, A]): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
def whereKey[From](keyConditionExpression: KeyConditionExpr[From]): DynamoDBQuery[In, A]

Adds a KeyConditionExpr to a DynamoDBQuery. Example:

Adds a KeyConditionExpr to a DynamoDBQuery. Example:

// high level type safe API where "email" and "subject" keys are defined using ProjectionExpression.accessors[Student]
val newQuery = query.whereKey(email.partitionKey === "[email protected]" && subject.sortKey === "maths")

// low level API
val newQuery = query.whereKey($("email").partitionKey === "[email protected]" && $("subject").sortKey === "maths")

Attributes

Inherited from:
DynamoDBQuery

Attributes

Inherited from:
DynamoDBQuery
def withRetryPolicy(retryPolicy: Schedule[Any, Throwable, Any]): DynamoDBQuery[In, A]

Attributes

Inherited from:
DynamoDBQuery
final def zip[In1 <: In, B](that: DynamoDBQuery[In1, B])(implicit z: Zippable[A, B]): DynamoDBQuery[In1, z.Out]

Attributes

Inherited from:
DynamoDBQuery
final def zipLeft[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, A]

Attributes

Inherited from:
DynamoDBQuery
final def zipRight[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, B]

Attributes

Inherited from:
DynamoDBQuery
final def zipWith[In1 <: In, B, C](that: DynamoDBQuery[In1, B])(f: (A, B) => C): DynamoDBQuery[In1, C]

Attributes

Inherited from:
DynamoDBQuery