Class FieldPathUpdate
- java.lang.Object
-
- com.yahoo.document.fieldpathupdate.FieldPathUpdate
-
- Direct Known Subclasses:
AddFieldPathUpdate
,AssignFieldPathUpdate
,RemoveFieldPathUpdate
public abstract class FieldPathUpdate extends java.lang.Object
- Author:
- Thomas Gundersen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldPathUpdate.Type
-
Constructor Summary
Constructors Constructor Description FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType)
FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType, DocumentUpdateReader reader)
FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType, java.lang.String fieldPath, java.lang.String whereClause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo(Document doc)
static FieldPathUpdate
create(FieldPathUpdate.Type type, DocumentType docType, DocumentUpdateReader reader)
boolean
equals(java.lang.Object o)
DocumentType
getDocumentType()
FieldPath
getFieldPath()
java.lang.String
getOriginalFieldPath()
java.lang.String
getOriginalWhereClause()
FieldPathUpdate.Type
getUpdateType()
com.yahoo.document.select.DocumentSelector
getWhereClause()
int
hashCode()
void
serialize(VespaDocumentSerializer6 data)
void
setFieldPath(java.lang.String fieldPath)
void
setWhereClause(java.lang.String whereClause)
java.lang.String
toString()
-
-
-
Constructor Detail
-
FieldPathUpdate
public FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType, java.lang.String fieldPath, java.lang.String whereClause)
-
FieldPathUpdate
public FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType, DocumentUpdateReader reader)
-
FieldPathUpdate
public FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType)
-
-
Method Detail
-
getUpdateType
public FieldPathUpdate.Type getUpdateType()
-
getDocumentType
public DocumentType getDocumentType()
-
setFieldPath
public void setFieldPath(java.lang.String fieldPath)
-
getFieldPath
public FieldPath getFieldPath()
-
getOriginalFieldPath
public java.lang.String getOriginalFieldPath()
-
setWhereClause
public void setWhereClause(java.lang.String whereClause) throws com.yahoo.document.select.parser.ParseException
- Throws:
com.yahoo.document.select.parser.ParseException
-
getWhereClause
public com.yahoo.document.select.DocumentSelector getWhereClause()
-
getOriginalWhereClause
public java.lang.String getOriginalWhereClause()
-
applyTo
public void applyTo(Document doc)
-
serialize
public void serialize(VespaDocumentSerializer6 data)
-
create
public static FieldPathUpdate create(FieldPathUpdate.Type type, DocumentType docType, DocumentUpdateReader reader)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-