Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1705 SQOOP2: Support AVRO as a an implementation for the IDF interface
  3. SQOOP-1900

Fix the SqoopWritable read/ write method to delegate the toIDF methods

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.99.5
    • sqoop2-framework
    • None

    Description

      At this point I am not clear what the real use of the following 2 methods are in the IDF API. Can anyone explain? I have not seen it used anywhere in the code I might be missing something

        /**
         * Serialize the fields of this object to <code>out</code>.
         *
         * @param out <code>DataOuput</code> to serialize this object into.
         * @throws IOException
         */
        public abstract void write(DataOutput out) throws IOException;
      
        /**
         * Deserialize the fields of this object from <code>in</code>.
         *
         * <p>For efficiency, implementations should attempt to re-use storage in the
         * existing object where possible.</p>
         *
         * @param in <code>DataInput</code> to deseriablize this object from.
         * @throws IOException
         */
        public abstract void read(DataInput in) throws IOException;
      
      

      Attachments

        1. SQOOP-1900.patch
          1 kB
          Veena Basavaraj

        Activity

          People

            vybs Veena Basavaraj
            vybs Veena Basavaraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: