Class CheckIndex.VerifyPointsVisitor

    • Field Detail

      • pointCountSeen

        private long pointCountSeen
      • lastDocID

        private int lastDocID
      • maxDoc

        private final int maxDoc
      • lastMinPackedValue

        private final byte[] lastMinPackedValue
      • lastMaxPackedValue

        private final byte[] lastMaxPackedValue
      • lastPackedValue

        private final byte[] lastPackedValue
      • globalMinPackedValue

        private final byte[] globalMinPackedValue
      • globalMaxPackedValue

        private final byte[] globalMaxPackedValue
      • packedBytesCount

        private final int packedBytesCount
      • packedIndexBytesCount

        private final int packedIndexBytesCount
      • numDataDims

        private final int numDataDims
      • numIndexDims

        private final int numIndexDims
      • bytesPerDim

        private final int bytesPerDim
      • fieldName

        private final java.lang.String fieldName
    • Constructor Detail

      • VerifyPointsVisitor

        public VerifyPointsVisitor​(java.lang.String fieldName,
                                   int maxDoc,
                                   PointValues values)
                            throws java.io.IOException
        Sole constructor
        Throws:
        java.io.IOException
    • Method Detail

      • getPointCountSeen

        public long getPointCountSeen()
        Returns total number of points in this BKD tree
      • getDocCountSeen

        public long getDocCountSeen()
        Returns total number of unique docIDs in this BKD tree
      • visit

        public void visit​(int docID,
                          byte[] packedValue)
        Description copied from interface: PointValues.IntersectVisitor
        Called for all documents in a leaf cell that crosses the query. The consumer should scrutinize the packedValue to decide whether to accept it. In the 1D case, values are visited in increasing order, and in the case of ties, in increasing docID order.
        Specified by:
        visit in interface PointValues.IntersectVisitor
      • checkPackedValue

        private void checkPackedValue​(java.lang.String desc,
                                      byte[] packedValue,
                                      int docID)