Package com.yahoo.document.update
Class RemoveValueUpdate
java.lang.Object
com.yahoo.document.update.ValueUpdate
com.yahoo.document.update.RemoveValueUpdate
Value update representing a removal of a value (and its associated weight, if any) from a multi-valued data type.
Deprecated: Use RemoveFieldPathUpdate instead.- Author:
- Einar M R Rosenvinge
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.document.update.ValueUpdate
ValueUpdate.ValueUpdateClassID -
Field Summary
FieldsFields inherited from class com.yahoo.document.update.ValueUpdate
valueUpdateClassID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyTo(FieldValue fval) protected voidcheckCompatibility(DataType fieldType) booleangetValue()Sets the key this should removeinthashCode()voidserialize(DocumentUpdateWriter data, DataType superType) voidsetValue(FieldValue value) Sets the value of this.toString()Methods inherited from class com.yahoo.document.update.ValueUpdate
createAdd, createAdd, createAddAll, createAddAll, createAssign, createClear, createDecrement, createDecrement, createDivide, createDivide, createIncrement, createIncrement, createMap, createMultiply, createMultiply, createRemove, createRemoveAll, createRemoveAll, getValueUpdateClassID
-
Field Details
-
value
-
-
Constructor Details
-
RemoveValueUpdate
-
-
Method Details
-
getValue
Sets the key this should remove- Specified by:
getValuein classValueUpdate
-
setValue
Description copied from class:ValueUpdateSets the value of this. Ignored by update who have no value- Specified by:
setValuein classValueUpdate
-
applyTo
- Specified by:
applyToin classValueUpdate
-
checkCompatibility
- Specified by:
checkCompatibilityin classValueUpdate
-
serialize
- Specified by:
serializein classValueUpdate
-
equals
- Overrides:
equalsin classValueUpdate
-
hashCode
public int hashCode()- Overrides:
hashCodein classValueUpdate
-
toString
- Overrides:
toStringin classValueUpdate
-