Class DocIdsWriter


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

      • DocIdsWriter

        private DocIdsWriter()
    • Method Detail

      • writeDocIds

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

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

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

        static <T> void readInts32​(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