public abstract class FieldPathUpdate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldPathUpdate.Type |
Modifier and Type | Field and Description |
---|---|
private DocumentType |
docType |
private FieldPath |
fieldPath |
private String |
originalFieldPath |
private DocumentSelector |
selector |
private FieldPathUpdate.Type |
updType |
private String |
whereClause |
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() |
(package private) abstract FieldPathIteratorHandler |
getIteratorHandler(Document doc) |
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() |
private FieldPath fieldPath
private DocumentSelector selector
private String originalFieldPath
private String whereClause
private FieldPathUpdate.Type updType
private DocumentType docType
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)
abstract FieldPathIteratorHandler getIteratorHandler(Document doc)
Copyright © 2018. All rights reserved.