Interface NumericFieldWriter.OffsetsConsumer

Enclosing interface:
NumericFieldWriter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface NumericFieldWriter.OffsetsConsumer
Accepts per-doc value counts for sorted-numeric offset tracking.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(int docValueCount)
    Accepts the value count for a single document.
  • Method Details

    • accept

      void accept(int docValueCount) throws IOException
      Accepts the value count for a single document.
      Parameters:
      docValueCount - the number of values for this document
      Throws:
      IOException