Class DocIdsWriter


  • final class DocIdsWriter
    extends java.lang.Object
    • Constructor Detail

      • DocIdsWriter

        DocIdsWriter​(int maxPointsInLeaf)
    • Method Detail

      • writeDocIds

        void writeDocIds​(int[] docIds,
                         int start,
                         int count,
                         DataOutput out)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • writeIdsAsBitSet

        private static void writeIdsAsBitSet​(int[] docIds,
                                             int start,
                                             int count,
                                             DataOutput out)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readInts

        void readInts​(IndexInput in,
                      int count,
                      int[] docIDs)
               throws java.io.IOException
        Read count integers into docIDs.
        Throws:
        java.io.IOException
      • readBitSetIterator

        private static DocIdSetIterator readBitSetIterator​(IndexInput in,
                                                           int count)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readContinuousIds

        private static void readContinuousIds​(IndexInput in,
                                              int count,
                                              int[] docIDs)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • readLegacyDeltaVInts

        private static void readLegacyDeltaVInts​(IndexInput in,
                                                 int count,
                                                 int[] docIDs)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • readBitSet

        private static void readBitSet​(IndexInput in,
                                       int count,
                                       int[] docIDs)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readDelta16

        private static void readDelta16​(IndexInput in,
                                        int count,
                                        int[] docIDs)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • readInts24

        private static void readInts24​(IndexInput in,
                                       int count,
                                       int[] docIDs)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readInts32

        private static void readInts32​(IndexInput in,
                                       int count,
                                       int[] docIDs)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readLegacyDeltaVInts

        private static void readLegacyDeltaVInts​(IndexInput in,
                                                 int count,
                                                 PointValues.IntersectVisitor visitor)
                                          throws java.io.IOException
        Throws:
        java.io.IOException