Class MapValueUpdate

java.lang.Object
com.yahoo.document.update.ValueUpdate
com.yahoo.document.update.MapValueUpdate

public class MapValueUpdate extends ValueUpdate

Value update that represents performing an encapsulated value update on a subvalue. Currently, there are two multi-value data types in Vespa, array and weighted set.

  • For an array, the value must be an Integer, and the update must represent a legal operation on the subtype of the array.
  • For a weighted set, the value must be a key of the same type as the subtype of the weighted set, and the update must represent a legal operation on an integer value.
Author:
Einar M R Rosenvinge