Review Board 1.7.22


SQOOP-953 Sqoop2: Integration: Schema support

Review Request #10098 - Created March 24, 2013 and submitted

Jarek Cecho
SQOOP-953
Reviewers
Sqoop
sqoop-sqoop2
I've added new method to DatabaseProvider to check out if the provider do support schemes.
Tests seems to be passing.
test/src/main/java/org/apache/sqoop/test/db/DatabaseProvider.java
Revision dce1043ac17a7d845018826028a231acea3d4b86 New Change
[20] 101 lines
[+20]
102
   */
102
   */
103
  public String nullConstant() {
103
  public String nullConstant() {
104
    return "NULL";
104
    return "NULL";
105
  }
105
  }
106

    
   
106

   

    
   
107
  /**

    
   
108
   * True if the underlying database supports custom schemes (namespaces).

    
   
109
   *

    
   
110
   * @return

    
   
111
   */

    
   
112
  public boolean isSupportingScheme() {

    
   
113
    return false;

    
   
114
  }

    
   
115

   
107
  public String getJdbcDriver() {
116
  public String getJdbcDriver() {
108
    return null;
117
    return null;
109
  }
118
  }
110

    
   
119

   
111
  /**
120
  /**
[+20] [20] 171 lines
test/src/main/java/org/apache/sqoop/test/db/DerbyProvider.java
Revision aa6b897d113687464b139d2d72dc0e236cb1527f New Change
 
test/src/main/java/org/apache/sqoop/test/db/PostgreSQLProvider.java
Revision 32597688de9b0d3e37efa4c5a5ce7b1baa87fa99 New Change
 
test/src/main/java/org/apache/sqoop/test/db/SqlServerProvider.java
Revision 35b6ef39e1f2fff3138d877a484c70d7297f215c New Change
 
  1. test/src/main/java/org/apache/sqoop/test/db/DatabaseProvider.java: Loading...
  2. test/src/main/java/org/apache/sqoop/test/db/DerbyProvider.java: Loading...
  3. test/src/main/java/org/apache/sqoop/test/db/PostgreSQLProvider.java: Loading...
  4. test/src/main/java/org/apache/sqoop/test/db/SqlServerProvider.java: Loading...