Class SegmentTermsEnum.OutputAccumulator

java.lang.Object
org.apache.lucene.store.DataInput
org.apache.lucene.codecs.lucene90.blocktree.SegmentTermsEnum.OutputAccumulator
All Implemented Interfaces:
Cloneable
Enclosing class:
SegmentTermsEnum

static class SegmentTermsEnum.OutputAccumulator extends DataInput
  • Field Details

    • outputs

      BytesRef[] outputs
    • current

      BytesRef current
    • num

      int num
    • outputIndex

      int outputIndex
    • index

      int index
  • Constructor Details

    • OutputAccumulator

      OutputAccumulator()
  • Method Details

    • push

      void push(BytesRef output)
    • pop

      void pop(BytesRef output)
    • pop

      void pop(int cnt)
    • outputCount

      int outputCount()
    • reset

      void reset()
    • prepareRead

      void prepareRead()
    • setFloorData

      void setFloorData(ByteArrayDataInput floorData)
      Set the last arc as the source of the floorData. This won't change the reading position of this SegmentTermsEnum.OutputAccumulator
    • readByte

      public byte readByte() throws IOException
      Description copied from class: DataInput
      Reads and returns a single byte.
      Specified by:
      readByte in class DataInput
      Throws:
      IOException
      See Also:
    • readBytes

      public void readBytes(byte[] b, int offset, int len) throws IOException
      Description copied from class: DataInput
      Reads a specified number of bytes into an array at the specified offset.
      Specified by:
      readBytes in class DataInput
      Parameters:
      b - the array to read bytes into
      offset - the offset in the array to start storing bytes
      len - the number of bytes to read
      Throws:
      IOException
      See Also:
    • skipBytes

      public void skipBytes(long numBytes) throws IOException
      Description copied from class: DataInput
      Skip over numBytes bytes. This method may skip bytes in whatever way is most optimal, and may not have the same behavior as reading the skipped bytes. In general, negative numBytes are not supported.
      Specified by:
      skipBytes in class DataInput
      Throws:
      IOException