KeyFilter

fun KeyFilter(partitionKey: ByteArray, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter
fun KeyFilter(partitionKey: Byte, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter
fun KeyFilter(partitionKey: Int, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter
fun KeyFilter(partitionKey: Long, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter
fun KeyFilter(partitionKey: Short, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter
fun KeyFilter(partitionKey: String, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter
fun KeyFilter(partitionKey: KeyType, vararg sortKeyExpressions: SortKeyFilterDsl.() -> SortKeyExpr): KeyFilter

Creates a new KeyFilter implementation for the given partition key value and optional sort key expressions

Parameters

partitionKey

The partition key value to assert

sortKeyExpressions

Up to 4 sort key expressions in sort key attribute order