Class FieldUpdatesBuffer.BufferedUpdate

  • Enclosing class:
    FieldUpdatesBuffer

    static class FieldUpdatesBuffer.BufferedUpdate
    extends java.lang.Object
    Struct like class that is used to iterate over all updates in this buffer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) BytesRef binaryValue
      a binary value or null if this buffer holds numeric updates
      (package private) int docUpTo
      the max document ID this update should be applied to
      (package private) boolean hasValue
      true if this update has a value
      (package private) long numericValue
      a numeric value or 0 if this buffer holds binary updates
      (package private) java.lang.String termField
      The update terms field.
      (package private) BytesRef termValue
      The update terms value.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BufferedUpdate()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • docUpTo

        int docUpTo
        the max document ID this update should be applied to
      • numericValue

        long numericValue
        a numeric value or 0 if this buffer holds binary updates
      • binaryValue

        BytesRef binaryValue
        a binary value or null if this buffer holds numeric updates
      • hasValue

        boolean hasValue
        true if this update has a value
      • termField

        java.lang.String termField
        The update terms field. This will never be null.
      • termValue

        BytesRef termValue
        The update terms value. This will never be null.
    • Constructor Detail

      • BufferedUpdate

        private BufferedUpdate()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object