DynamoDbKeyRangeCodec

@Singleton()
class DynamoDbKeyRangeCodec @Inject() constructor(moshi: Moshi)

It encodes the key range in utf8 for better cursor visibility in backfila. It's form: start = "v2:<segment_offset>/<segment_count>:<last_evaluated_key_json>" end = "v2:<segment_offset>/<segment_count>"

Constructors

DynamoDbKeyRangeCodec
Link copied to clipboard
@Inject()
fun DynamoDbKeyRangeCodec(moshi: Moshi)

Types

Companion
Link copied to clipboard
object Companion