Review Board 1.7.22


Fix for SQOOP-840

Review Request #9058 - Created Jan. 22, 2013 and updated

Venkat Ranganathan
trunk
SQOOP-840
Reviewers
Sqoop
jarcec
sqoop-trunk
Fix generics usage so that the classes have right generics declarations - Otherwise, some of the classees show up with errors when using eclipse
Ran all existing unit tests - No new functionality added so no new tests 
src/java/com/cloudera/sqoop/mapreduce/ExportOutputFormat.java
Revision 48c352b New Change
[20] 27 lines
[+20]
28
 */
28
 */
29
public class ExportOutputFormat<K extends SqoopRecord, V>
29
public class ExportOutputFormat<K extends SqoopRecord, V>
30
    extends org.apache.sqoop.mapreduce.ExportOutputFormat<K, V> {
30
    extends org.apache.sqoop.mapreduce.ExportOutputFormat<K, V> {
31

    
   
31

   
32
  /** {@inheritDoc}. **/
32
  /** {@inheritDoc}. **/
33
  public class ExportRecordWriter extends
33
  public class ExportRecordWriter<K extends SqoopRecord, V> extends
34
    org.apache.sqoop.mapreduce.ExportOutputFormat<K, V>.ExportRecordWriter {
34
    org.apache.sqoop.mapreduce.ExportOutputFormat<K, V>.ExportRecordWriter {
35

    
   
35

   
36
    public ExportRecordWriter(TaskAttemptContext context)
36
    public ExportRecordWriter(TaskAttemptContext context)
37
      throws ClassNotFoundException, SQLException {
37
      throws ClassNotFoundException, SQLException {
38
      super(context);
38
      super(context);
39
    }
39
    }
40
  }
40
  }
41
}
41
}
src/java/org/apache/sqoop/mapreduce/ExportBatchOutputFormat.java
Revision 20fc844 New Change
 
src/java/org/apache/sqoop/mapreduce/OracleExportOutputFormat.java
Revision 8e9cf1d New Change
 
src/java/org/apache/sqoop/mapreduce/SQLServerExportOutputFormat.java
Revision 1b39519 New Change
 
src/java/org/apache/sqoop/mapreduce/sqlserver/SqlServerExportBatchOutputFormat.java
Revision f47d475 New Change
 
  1. src/java/com/cloudera/sqoop/mapreduce/ExportOutputFormat.java: Loading...
  2. src/java/org/apache/sqoop/mapreduce/ExportBatchOutputFormat.java: Loading...
  3. src/java/org/apache/sqoop/mapreduce/OracleExportOutputFormat.java: Loading...
  4. src/java/org/apache/sqoop/mapreduce/SQLServerExportOutputFormat.java: Loading...
  5. src/java/org/apache/sqoop/mapreduce/sqlserver/SqlServerExportBatchOutputFormat.java: Loading...