Class FieldUpdatesBuffer.BufferedUpdate

java.lang.Object
org.apache.lucene.index.FieldUpdatesBuffer.BufferedUpdate
Enclosing class:
FieldUpdatesBuffer

static class FieldUpdatesBuffer.BufferedUpdate extends 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
    a binary value or null if this buffer holds numeric updates
    (package private) int
    the max document ID this update should be applied to
    (package private) boolean
    true if this update has a value
    (package private) long
    a numeric value or 0 if this buffer holds binary updates
    (package private) String
    The update terms field.
    (package private) BytesRef
    The update terms value.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

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

    • 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

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

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

    • BufferedUpdate

      private BufferedUpdate()
  • Method Details