com.cloudera.sqoop.manager
Class ExportJobContext

java.lang.Object
  extended by com.cloudera.sqoop.manager.ExportJobContext

public class ExportJobContext
extends java.lang.Object

A set of parameters describing an export operation; this is passed to ConnManager.exportTable() as its argument.


Constructor Summary
ExportJobContext(java.lang.String table, java.lang.String jar, SqoopOptions opts)
           
 
Method Summary
 java.lang.String getJarFile()
           
 SqoopOptions getOptions()
           
 java.lang.String getTableName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportJobContext

public ExportJobContext(java.lang.String table,
                        java.lang.String jar,
                        SqoopOptions opts)
Method Detail

getTableName

public java.lang.String getTableName()
Returns:
the name of the table to export.

getJarFile

public java.lang.String getJarFile()
Returns:
the name of the jar file containing the user's compiled ORM classes to use during the export.

getOptions

public SqoopOptions getOptions()
Returns:
the SqoopOptions configured by the user


Copyright © 2010 Cloudera, Inc.