Class Lucene90DocValuesConsumer.MinMaxTracker

  • Enclosing class:
    Lucene90DocValuesConsumer

    private static class Lucene90DocValuesConsumer.MinMaxTracker
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long max  
      (package private) long min  
      (package private) long numValues  
      (package private) long spaceInBits  
    • Constructor Summary

      Constructors 
      Constructor Description
      MinMaxTracker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void finish()
      Update the required space.
      (package private) void nextBlock()
      Update space usage and get ready for accumulating values for the next block.
      private void reset()  
      (package private) void update​(long v)
      Accumulate a new value.
      (package private) void update​(Lucene90DocValuesConsumer.MinMaxTracker other)
      Accumulate state from another tracker.
      • Methods inherited from class java.lang.Object

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

      • min

        long min
      • max

        long max
      • numValues

        long numValues
      • spaceInBits

        long spaceInBits
    • Constructor Detail

      • MinMaxTracker

        MinMaxTracker()
    • Method Detail

      • reset

        private void reset()
      • update

        void update​(long v)
        Accumulate a new value.
      • finish

        void finish()
        Update the required space.
      • nextBlock

        void nextBlock()
        Update space usage and get ready for accumulating values for the next block.