Class FieldUpdateHelper

java.lang.Object
com.yahoo.vespa.indexinglanguage.FieldUpdateHelper

public abstract class FieldUpdateHelper extends Object
Author:
Simon Thoresen Hult
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    applyUpdate(com.yahoo.document.Field field, com.yahoo.document.update.ValueUpdate update, com.yahoo.document.Document doc)
     
    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.
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)