DynamoDbIndexMapper

Constructors

Link copied to clipboard
constructor(dynamoDb: DynamoDb, tableName: TableName, schema: DynamoDbTableMapperSchema<Document, HashKey, SortKey>)

Functions

Link copied to clipboard
fun count(KeyConditionExpression: String? = null, FilterExpression: String? = null, ExpressionAttributeNames: TokensToNames? = null, ExpressionAttributeValues: TokensToValues? = null, ConsistentRead: Boolean? = null): Int
Link copied to clipboard
Link copied to clipboard
fun query(hashKey: HashKey, ScanIndexForward: Boolean = true, PageSize: Int? = null, ConsistentRead: Boolean? = null): Sequence<Document>
fun query(KeyConditionExpression: String? = null, FilterExpression: String? = null, ExpressionAttributeNames: TokensToNames? = null, ExpressionAttributeValues: TokensToValues? = null, ScanIndexForward: Boolean = true, PageSize: Int? = null, ConsistentRead: Boolean? = null): Sequence<Document>
Link copied to clipboard
fun <Document : Any, HashKey : Any, SortKey : Any> DynamoDbIndexMapper<Document, HashKey, SortKey>.query(ScanIndexForward: Boolean = true, PageSize: Int? = null, ConsistentRead: Boolean? = null, block: DynamoDbQueryBuilder<HashKey, SortKey>.() -> Unit): Sequence<Document>
Link copied to clipboard
fun queryPage(HashKey: HashKey, ScanIndexForward: Boolean = true, ExclusiveStartKey: Key? = null, Limit: Int? = null, ConsistentRead: Boolean? = null): DynamoDbPage<Document>
fun queryPage(KeyConditionExpression: String? = null, FilterExpression: String? = null, ExpressionAttributeNames: TokensToNames? = null, ExpressionAttributeValues: TokensToValues? = null, ExclusiveStartKey: Key? = null, ScanIndexForward: Boolean = true, Limit: Int? = null, ConsistentRead: Boolean? = null): DynamoDbPage<Document>
Link copied to clipboard
fun <Document : Any, HashKey : Any, SortKey : Any> DynamoDbIndexMapper<Document, HashKey, SortKey>.queryPage(ScanIndexForward: Boolean = true, Limit: Int? = null, ConsistentRead: Boolean? = null, ExclusiveStartKey: Key? = null, block: DynamoDbQueryBuilder<HashKey, SortKey>.() -> Unit): DynamoDbPage<Document>
Link copied to clipboard
fun scan(FilterExpression: String? = null, ExpressionAttributeNames: TokensToNames? = null, ExpressionAttributeValues: TokensToValues? = null, PageSize: Int? = null, ConsistentRead: Boolean? = null): Sequence<Document>
Link copied to clipboard
fun <Document : Any, HashKey : Any, SortKey : Any> DynamoDbIndexMapper<Document, HashKey, SortKey>.scan(PageSize: Int? = null, ConsistentRead: Boolean? = null, block: DynamoDbScanBuilder.() -> Unit): Sequence<Document>
Link copied to clipboard
fun scanPage(FilterExpression: String? = null, ExpressionAttributeNames: TokensToNames? = null, ExpressionAttributeValues: TokensToValues? = null, ExclusiveStartKey: Key? = null, Limit: Int? = null, ConsistentRead: Boolean? = null): DynamoDbPage<Document>
Link copied to clipboard
fun <Document : Any, HashKey : Any, SortKey : Any> DynamoDbIndexMapper<Document, HashKey, SortKey>.scanPage(ExclusiveStartKey: Key? = null, Limit: Int? = null, ConsistentRead: Boolean? = null, block: DynamoDbScanBuilder.() -> Unit): DynamoDbPage<Document>