AnsweredAssumed Answered

Batch operations on a JSON table

Question asked by mistanke on Apr 4, 2016
Latest reply on Apr 4, 2016 by maprcommunity

Hi.In wide column tables I have found batch get and put very useful for larger number of operations. I assume putting a lot of documents at once can be optimized setting TableOption.BUFFERWRITE to true together with Table.flush(). But for batch get, is there any other way than constructing QueryCondition containing a lot of .or().is().is()....close()? If I go this way, than I don't know which document IDs from the input were not in the table (would return null) without doing some extra logic on the retrieved documents (e.g. putting in a set).

Outcomes