Package com.yahoo.document.update
Class ClearValueUpdate
java.lang.Object
com.yahoo.document.update.ValueUpdate
com.yahoo.document.update.ClearValueUpdate
A value update that removes the current value of the field.
- Author:
- Einar M R Rosenvinge
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.document.update.ValueUpdate
ValueUpdate.ValueUpdateClassID -
Field Summary
Fields inherited from class com.yahoo.document.update.ValueUpdate
valueUpdateClassID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyTo(FieldValue fval) protected voidcheckCompatibility(DataType fieldType) getValue()Returns the primary "value" of this update, or null if this kind of update has no valuevoidserialize(DocumentUpdateWriter data, DataType superType) voidsetValue(FieldValue value) Sets the value of this.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, equals, getValueUpdateClassID, hashCode, toString
-
Constructor Details
-
ClearValueUpdate
public ClearValueUpdate()
-
-
Method Details
-
applyTo
- Specified by:
applyToin classValueUpdate
-
checkCompatibility
- Specified by:
checkCompatibilityin classValueUpdate
-
getValue
Description copied from class:ValueUpdateReturns the primary "value" of this update, or null if this kind of update has no value- 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
-
serialize
- Specified by:
serializein classValueUpdate
-