Class IDVersionSegmentTermsEnumFrame


  • final class IDVersionSegmentTermsEnumFrame
    extends java.lang.Object
    • Field Detail

      • ord

        final int ord
      • hasTerms

        boolean hasTerms
      • hasTermsOrig

        boolean hasTermsOrig
      • isFloor

        boolean isFloor
      • maxIDVersion

        long maxIDVersion
        Highest version of any term in this block.
      • fp

        long fp
      • fpOrig

        long fpOrig
      • fpEnd

        long fpEnd
      • suffixBytes

        byte[] suffixBytes
      • floorData

        byte[] floorData
      • prefix

        int prefix
      • entCount

        int entCount
      • nextEnt

        int nextEnt
      • isLastInFloor

        boolean isLastInFloor
      • isLeafBlock

        boolean isLeafBlock
      • lastSubFP

        long lastSubFP
      • nextFloorLabel

        int nextFloorLabel
      • numFollowFloorBlocks

        int numFollowFloorBlocks
      • metaDataUpto

        int metaDataUpto
      • longs

        public long[] longs
      • bytes

        public byte[] bytes
      • startBytePos

        private int startBytePos
      • suffix

        private int suffix
      • subCode

        private long subCode
    • Constructor Detail

      • IDVersionSegmentTermsEnumFrame

        public IDVersionSegmentTermsEnumFrame​(IDVersionSegmentTermsEnum ste,
                                              int ord)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getTermBlockOrd

        public int getTermBlockOrd()
      • loadNextFloorBlock

        void loadNextFloorBlock()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • loadBlock

        void loadBlock()
                throws java.io.IOException
        Throws:
        java.io.IOException
      • rewind

        void rewind()
      • next

        public boolean next()
      • nextLeaf

        public boolean nextLeaf()
      • nextNonLeaf

        public boolean nextNonLeaf()
      • scanToFloorFrame

        public void scanToFloorFrame​(BytesRef target)
      • decodeMetaData

        public void decodeMetaData()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • prefixMatches

        private boolean prefixMatches​(BytesRef target)
      • scanToSubBlock

        public void scanToSubBlock​(long subFP)
      • scanToTerm

        public TermsEnum.SeekStatus scanToTerm​(BytesRef target,
                                               boolean exactOnly)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • scanToTermLeaf

        public TermsEnum.SeekStatus scanToTermLeaf​(BytesRef target,
                                                   boolean exactOnly)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • scanToTermNonLeaf

        public TermsEnum.SeekStatus scanToTermNonLeaf​(BytesRef target,
                                                      boolean exactOnly)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • fillTerm

        private void fillTerm()