ikv-store icon indicating copy to clipboard operation
ikv-store copied to clipboard

[Go] Bulk/Multi Read fields in ikv go client

Open pushkarmoi opened this issue 5 months ago • 0 comments

Ikv go client only supports single get in IKVReader - ie a user can fetch one field from one document. We should add the following batch/multi versions for each field type -

  • Multiple primary keys, one field-name
  • One primary key, multiple field-names

Tip: Minimize object allocation in the returned objects (ex. avoid maps)

Reference (in java client) https://github.com/inlinedio/ikv-java-client/blob/32c10fc40e9397c7e6ced771a5768e6436244ef5/src/main/java/io/inlined/clients/DefaultInlineKVReader.java#L135

pushkarmoi avatar Mar 03 '24 06:03 pushkarmoi