Class FieldDocumentIndexEntry

    • Field Detail

      • fieldLengths

        protected int[] fieldLengths
    • Constructor Detail

      • FieldDocumentIndexEntry

        public FieldDocumentIndexEntry()
        Constructs an instance of the class.
      • FieldDocumentIndexEntry

        public FieldDocumentIndexEntry​(DocumentIndexEntry die)
        Constructs an instance of the class with
        Parameters:
        die -
      • FieldDocumentIndexEntry

        public FieldDocumentIndexEntry​(int fieldCount)
        Constructs an instance of the class with
        Parameters:
        fieldCount -
    • Method Detail

      • getFieldLengths

        public int[] getFieldLengths()
        Get the lengths of each field
      • setFieldLengths

        public void setFieldLengths​(int[] f_lens)
        Set the lengths of each field
      • readFields

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

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