Class AddFieldPathUpdate
- java.lang.Object
-
- com.yahoo.document.fieldpathupdate.FieldPathUpdate
-
- com.yahoo.document.fieldpathupdate.AddFieldPathUpdate
-
public class AddFieldPathUpdate extends FieldPathUpdate
- Author:
- Thomas Gundersen
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.document.fieldpathupdate.FieldPathUpdate
FieldPathUpdate.Type
-
-
Constructor Summary
Constructors Constructor Description AddFieldPathUpdate(DocumentType type, DocumentUpdateReader reader)
AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath)
AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath, Array newValues)
AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath, java.lang.String whereClause, Array newValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
FieldPathIteratorHandler
getIteratorHandler(Document doc)
Array
getNewValues()
int
hashCode()
void
serialize(VespaDocumentSerializer6 data)
void
setNewValues(Array value)
java.lang.String
toString()
-
Methods inherited from class com.yahoo.document.fieldpathupdate.FieldPathUpdate
applyTo, create, getDocumentType, getFieldPath, getOriginalFieldPath, getOriginalWhereClause, getUpdateType, getWhereClause, setFieldPath, setWhereClause
-
-
-
-
Constructor Detail
-
AddFieldPathUpdate
public AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath, java.lang.String whereClause, Array newValues)
-
AddFieldPathUpdate
public AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath, Array newValues)
-
AddFieldPathUpdate
public AddFieldPathUpdate(DocumentType type, DocumentUpdateReader reader)
-
AddFieldPathUpdate
public AddFieldPathUpdate(DocumentType type, java.lang.String fieldPath)
-
-
Method Detail
-
setNewValues
public void setNewValues(Array value)
-
getNewValues
public Array getNewValues()
-
getIteratorHandler
public FieldPathIteratorHandler getIteratorHandler(Document doc)
-
serialize
public void serialize(VespaDocumentSerializer6 data)
- Overrides:
serialize
in classFieldPathUpdate
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classFieldPathUpdate
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFieldPathUpdate
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFieldPathUpdate
-
-