Module org.apache.lucene.core
Class Lucene90DocValuesConsumer.MinMaxTracker
- java.lang.Object
-
- org.apache.lucene.codecs.lucene90.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.
-
-
-
Method Detail
-
reset
private void reset()
-
update
void update(long v)
Accumulate a new value.
-
update
void update(Lucene90DocValuesConsumer.MinMaxTracker other)
Accumulate state from another tracker.
-
finish
void finish()
Update the required space.
-
nextBlock
void nextBlock()
Update space usage and get ready for accumulating values for the next block.
-
-