Class Tr3BlockFieldLexiconEntry

    • Field Detail

      • fieldFrequencies

        protected final int[] fieldFrequencies
        Deprecated.
      • blockCount

        protected int blockCount
        Deprecated.
    • Constructor Detail

      • Tr3BlockFieldLexiconEntry

        public Tr3BlockFieldLexiconEntry​(int fieldCount)
        Deprecated.
        Constructs an instance of the class with
        Parameters:
        fieldCount -
      • Tr3BlockFieldLexiconEntry

        public Tr3BlockFieldLexiconEntry​(int[] _fieldFrequencies,
                                         int _blockCount)
        Deprecated.
        Construct an instance of the class with
        Parameters:
        _fieldFrequencies -
        _blockCount -
    • Method Detail

      • getFieldFrequencies

        public int[] getFieldFrequencies()
        Deprecated.
        Return the frequencies (total numbers of occurrences) of the term for each field.
        Specified by:
        getFieldFrequencies in interface FieldEntryStatistics
        Returns:
        the frequencies (total numbers of occurrences) of the term for each field.
      • setFieldFrequencies

        public void setFieldFrequencies​(int[] _fieldFrequencices)
        Deprecated.
        Sets the frequencies for each field
      • 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
      • getBlockCount

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