title: How to execute sqoop commands using the sqoop api?
body: <p>I know how to executed import, import-all-tables and other commands from the command line.</p>
  
  <p>Is there a Java API for sqoop 1.4.2 such that I could excecute those commands directly from the command line? And if yes, how?</p>
  
  <p>A link to the sqoop Java docs or a simple example would be very helpful!</p>