|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SqoopOptions in com.cloudera.sqoop |
---|
Methods in com.cloudera.sqoop that return SqoopOptions | |
---|---|
SqoopOptions |
Sqoop.getOptions()
|
Methods in com.cloudera.sqoop with parameters of type SqoopOptions | |
---|---|
ConnManager |
ConnFactory.getManager(SqoopOptions opts)
Factory method to get a ConnManager for the given JDBC connect string. |
Constructors in com.cloudera.sqoop with parameters of type SqoopOptions | |
---|---|
Sqoop(SqoopTool tool,
org.apache.hadoop.conf.Configuration conf,
SqoopOptions opts)
Creates a new instance of Sqoop set to run the supplied SqoopTool with the provided configuration and SqoopOptions. |
Uses of SqoopOptions in com.cloudera.sqoop.hive |
---|
Constructors in com.cloudera.sqoop.hive with parameters of type SqoopOptions | |
---|---|
HiveImport(SqoopOptions opts,
ConnManager connMgr,
org.apache.hadoop.conf.Configuration conf,
boolean generateOnly)
|
|
TableDefWriter(SqoopOptions opts,
ConnManager connMgr,
java.lang.String inputTable,
java.lang.String outputTable,
org.apache.hadoop.conf.Configuration config,
boolean withComments)
Creates a new TableDefWriter to generate a Hive CREATE TABLE statement. |
Uses of SqoopOptions in com.cloudera.sqoop.manager |
---|
Fields in com.cloudera.sqoop.manager declared as SqoopOptions | |
---|---|
protected SqoopOptions |
SqlManager.options
|
Methods in com.cloudera.sqoop.manager that return SqoopOptions | |
---|---|
SqoopOptions |
ImportJobContext.getOptions()
|
SqoopOptions |
ExportJobContext.getOptions()
|
Methods in com.cloudera.sqoop.manager with parameters of type SqoopOptions | |
---|---|
ConnManager |
DefaultManagerFactory.accept(SqoopOptions options)
|
abstract ConnManager |
ManagerFactory.accept(SqoopOptions options)
|
protected java.lang.String |
SqlManager.getSplitColumn(SqoopOptions opts,
java.lang.String tableName)
Determine what column to use to split the table. |
Constructors in com.cloudera.sqoop.manager with parameters of type SqoopOptions | |
---|---|
DirectMySQLManager(SqoopOptions options)
|
|
DirectPostgresqlManager(SqoopOptions opts)
|
|
ExportJobContext(java.lang.String table,
java.lang.String jar,
SqoopOptions opts)
|
|
GenericJdbcManager(java.lang.String driverClass,
SqoopOptions opts)
|
|
HsqldbManager(SqoopOptions opts)
|
|
ImportJobContext(java.lang.String table,
java.lang.String jar,
SqoopOptions opts,
org.apache.hadoop.fs.Path destination)
|
|
MySQLManager(SqoopOptions opts)
|
|
MySQLManager(SqoopOptions opts,
boolean ignored)
|
|
OracleManager(SqoopOptions opts)
|
|
PostgresqlManager(SqoopOptions opts)
|
|
PostgresqlManager(SqoopOptions opts,
boolean ignored)
|
|
SqlManager(SqoopOptions opts)
Constructs the SqlManager. |
Uses of SqoopOptions in com.cloudera.sqoop.mapreduce |
---|
Fields in com.cloudera.sqoop.mapreduce declared as SqoopOptions | |
---|---|
protected SqoopOptions |
JobBase.options
|
Methods in com.cloudera.sqoop.mapreduce with parameters of type SqoopOptions | |
---|---|
void |
JobBase.setOptions(SqoopOptions opts)
Set the SqoopOptions configuring this job. |
Constructors in com.cloudera.sqoop.mapreduce with parameters of type SqoopOptions | |
---|---|
DataDrivenImportJob(SqoopOptions opts)
|
|
DataDrivenImportJob(SqoopOptions opts,
java.lang.Class<? extends org.apache.hadoop.mapreduce.InputFormat> inputFormatClass,
ImportJobContext context)
|
|
ImportJobBase(SqoopOptions opts)
|
|
ImportJobBase(SqoopOptions opts,
java.lang.Class<? extends org.apache.hadoop.mapreduce.Mapper> mapperClass,
java.lang.Class<? extends org.apache.hadoop.mapreduce.InputFormat> inputFormatClass,
java.lang.Class<? extends org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass,
ImportJobContext context)
|
|
JobBase(SqoopOptions opts)
|
|
JobBase(SqoopOptions opts,
java.lang.Class<? extends org.apache.hadoop.mapreduce.Mapper> mapperClass,
java.lang.Class<? extends org.apache.hadoop.mapreduce.InputFormat> inputFormatClass,
java.lang.Class<? extends org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass)
|
|
MySQLDumpImportJob(SqoopOptions opts,
ImportJobContext context)
|
Uses of SqoopOptions in com.cloudera.sqoop.orm |
---|
Constructors in com.cloudera.sqoop.orm with parameters of type SqoopOptions | |
---|---|
ClassWriter(SqoopOptions opts,
ConnManager connMgr,
java.lang.String table,
CompilationManager compMgr)
Creates a new ClassWriter to generate an ORM class for a table. |
|
CompilationManager(SqoopOptions opts)
|
|
TableClassName(SqoopOptions opts)
|
Uses of SqoopOptions in com.cloudera.sqoop.tool |
---|
Methods in com.cloudera.sqoop.tool that return SqoopOptions | |
---|---|
SqoopOptions |
SqoopTool.parseArguments(java.lang.String[] args,
org.apache.hadoop.conf.Configuration conf,
SqoopOptions in,
boolean useGenericOptions)
Configures a SqoopOptions according to the specified arguments. |
Methods in com.cloudera.sqoop.tool with parameters of type SqoopOptions | |
---|---|
protected void |
BaseSqoopTool.applyCodeGenOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out,
boolean multiTable)
|
protected void |
BaseSqoopTool.applyCommonOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
Apply common command-line to the state. |
protected void |
BaseSqoopTool.applyHiveOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
protected void |
BaseSqoopTool.applyInputFormatOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
ListTablesTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
EvalSqlTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
CodeGenTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
SqoopTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
Generate the SqoopOptions containing actual argument values from the extracted CommandLine arguments. |
void |
ImportTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
ExportTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
CreateHiveTableTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
void |
ListDatabasesTool.applyOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
protected void |
BaseSqoopTool.applyOutputFormatOptions(org.apache.commons.cli.CommandLine in,
SqoopOptions out)
|
protected void |
BaseSqoopTool.destroy(SqoopOptions sqoopOpts)
Should be called in a 'finally' block at the end of the run() method. |
java.lang.String |
CodeGenTool.generateORM(SqoopOptions options,
java.lang.String tableName)
Generate the .class and .jar files. |
protected void |
ImportTool.importTable(SqoopOptions options,
java.lang.String tableName,
HiveImport hiveImport)
|
protected boolean |
ImportTool.init(SqoopOptions sqoopOpts)
|
protected boolean |
BaseSqoopTool.init(SqoopOptions sqoopOpts)
Should be called at the beginning of the run() method to initialize the connection manager, etc. |
SqoopOptions |
SqoopTool.parseArguments(java.lang.String[] args,
org.apache.hadoop.conf.Configuration conf,
SqoopOptions in,
boolean useGenericOptions)
Configures a SqoopOptions according to the specified arguments. |
int |
ListTablesTool.run(SqoopOptions options)
|
int |
EvalSqlTool.run(SqoopOptions options)
|
int |
CodeGenTool.run(SqoopOptions options)
|
int |
ImportAllTablesTool.run(SqoopOptions options)
|
abstract int |
SqoopTool.run(SqoopOptions options)
Main body of code to run the tool. |
int |
HelpTool.run(SqoopOptions options)
|
int |
ImportTool.run(SqoopOptions options)
|
int |
VersionTool.run(SqoopOptions options)
|
int |
ExportTool.run(SqoopOptions options)
|
int |
CreateHiveTableTool.run(SqoopOptions options)
|
int |
ListDatabasesTool.run(SqoopOptions options)
|
protected void |
BaseSqoopTool.validateCodeGenOptions(SqoopOptions options)
|
protected void |
BaseSqoopTool.validateCommonOptions(SqoopOptions options)
|
protected void |
ExportTool.validateExportOptions(SqoopOptions options)
Validate export-specific arguments. |
protected void |
BaseSqoopTool.validateHiveOptions(SqoopOptions options)
|
protected void |
ImportTool.validateImportOptions(SqoopOptions options)
Validate import-specific arguments. |
void |
ListTablesTool.validateOptions(SqoopOptions options)
|
void |
EvalSqlTool.validateOptions(SqoopOptions options)
|
void |
CodeGenTool.validateOptions(SqoopOptions options)
|
void |
SqoopTool.validateOptions(SqoopOptions options)
Validates options and ensures that any required options are present and that any mutually-exclusive options are not selected. |
void |
ImportTool.validateOptions(SqoopOptions options)
|
void |
ExportTool.validateOptions(SqoopOptions options)
|
void |
CreateHiveTableTool.validateOptions(SqoopOptions options)
|
void |
ListDatabasesTool.validateOptions(SqoopOptions options)
|
protected void |
BaseSqoopTool.validateOutputFormatOptions(SqoopOptions options)
|
Uses of SqoopOptions in com.cloudera.sqoop.util |
---|
Methods in com.cloudera.sqoop.util with parameters of type SqoopOptions | |
---|---|
static SplittableBufferedWriter |
DirectImportUtils.createHdfsSink(org.apache.hadoop.conf.Configuration conf,
SqoopOptions options,
ImportJobContext context)
Open a file in HDFS for write to hold the data associated with a table. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |