
com.yahoo.document.serialization.DocumentUpdateReader Maven / Gradle / Ivy
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.serialization;
import com.yahoo.document.*;
import com.yahoo.document.fieldpathupdate.*;
import com.yahoo.document.update.FieldUpdate;
/**
* This interface is used to implement custom deserialization of document updates.
*
* @author Thomas Gundersen
*/
public interface DocumentUpdateReader {
void read(DocumentUpdate update);
void read(FieldUpdate update);
void read(FieldPathUpdate update);
void read(AssignFieldPathUpdate update);
void read(AddFieldPathUpdate update);
void read(RemoveFieldPathUpdate update);
DocumentId readDocumentId();
DocumentType readDocumentType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy