Package com.yahoo.docproc.proxy
Class ProxyDocumentUpdate
java.lang.Object
com.yahoo.document.DocumentOperation
com.yahoo.document.DocumentUpdate
com.yahoo.docproc.proxy.ProxyDocumentUpdate
- All Implemented Interfaces:
DocumentOperationWrapper,Iterable<com.yahoo.document.fieldpathupdate.FieldPathUpdate>
public class ProxyDocumentUpdate
extends com.yahoo.document.DocumentUpdate
implements DocumentOperationWrapper
Schema mapped facade to a DocumentUpdate
- Author:
- vegardh
-
Field Summary
Fields inherited from class com.yahoo.document.DocumentUpdate
CLASSID -
Constructor Summary
ConstructorsConstructorDescriptionProxyDocumentUpdate(com.yahoo.document.DocumentUpdate docUpd, Map<String, String> fieldMap) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.document.DocumentUpdateaddFieldUpdate(com.yahoo.document.update.FieldUpdate fieldUpdate) com.yahoo.document.DocumentUpdateapplyTo(com.yahoo.document.Document doc) booleanCollection<com.yahoo.document.update.FieldUpdate>com.yahoo.document.DocumentTypecom.yahoo.document.update.FieldUpdategetFieldUpdate(com.yahoo.document.Field field) com.yahoo.document.update.FieldUpdategetFieldUpdate(String fieldName) com.yahoo.document.DocumentIdgetId()com.yahoo.document.DocumentTypegetType()com.yahoo.document.DocumentOperationinthashCode()voidserialize(com.yahoo.document.serialization.DocumentUpdateWriter data) intsize()toString()Methods inherited from class com.yahoo.document.DocumentUpdate
addAll, addFieldPathUpdate, addFieldUpdates, clearFieldUpdates, fieldPathUpdates, getCreateIfNonExistent, getOptionalCreateIfNonExistent, isEmpty, iterator, prune, removeFieldUpdate, removeFieldUpdate, serialize, setCreateIfNonExistent, setDocumentType, setFieldUpdates, setFieldUpdates, setIdMethods inherited from class com.yahoo.document.DocumentOperation
getCondition, setConditionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ProxyDocumentUpdate
-
-
Method Details
-
getDocumentType
public com.yahoo.document.DocumentType getDocumentType()- Overrides:
getDocumentTypein classcom.yahoo.document.DocumentUpdate
-
getFieldUpdate
public com.yahoo.document.update.FieldUpdate getFieldUpdate(com.yahoo.document.Field field) - Overrides:
getFieldUpdatein classcom.yahoo.document.DocumentUpdate
-
getFieldUpdate
- Overrides:
getFieldUpdatein classcom.yahoo.document.DocumentUpdate
-
fieldUpdates
- Overrides:
fieldUpdatesin classcom.yahoo.document.DocumentUpdate
-
getId
public com.yahoo.document.DocumentId getId()- Overrides:
getIdin classcom.yahoo.document.DocumentUpdate
-
getType
public com.yahoo.document.DocumentType getType()- Overrides:
getTypein classcom.yahoo.document.DocumentUpdate
-
addFieldUpdate
public com.yahoo.document.DocumentUpdate addFieldUpdate(com.yahoo.document.update.FieldUpdate fieldUpdate) - Overrides:
addFieldUpdatein classcom.yahoo.document.DocumentUpdate
-
applyTo
public com.yahoo.document.DocumentUpdate applyTo(com.yahoo.document.Document doc) - Overrides:
applyToin classcom.yahoo.document.DocumentUpdate
-
equals
- Overrides:
equalsin classcom.yahoo.document.DocumentUpdate
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.yahoo.document.DocumentUpdate
-
serialize
public void serialize(com.yahoo.document.serialization.DocumentUpdateWriter data) - Overrides:
serializein classcom.yahoo.document.DocumentUpdate
-
size
public int size()- Overrides:
sizein classcom.yahoo.document.DocumentUpdate
-
toString
- Overrides:
toStringin classcom.yahoo.document.DocumentUpdate
-
getWrappedDocumentOperation
public com.yahoo.document.DocumentOperation getWrappedDocumentOperation()- Specified by:
getWrappedDocumentOperationin interfaceDocumentOperationWrapper
-