Metaspace.Space.compareAndPutAll()

Signature

Object compareAndPutAll (String spaceName, Object compareTuples, Object updateTuples, Object ... varags)

Domain

ACTION

Description

Batch compareAndPut operation.

Parameters

NameTypeDescription
spaceNameStringThe space name specified must be prefixed with the Metaspace name. Example ms.S1
compareTuplesObjectThe tuple to be compared
updateTuplesObjectThe tuple to be replaced if the comparison is true.
varargsObjectOptional PutOptions specified

Returns

TypeDescription
ObjectList containing the result of each compareAndPut

Cautions

none