public abstract class FieldPathUpdate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldPathUpdate.Type |
Constructor and Description |
---|
FieldPathUpdate(FieldPathUpdate.Type updType,
DocumentType docType) |
FieldPathUpdate(FieldPathUpdate.Type updType,
DocumentType docType,
DocumentUpdateReader reader) |
FieldPathUpdate(FieldPathUpdate.Type updType,
DocumentType docType,
String fieldPath,
String whereClause) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(Document doc) |
static FieldPathUpdate |
create(FieldPathUpdate.Type type,
DocumentType docType,
DocumentUpdateReader reader) |
boolean |
equals(Object o) |
DocumentType |
getDocumentType() |
FieldPath |
getFieldPath() |
String |
getOriginalFieldPath() |
String |
getOriginalWhereClause() |
FieldPathUpdate.Type |
getUpdateType() |
DocumentSelector |
getWhereClause() |
int |
hashCode() |
void |
serialize(VespaDocumentSerializerHead data) |
void |
setFieldPath(String fieldPath) |
void |
setWhereClause(String whereClause) |
String |
toString() |
public FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType, String fieldPath, String whereClause)
public FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType, DocumentUpdateReader reader)
public FieldPathUpdate(FieldPathUpdate.Type updType, DocumentType docType)
public FieldPathUpdate.Type getUpdateType()
public DocumentType getDocumentType()
public void setFieldPath(String fieldPath)
public FieldPath getFieldPath()
public String getOriginalFieldPath()
public void setWhereClause(String whereClause) throws ParseException
ParseException
public DocumentSelector getWhereClause()
public String getOriginalWhereClause()
public void applyTo(Document doc)
public void serialize(VespaDocumentSerializerHead data)
public static FieldPathUpdate create(FieldPathUpdate.Type type, DocumentType docType, DocumentUpdateReader reader)
Copyright © 2018. All rights reserved.