public static String load ( LoadConfiguration config , String prefix ) { if ( config . getMode ( ) == Mode . INSERT ) { return loadInsert ( config , prefix ) ; } else if ( config . getMode ( ) == Mode . UPDATE ) { return loadUpdate ( config , prefix ) ; } throw new IllegalArgumentException ( "Unsupported mode " + config . getMode ( ) ) ; }
Builds sql clause to load data into a database .