Class FieldIterablePosting

    • Constructor Detail

      • FieldIterablePosting

        public FieldIterablePosting​(int _fieldCount)
        contructor
        Parameters:
        _fieldCount -
      • FieldIterablePosting

        public FieldIterablePosting​(BitIn fileReader,
                                    int entries,
                                    DocumentIndex _doi,
                                    int _fieldCount)
                             throws java.io.IOException
        constructor
        Parameters:
        fileReader -
        entries -
        _doi -
        _fieldCount -
        Throws:
        java.io.IOException
    • Method Detail

      • setFieldLengths

        public void setFieldLengths​(int[] fl)
        . This operation is unsupported.
        Specified by:
        setFieldLengths in interface FieldPosting
      • readFields

        public void readFields​(java.io.DataInput in)
                        throws java.io.IOException
        Read this posting from specified inputstream
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Overrides:
        readFields in class BasicPostingImpl
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Write this posting to specified outputstream
        Specified by:
        write in interface org.apache.hadoop.io.Writable
        Overrides:
        write in class BasicPostingImpl
        Throws:
        java.io.IOException