sealed trait Constructor[-In, +A] extends DynamoDBQuery[In, A]
- Alphabetic
- By Inheritance
- Constructor
- DynamoDBQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
*>[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, B]
- Definition Classes
- DynamoDBQuery
-
final
def
<*[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, A]
- Definition Classes
- DynamoDBQuery
-
final
def
<*>[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, (A, B)]
- Definition Classes
- DynamoDBQuery
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
capacity(capacity: ReturnConsumedCapacity): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
consistency(consistency: ConsistencyMode): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute: ZIO[DynamoDBExecutor, Throwable, A]
- Definition Classes
- DynamoDBQuery
-
def
filter[B](filterExpression: FilterExpression[B])(implicit ev: CanFilter[B, A]): DynamoDBQuery[In, A]
Filter a Scan or a Query
Filter a Scan or a Query
- Definition Classes
- DynamoDBQuery
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
gsi(indexName: String, keySchema: KeySchema, projection: ProjectionType): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
gsi(indexName: String, keySchema: KeySchema, projection: ProjectionType, readCapacityUnit: Long, writeCapacityUnit: Long): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
indexName(indexName: String): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lsi(indexName: String, keySchema: KeySchema, projection: ProjectionType = ProjectionType.All): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
final
def
map[B](f: (A) ⇒ B): DynamoDBQuery[In, B]
- Definition Classes
- DynamoDBQuery
-
def
metrics(itemMetrics: ReturnItemCollectionMetrics): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
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
parallel(n: Int): DynamoDBQuery[In, A]
Parallel executes a DynamoDB Scan in parallel.
Parallel executes a DynamoDB Scan in parallel. There are no guarantees on order of returned items.
- n
The number of parallel requests to make to DynamoDB
- Definition Classes
- DynamoDBQuery
-
def
returns(returnValues: ReturnValues): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
final
def
safeTransaction: Either[Throwable, DynamoDBQuery[Any, A]]
- Definition Classes
- DynamoDBQuery
-
def
selectAllAttributes: DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
selectAllProjectedAttributes: DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
selectCount: DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
selectSpecificAttributes: DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
sortOrder(ascending: Boolean): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
startKey(exclusiveStartKey: LastEvaluatedKey): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
transaction: DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
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()
-
def
where[B](conditionExpression: ConditionExpression[B])(implicit ev: CanWhere[B, A]): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
whereKey[B](conditionExpression: ConditionExpression[B])(implicit ev: CanWhereKey[B, A]): DynamoDBQuery[In, A]
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,beginsWithExample 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")
<ProjectionExpressionForSortKey> <op> <value> }}}
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")
- Definition Classes
- DynamoDBQuery
-
def
whereKey(keyConditionExpression: KeyConditionExpression): DynamoDBQuery[In, A]
Adds a KeyConditionExpression to a DynamoDBQuery.
Adds a KeyConditionExpression to a DynamoDBQuery. Example:
val newQuery = query.whereKey(partitionKey("email") === "avi@gmail.com" && sortKey("subject") === "maths")
- Definition Classes
- DynamoDBQuery
-
def
withClientRequestToken(token: String): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
def
withRetryPolicy(retryPolicy: Schedule[Any, Throwable, Any]): DynamoDBQuery[In, A]
- Definition Classes
- DynamoDBQuery
-
final
def
zip[In1 <: In, B](that: DynamoDBQuery[In1, B])(implicit z: Zippable[A, B]): DynamoDBQuery[In1, Out]
- Definition Classes
- DynamoDBQuery
-
final
def
zipLeft[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, A]
- Definition Classes
- DynamoDBQuery
-
final
def
zipRight[In1 <: In, B](that: DynamoDBQuery[In1, B]): DynamoDBQuery[In1, B]
- Definition Classes
- DynamoDBQuery
-
final
def
zipWith[In1 <: In, B, C](that: DynamoDBQuery[In1, B])(f: (A, B) ⇒ C): DynamoDBQuery[In1, C]
- Definition Classes
- DynamoDBQuery