Class Tr3BlockLexiconEntry

    • Constructor Detail

      • Tr3BlockLexiconEntry

        public Tr3BlockLexiconEntry()
        Deprecated.
        Construct an instance of the class.
      • Tr3BlockLexiconEntry

        public Tr3BlockLexiconEntry​(int tid,
                                    int n_t,
                                    int TF,
                                    byte fileId,
                                    BitFilePosition offset,
                                    int _blockCount)
        Deprecated.
        Construct an instance of the class with
        Parameters:
        tid -
        n_t -
        TF -
        fileId -
        offset -
        _blockCount -
      • Tr3BlockLexiconEntry

        public Tr3BlockLexiconEntry​(int tid,
                                    int n_t,
                                    int TF,
                                    byte fileId,
                                    long _startOffset,
                                    byte _startBitOffset,
                                    int _blockCount)
        Deprecated.
        Construct an instance of the class with
        Parameters:
        tid -
        n_t -
        TF -
        fileId -
        _startOffset -
        _startBitOffset -
        _blockCount -
      • Tr3BlockLexiconEntry

        public Tr3BlockLexiconEntry​(int tid,
                                    int n_t,
                                    int TF,
                                    int _blockCount)
        Deprecated.
        Construct an instance of the class with
        Parameters:
        tid -
        n_t -
        TF -
        _blockCount -
    • Method Detail

      • getBlockCount

        public int getBlockCount()
        Deprecated.
        The number of blocks that this term has. Needed by the BlockInvertedIndexBuilder.
        Specified by:
        getBlockCount in interface BlockEntryStatistics
      • readFields

        public void readFields​(java.io.DataInput in)
                        throws java.io.IOException
        Deprecated.
        Description copied from class: Tr4BasicLexiconEntry
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Overrides:
        readFields in class Tr4BasicLexiconEntry
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Deprecated.
        Description copied from class: Tr4BasicLexiconEntry
        Specified by:
        write in interface org.apache.hadoop.io.Writable
        Overrides:
        write in class Tr4BasicLexiconEntry
        Throws:
        java.io.IOException
      • add

        public void add​(EntryStatistics le)
        Deprecated.
        increment this lexicon entry by another
        Specified by:
        add in interface EntryStatistics
        Overrides:
        add in class Tr4BasicLexiconEntry
        Parameters:
        le - the other object whose statistics are used to increment the statistics of this object.
      • subtract

        public void subtract​(EntryStatistics le)
        Deprecated.
        alter this lexicon entry to subtract another lexicon entry
        Specified by:
        subtract in interface EntryStatistics
        Overrides:
        subtract in class Tr4BasicLexiconEntry
        Parameters:
        le - the other object whose statistics are used to decrement the statistics of this object.