[ 
https://issues.apache.org/jira/browse/SQOOP-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Veena Basavaraj updated SQOOP-1929:
-----------------------------------
    Description: 
Mirror the functionality in Extractor that has API for rows read. It will be a 
new counter.

{code}

  /**
   * Return the number of rows read by the last call to
   * {@linkplain Extractor#extract(org.apache.sqoop.job.etl.ExtractorContext, 
java.lang.Object, java.lang.Object, Partition) }
   * method. This method returns only the number of rows read in the last call,
   * and not a cumulative total of the number of rows read by this Extractor
   * since its creation. If no calls were made to the run method, this method's
   * behavior is undefined.
   *
   * @return the number of rows read by the last call to
   * {@linkplain Extractor#extract(org.apache.sqoop.job.etl.ExtractorContext, 
java.lang.Object, java.lang.Object, Partition) }
   */
  public abstract long getRowsRead();

{code}

  was:Mirror the functionality in Extractor that has API for rows read. It will 
be a new counter.


> Add support to the Loader API to return number of records written
> -----------------------------------------------------------------
>
>                 Key: SQOOP-1929
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1929
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>
> Mirror the functionality in Extractor that has API for rows read. It will be 
> a new counter.
> {code}
>   /**
>    * Return the number of rows read by the last call to
>    * {@linkplain Extractor#extract(org.apache.sqoop.job.etl.ExtractorContext, 
> java.lang.Object, java.lang.Object, Partition) }
>    * method. This method returns only the number of rows read in the last 
> call,
>    * and not a cumulative total of the number of rows read by this Extractor
>    * since its creation. If no calls were made to the run method, this 
> method's
>    * behavior is undefined.
>    *
>    * @return the number of rows read by the last call to
>    * {@linkplain Extractor#extract(org.apache.sqoop.job.etl.ExtractorContext, 
> java.lang.Object, java.lang.Object, Partition) }
>    */
>   public abstract long getRowsRead();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to