Package com.yahoo.vespa.indexinglanguage
Class FieldUpdateHelper
java.lang.Object
com.yahoo.vespa.indexinglanguage.FieldUpdateHelper
- Author:
- Simon Thoresen Hult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyUpdate(com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update, com.yahoo.document.Document doc) static booleanisFieldValues(com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update) Returns true if this update can be represented as a set of document field values.static com.yahoo.document.DocumentnewPartialDocument(com.yahoo.document.DocumentType docType, com.yahoo.document.DocumentId docId, com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update)
-
Constructor Details
-
FieldUpdateHelper
public FieldUpdateHelper()
-
-
Method Details
-
isFieldValues
public static boolean isFieldValues(com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update) Returns true if this update can be represented as a set of document field values. -
applyUpdate
public static void applyUpdate(com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update, com.yahoo.document.Document doc) -
newPartialDocument
public static com.yahoo.document.Document newPartialDocument(com.yahoo.document.DocumentType docType, com.yahoo.document.DocumentId docId, com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update)
-