Constructor

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

Attributes

Graph
Supertypes
trait DynamoDBQuery[In, A]
class Object
trait Matchable
class Any
Known subtypes
trait Write[In, A]

Members list

Concise view

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, Out]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
DynamoDBQuery

Attributes

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

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, Out]

Attributes

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

Attributes

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

Attributes

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

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, Out]

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

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

Attributes

n

The number of parallel requests to make to DynamoDB

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

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, Out]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
DynamoDBQuery
def whereKey[B](conditionExpression: ConditionExpression[B])(implicit ev: CanWhereKey[B, A]): DynamoDBQuery[In, Out]

Adds a KeyConditionExpression from a ConditionExpression to a DynamoDBQuery Must be in the form of <Condition1> && <Condition2> where format of <Condition1> is:

Adds a KeyConditionExpression from a ConditionExpression to a DynamoDBQuery Must be in the form of <Condition1> && <Condition2> where format of <Condition1> is:

<ProjectionExpressionForPartitionKey> === <value>

and the format of <Condition2> is:

<ProjectionExpressionForSortKey> <op> <value>

where op can be one of ===, >, >=, <, <=, between, beginsWith

Example using type safe API:

// email and subject are partition and sort keys respectively
val (email, subject, enrollmentDate, payment) = ProjectionExpression.accessors[Student]
// ...
val newQuery = query.whereKey(email === "avi@gmail.com" && subject === "maths")

}}}

Example using type safe API:

// email and subject are partition and sort keys respectively
val (email, subject, enrollmentDate, payment) = ProjectionExpression.accessors[Student]
// ...
val newQuery = query.whereKey(email === "avi@gmail.com" && subject === "maths")

Attributes

Inherited from:
DynamoDBQuery
def whereKey(keyConditionExpression: KeyConditionExpression): DynamoDBQuery[In, Out]

Adds a KeyConditionExpression to a DynamoDBQuery. Example:

Adds a KeyConditionExpression to a DynamoDBQuery. Example:

val newQuery = query.whereKey(partitionKey("email") === "avi@gmail.com" && sortKey("subject") === "maths")

Attributes

Inherited from:
DynamoDBQuery

Attributes

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

Attributes

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

Attributes

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

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