A B C D E F G H I J L M N O P Q R S T U V W

A

accept(SqoopOptions) - Method in class com.cloudera.sqoop.manager.DefaultManagerFactory
 
accept(SqoopOptions) - Method in class com.cloudera.sqoop.manager.ManagerFactory
 
addBytes(long) - Method in class com.cloudera.sqoop.util.PerfCounters
 
addJarFile(String, String) - Static method in class com.cloudera.sqoop.util.ClassLoaderStack
Adds a ClassLoader to the top of the stack that will load from the Jar file of your choice.
addOptions(RelatedOptions) - Method in class com.cloudera.sqoop.cli.ToolOptions
Add a block of related options to the options for this tool.
addSourceFile(String) - Method in class com.cloudera.sqoop.orm.CompilationManager
 
addUniqueOptions(RelatedOptions) - Method in class com.cloudera.sqoop.cli.ToolOptions
Add a block of related options to the options for this tool, if a block has not already been added with the same title.
allowSplit() - Method in class com.cloudera.sqoop.io.SplittableBufferedWriter
 
allowSplit() - Method in class com.cloudera.sqoop.io.SplittingOutputStream
Defines a point in the stream when it is acceptable to split to a new file; e.g., the end of a record.
append() - Method in class com.cloudera.sqoop.util.AppendUtils
Moves the imported files from temporary directory to specified target-dir, renaming partition number if appending file exists.
APPEND_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
appendArgs(String[]) - Method in class com.cloudera.sqoop.tool.SqoopTool
Append 'extra' to extraArguments.
AppendUtils - Class in com.cloudera.sqoop.util
Utilities used when appending imported files to an existing dir.
AppendUtils(ImportJobContext) - Constructor for class com.cloudera.sqoop.util.AppendUtils
 
applyCodeGenOptions(CommandLine, SqoopOptions, boolean) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
applyCommonOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
Apply common command-line to the state.
applyHiveOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
applyInputFormatOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.CodeGenTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.CreateHiveTableTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.EvalSqlTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.ExportTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.ListDatabasesTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.ListTablesTool
 
applyOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.SqoopTool
Generate the SqoopOptions containing actual argument values from the extracted CommandLine arguments.
applyOutputFormatOptions(CommandLine, SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
AsyncSink - Class in com.cloudera.sqoop.util
An interface describing a factory class for a Thread class that handles input from some sort of stream.
AsyncSink() - Constructor for class com.cloudera.sqoop.util.AsyncSink
 
AutoProgressMapper<KEYIN,VALIN,KEYOUT,VALOUT> - Class in com.cloudera.sqoop.mapreduce
Identity mapper that continuously reports progress via a background thread.
AutoProgressMapper() - Constructor for class com.cloudera.sqoop.mapreduce.AutoProgressMapper
 
available() - Method in class com.cloudera.sqoop.io.FixedLengthInputStream
 

B

BaseSqoopTool - Class in com.cloudera.sqoop.tool
Layer on top of SqoopTool that provides some basic common code that most SqoopTool implementations will use.
BaseSqoopTool() - Constructor for class com.cloudera.sqoop.tool.BaseSqoopTool
 
BaseSqoopTool(String) - Constructor for class com.cloudera.sqoop.tool.BaseSqoopTool
 
BigDecimalSerializer - Class in com.cloudera.sqoop.lib
Serialize BigDecimal classes to/from DataInput and DataOutput objects.
BIN_OUT_DIR_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
BlobRef - Class in com.cloudera.sqoop.lib
BlobRef is a wrapper that holds a BLOB either directly, or a reference to a file that holds the BLOB data.
BlobRef() - Constructor for class com.cloudera.sqoop.lib.BlobRef
 
BlobRef(byte[]) - Constructor for class com.cloudera.sqoop.lib.BlobRef
 
BlobRef(String, long, long) - Constructor for class com.cloudera.sqoop.lib.BlobRef
Initialize a BlobRef to an external BLOB.

C

checkExit(int) - Method in class com.cloudera.sqoop.util.SubprocessSecurityManager
 
checkForNull(InputStream) - Method in class com.cloudera.sqoop.io.LobFile.Reader
Checks whether an underlying stream is present or null.
checkForNull(OutputStream) - Method in class com.cloudera.sqoop.io.LobFile.Writer
Checks whether an underlying stream is present or null.
checkPermission(Permission) - Method in class com.cloudera.sqoop.util.SubprocessSecurityManager
 
checkpointDistInBytes - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
child - Variable in class com.cloudera.sqoop.util.ErrorableAsyncSink
 
CLASS_NAME_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
CLASS_WRITER_VERSION - Static variable in class com.cloudera.sqoop.orm.ClassWriter
This version number is injected into all generated Java classes to denote which version of the ClassWriter's output format was used to generate the class.
ClassLoaderStack - Class in com.cloudera.sqoop.util
Allows you to add and remove jar-files from the running JVM by instantiating classloaders for them.
ClassWriter - Class in com.cloudera.sqoop.orm
Creates an ORM class to represent a table from a database.
ClassWriter(SqoopOptions, ConnManager, String, CompilationManager) - Constructor for class com.cloudera.sqoop.orm.ClassWriter
Creates a new ClassWriter to generate an ORM class for a table.
cleanup(Mapper<LongWritable, SqoopRecord, LongWritable, SqoopRecord>.Context) - Method in class com.cloudera.sqoop.mapreduce.SequenceFileImportMapper
 
cleanup(Mapper<LongWritable, SqoopRecord, Text, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.TextImportMapper
 
ClobRef - Class in com.cloudera.sqoop.lib
ClobRef is a wrapper that holds a CLOB either directly, or a reference to a file that holds the CLOB data.
ClobRef() - Constructor for class com.cloudera.sqoop.lib.ClobRef
 
ClobRef(String) - Constructor for class com.cloudera.sqoop.lib.ClobRef
 
ClobRef(String, long, long) - Constructor for class com.cloudera.sqoop.lib.ClobRef
Initialize a clobref to an external CLOB.
clone() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
clone() - Method in class com.cloudera.sqoop.lib.LobRef
 
clone() - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
close() - Method in class com.cloudera.sqoop.io.LobFile.Reader
Closes the reader.
close() - Method in class com.cloudera.sqoop.io.LobFile.Writer
Finishes writing the LobFile and closes underlying handles.
close() - Method in class com.cloudera.sqoop.io.SplittingOutputStream
 
close() - Method in class com.cloudera.sqoop.lib.LargeObjectLoader
 
close() - Method in class com.cloudera.sqoop.lib.LobRef
 
close() - Method in class com.cloudera.sqoop.manager.ConnManager
Perform any shutdown operations on the connection.
close() - Method in class com.cloudera.sqoop.manager.GenericJdbcManager
 
close() - Method in class com.cloudera.sqoop.manager.OracleManager
 
close() - Method in class com.cloudera.sqoop.manager.PostgresqlManager
 
close() - Method in class com.cloudera.sqoop.manager.SqlManager
 
CODE_OUT_DIR_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
CodecMap - Class in com.cloudera.sqoop.io
Provides a mapping from codec names to concrete implementation class names.
CodeGenTool - Class in com.cloudera.sqoop.tool
Tool that generates code from a database schema.
CodeGenTool() - Constructor for class com.cloudera.sqoop.tool.CodeGenTool
 
COLUMNS_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
com.cloudera.sqoop - package com.cloudera.sqoop
 
com.cloudera.sqoop.cli - package com.cloudera.sqoop.cli
 
com.cloudera.sqoop.hive - package com.cloudera.sqoop.hive
 
com.cloudera.sqoop.io - package com.cloudera.sqoop.io
 
com.cloudera.sqoop.lib - package com.cloudera.sqoop.lib
 
com.cloudera.sqoop.manager - package com.cloudera.sqoop.manager
 
com.cloudera.sqoop.mapreduce - package com.cloudera.sqoop.mapreduce
 
com.cloudera.sqoop.orm - package com.cloudera.sqoop.orm
 
com.cloudera.sqoop.shims - package com.cloudera.sqoop.shims
 
com.cloudera.sqoop.tool - package com.cloudera.sqoop.tool
 
com.cloudera.sqoop.util - package com.cloudera.sqoop.util
 
CompilationManager - Class in com.cloudera.sqoop.orm
Manages the compilation of a bunch of .java files into .class files and eventually a jar.
CompilationManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.orm.CompilationManager
 
compile() - Method in class com.cloudera.sqoop.orm.CompilationManager
Compile the .java files into .class files via embedded javac call.
COMPRESS_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
COMPRESS_SHORT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
conf - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
configureInputFormat(Job, String, String, String) - Method in class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
configureInputFormat(Job, String, String, String) - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
configureInputFormat(Job, String, String, String) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Configure the inputformat to use for the job.
configureInputFormat(Job, String, String, String) - Method in class com.cloudera.sqoop.mapreduce.MySQLDumpImportJob
Configure the inputformat to use for the job.
configureInputFormat(Job, String, String, String) - Method in class com.cloudera.sqoop.mapreduce.MySQLExportJob
 
configureMapper(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
configureMapper(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
configureMapper(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Set the mapper class implementation to use in the job, as well as any related configuration (e.g., map output types).
configureMapper(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.MySQLDumpImportJob
Set the mapper class implementation to use in the job, as well as any related configuration (e.g., map output types).
configureNumTasks(Job) - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
configureNumTasks(Job) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Configure the number of map/reduce tasks to use in the job.
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.CodeGenTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.CreateHiveTableTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.EvalSqlTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.ExportTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.ListDatabasesTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.ListTablesTool
 
configureOptions(ToolOptions) - Method in class com.cloudera.sqoop.tool.SqoopTool
Configure the command-line arguments we expect to receive.
configureOutputFormat(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.ImportJobBase
Configure the output format to use for the job.
configureOutputFormat(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.JdbcExportJob
 
configureOutputFormat(Job, String, String) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Configure the output format to use for the job.
CONNECT_STRING_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
CONNECT_STRING_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
ConnFactory - Class in com.cloudera.sqoop
Factory class to create the ConnManager type required for the current import job.
ConnFactory(Configuration) - Constructor for class com.cloudera.sqoop.ConnFactory
 
ConnManager - Class in com.cloudera.sqoop.manager
Abstract interface that manages connections to a database.
ConnManager() - Constructor for class com.cloudera.sqoop.manager.ConnManager
 
containsGroup(String) - Method in class com.cloudera.sqoop.cli.ToolOptions
Reports whether this collection of RelatedOptions contains a RelatedOptions with the specified title.
context - Variable in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
copy() - Method in class com.cloudera.sqoop.lib.DelimiterSet
Identical to clone() but does not throw spurious exceptions.
create(Path, Configuration) - Static method in class com.cloudera.sqoop.io.LobFile
Creates a LobFile Writer configured for uncompressed binary data.
create(Path, Configuration, boolean) - Static method in class com.cloudera.sqoop.io.LobFile
Creates a LobFile Writer configured for uncompressed data.
create(Path, Configuration, boolean, String) - Static method in class com.cloudera.sqoop.io.LobFile
Creates a LobFile Writer.
create(Path, Configuration, boolean, String, int) - Static method in class com.cloudera.sqoop.io.LobFile
Creates a LobFile Writer.
createHdfsSink(Configuration, SqoopOptions, ImportJobContext) - Static method in class com.cloudera.sqoop.util.DirectImportUtils
Open a file in HDFS for write to hold the data associated with a table.
CreateHiveTableTool - Class in com.cloudera.sqoop.tool
Tool that creates a Hive table definition.
CreateHiveTableTool() - Constructor for class com.cloudera.sqoop.tool.CreateHiveTableTool
 

D

DataDrivenImportJob - Class in com.cloudera.sqoop.mapreduce
Actually runs a jdbc import job using the ORM files generated by the sqoop.orm package.
DataDrivenImportJob(SqoopOptions) - Constructor for class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
DataDrivenImportJob(SqoopOptions, Class<? extends InputFormat>, ImportJobContext) - Constructor for class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
DEBUG_SQL_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
DEBUG_SQL_SHORT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
deepCopyData(BytesWritable) - Method in class com.cloudera.sqoop.lib.BlobRef
 
deepCopyData(String) - Method in class com.cloudera.sqoop.lib.ClobRef
 
deepCopyData(CONTAINERTYPE) - Method in class com.cloudera.sqoop.lib.LobRef
Make a copy of the materialized data.
DEFAULT_CHECKPOINT_BYTES - Static variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
DEFAULT_DELIMITERS - Static variable in class com.cloudera.sqoop.lib.DelimiterSet
 
DEFAULT_MAX_LOB_LENGTH - Static variable in class com.cloudera.sqoop.lib.LargeObjectLoader
 
DEFAULT_NUM_MAPPERS - Static variable in class com.cloudera.sqoop.SqoopOptions
 
DefaultManagerFactory - Class in com.cloudera.sqoop.manager
Contains instantiation code for all ConnManager implementations shipped and enabled by default in Sqoop.
DefaultManagerFactory() - Constructor for class com.cloudera.sqoop.manager.DefaultManagerFactory
 
DEFLATE - Static variable in class com.cloudera.sqoop.io.CodecMap
 
DelimiterSet - Class in com.cloudera.sqoop.lib
Encapsulates a set of delimiters used to encode a record.
DelimiterSet() - Constructor for class com.cloudera.sqoop.lib.DelimiterSet
Create a delimiter set with the default delimiters (comma for fields, newline for records).
DelimiterSet(char, char, char, char, boolean) - Constructor for class com.cloudera.sqoop.lib.DelimiterSet
Create a delimiter set with the specified delimiters.
destroy(SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
Should be called in a 'finally' block at the end of the run() method.
DIRECT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
DIRECT_SPLIT_SIZE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
DirectImportUtils - Class in com.cloudera.sqoop.util
Utility methods that are common to various the direct import managers.
DirectMySQLManager - Class in com.cloudera.sqoop.manager
Manages direct connections to MySQL databases so we can use mysqldump to get really fast dumps.
DirectMySQLManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.DirectMySQLManager
 
DirectPostgresqlManager - Class in com.cloudera.sqoop.manager
Manages direct dumps from Postgresql databases via psql COPY TO STDOUT commands.
DirectPostgresqlManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.DirectPostgresqlManager
 
discardConnection(boolean) - Method in class com.cloudera.sqoop.manager.GenericJdbcManager
Any reference to the connection managed by this manager is nulled.
doHiveImport() - Method in class com.cloudera.sqoop.SqoopOptions
 
doOverwriteHiveTable() - Method in class com.cloudera.sqoop.SqoopOptions
 
DRIVER_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 

E

ENCLOSED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
equals(Object) - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
ErrorableAsyncSink - Class in com.cloudera.sqoop.util
Partial implementation of AsyncSink that relies on ErrorableThread to provide a status bit for the join() method.
ErrorableAsyncSink() - Constructor for class com.cloudera.sqoop.util.ErrorableAsyncSink
 
ErrorableThread - Class in com.cloudera.sqoop.util
A thread which has an error bit which can be set from within the thread.
ErrorableThread() - Constructor for class com.cloudera.sqoop.util.ErrorableThread
 
errSink - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
escapeAndEnclose(String, DelimiterSet) - Static method in class com.cloudera.sqoop.lib.FieldFormatter
Takes an input string representing the value of a field, encloses it in enclosing chars, and escapes any occurrences of such characters in the middle.
escapeColName(String) - Method in class com.cloudera.sqoop.manager.ConnManager
When using a column name in a generated SQL query, how (if at all) should we escape that column name? e.g., a column named "table" may need to be quoted with backtiks: "`table`".
escapeColName(String) - Method in class com.cloudera.sqoop.manager.MySQLManager
When using a column name in a generated SQL query, how (if at all) should we escape that column name? e.g., a column named "table" may need to be quoted with backtiks: "`table`".
ESCAPED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
escapeTableName(String) - Method in class com.cloudera.sqoop.manager.ConnManager
When using a table name in a generated SQL query, how (if at all) should we escape that column name? e.g., a table named "table" may need to be quoted with backtiks: "`table`".
escapeTableName(String) - Method in class com.cloudera.sqoop.manager.MySQLManager
When using a table name in a generated SQL query, how (if at all) should we escape that column name? e.g., a table named "table" may need to be quoted with backtiks: "`table`".
EvalSqlTool - Class in com.cloudera.sqoop.tool
Tool that evaluates a SQL statement and displays the results.
EvalSqlTool() - Constructor for class com.cloudera.sqoop.tool.EvalSqlTool
 
exec(String[]) - Static method in class com.cloudera.sqoop.util.Executor
Execute a program defined by the args array with default stream sinks that consume the program's output (to prevent it from blocking on buffers) and then ignore said output.
exec(String[], AsyncSink, AsyncSink) - Static method in class com.cloudera.sqoop.util.Executor
Run a command via Runtime.exec(), with its stdout and stderr streams directed to be handled by threads generated by AsyncSinks.
exec(String[], String[], AsyncSink, AsyncSink) - Static method in class com.cloudera.sqoop.util.Executor
Run a command via Runtime.exec(), with its stdout and stderr streams directed to be handled by threads generated by AsyncSinks.
execAndPrint(String) - Method in class com.cloudera.sqoop.manager.ConnManager
Execute a SQL statement 's' and print its results to stdout.
execAndPrint(String) - Method in class com.cloudera.sqoop.manager.MySQLManager
 
execAndPrint(String) - Method in class com.cloudera.sqoop.manager.SqlManager
Poor man's SQL query interface; used for debugging.
execute(String, Object...) - Method in class com.cloudera.sqoop.manager.MySQLManager
Executes an arbitrary SQL statement.
execute(String, Object...) - Method in class com.cloudera.sqoop.manager.PostgresqlManager
Executes an arbitrary SQL statement.
execute(String, Object...) - Method in class com.cloudera.sqoop.manager.SqlManager
Executes an arbitrary SQL statement.
Executor - Class in com.cloudera.sqoop.util
Runs a process via Runtime.exec() and allows handling of stdout/stderr to be deferred to other threads.
ExitSecurityException - Exception in com.cloudera.sqoop.util
SecurityException suppressing a System.exit() call.
ExitSecurityException() - Constructor for exception com.cloudera.sqoop.util.ExitSecurityException
 
ExitSecurityException(String) - Constructor for exception com.cloudera.sqoop.util.ExitSecurityException
 
ExitSecurityException(int) - Constructor for exception com.cloudera.sqoop.util.ExitSecurityException
Register a System.exit() event being suppressed with a particular exit status code.
explicitDelims() - Method in class com.cloudera.sqoop.SqoopOptions
 
EXPORT_MAP_TASKS_KEY - Static variable in class com.cloudera.sqoop.mapreduce.ExportJobBase
Number of map tasks to use for an export.
EXPORT_PATH_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
ExportException - Exception in com.cloudera.sqoop.util
General error during export process.
ExportException() - Constructor for exception com.cloudera.sqoop.util.ExportException
 
ExportException(String) - Constructor for exception com.cloudera.sqoop.util.ExportException
 
ExportException(Throwable) - Constructor for exception com.cloudera.sqoop.util.ExportException
 
ExportException(String, Throwable) - Constructor for exception com.cloudera.sqoop.util.ExportException
 
ExportJobBase - Class in com.cloudera.sqoop.mapreduce
Base class for running an export MapReduce job.
ExportJobBase(ExportJobContext) - Constructor for class com.cloudera.sqoop.mapreduce.ExportJobBase
 
ExportJobBase(ExportJobContext, Class<? extends Mapper>, Class<? extends InputFormat>, Class<? extends OutputFormat>) - Constructor for class com.cloudera.sqoop.mapreduce.ExportJobBase
 
ExportJobContext - Class in com.cloudera.sqoop.manager
A set of parameters describing an export operation; this is passed to ConnManager.exportTable() as its argument.
ExportJobContext(String, String, SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.ExportJobContext
 
exportTable(ExportJobContext) - Method in class com.cloudera.sqoop.manager.ConnManager
Export data stored in HDFS into a table in a database.
exportTable(ExportJobContext) - Method in class com.cloudera.sqoop.manager.DirectMySQLManager
Export the table from HDFS by using mysqlimport to insert the data back into the database.
exportTable(ExportJobContext) - Method in class com.cloudera.sqoop.manager.OracleManager
Export data stored in HDFS into a table in a database.
exportTable(ExportJobContext) - Method in class com.cloudera.sqoop.manager.SqlManager
Export data stored in HDFS into a table in a database.
ExportTool - Class in com.cloudera.sqoop.tool
Tool that performs HDFS exports to databases.
ExportTool() - Constructor for class com.cloudera.sqoop.tool.ExportTool
 
EXTERNAL_MATCHER - Static variable in class com.cloudera.sqoop.lib.LobRef
 
EXTRA_ARGS_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
extraArguments - Variable in class com.cloudera.sqoop.tool.SqoopTool
Arguments that remained unparsed after parseArguments.

F

FACTORY_CLASS_NAMES_KEY - Static variable in class com.cloudera.sqoop.ConnFactory
The sqoop-site.xml configuration property used to set the list of available ManagerFactories.
FieldFormatter - Class in com.cloudera.sqoop.lib
Static helper class that will help format data with quotes and escape chars.
FIELDS_TERMINATED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
fifoFile - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
The FIFO being used to communicate with mysqlimport.
FileListing - Class in com.cloudera.sqoop.util
Recursive file listing under a specified directory.
finalize() - Method in class com.cloudera.sqoop.io.LobFile.Reader
 
finalize() - Method in class com.cloudera.sqoop.io.LobFile.Writer
 
finalize() - Method in class com.cloudera.sqoop.io.LobReaderCache
 
finalize() - Method in class com.cloudera.sqoop.lib.LargeObjectLoader
 
finalize() - Method in class com.cloudera.sqoop.lib.LobRef
 
finalize() - Method in class com.cloudera.sqoop.manager.OracleManager
 
finishRecord() - Method in class com.cloudera.sqoop.io.LobFile.Writer
Terminates the current record and writes any trailing zero-padding required by the specified record size.
FixedLengthInputStream - Class in com.cloudera.sqoop.io
Provides an InputStream that can consume a fixed maximum number of bytes from an underlying stream.
FixedLengthInputStream(InputStream, long) - Constructor for class com.cloudera.sqoop.io.FixedLengthInputStream
 
flush() - Method in class com.cloudera.sqoop.io.SplittingOutputStream
 
FMT_SEQUENCEFILE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
FMT_TEXTFILE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
formatAndPrintResultSet(ResultSet, PrintWriter) - Method in class com.cloudera.sqoop.manager.SqlManager
Prints the contents of a ResultSet to the specified PrintWriter.
formatConstructor() - Method in class com.cloudera.sqoop.lib.DelimiterSet
Format this set of delimiters as a call to the constructor for this object, that would generate identical delimiters.

G

generate() - Method in class com.cloudera.sqoop.orm.ClassWriter
Generate the ORM code for the class.
generateClassForColumns(Map<String, Integer>, String[]) - Method in class com.cloudera.sqoop.orm.ClassWriter
Generate the ORM code for a table object containing the named columns.
generateORM(SqoopOptions, String) - Method in class com.cloudera.sqoop.tool.CodeGenTool
Generate the .class and .jar files.
GenericJdbcManager - Class in com.cloudera.sqoop.manager
Database manager that is connects to a generic JDBC-compliant database; its constructor is parameterized on the JDBC Driver class to load.
GenericJdbcManager(String, SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.GenericJdbcManager
 
get(Path, Configuration) - Method in class com.cloudera.sqoop.io.LobReaderCache
Open a LobFile for read access, returning a cached reader if one is available, or a new reader otherwise.
get() - Static method in class com.cloudera.sqoop.shims.HadoopShim
 
get(Configuration, String) - Static method in class com.cloudera.sqoop.util.TaskId
 
getCache() - Static method in class com.cloudera.sqoop.io.LobReaderCache
 
getClassFormatVersion() - Method in class com.cloudera.sqoop.lib.SqoopRecord
Returns an integer specifying which API format version the generated class conforms to.
getClassForTable(String) - Method in class com.cloudera.sqoop.orm.TableClassName
 
getClassName() - Method in class com.cloudera.sqoop.SqoopOptions
 
getCodec(String, Configuration) - Static method in class com.cloudera.sqoop.io.CodecMap
Given a codec name, instantiate the concrete implementation class that implements it.
getCodecClassName(String) - Static method in class com.cloudera.sqoop.io.CodecMap
Given a codec name, return the name of the concrete class that implements it (or 'null' in the case of the "none" codec).
getCodecNames() - Static method in class com.cloudera.sqoop.io.CodecMap
Return the set of available codec names.
getCodeGenOpts(boolean) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
getCodeOutputDir() - Method in class com.cloudera.sqoop.SqoopOptions
 
getColNamesQuery(String) - Method in class com.cloudera.sqoop.manager.MySQLManager
 
getColNamesQuery(String) - Method in class com.cloudera.sqoop.manager.OracleManager
 
getColNamesQuery(String) - Method in class com.cloudera.sqoop.manager.PostgresqlManager
 
getColNamesQuery(String) - Method in class com.cloudera.sqoop.manager.SqlManager
 
getColTypesQuery(String) - Method in class com.cloudera.sqoop.manager.SqlManager
 
getColumnNames(String) - Method in class com.cloudera.sqoop.manager.ConnManager
Return a list of column names in a table in the order returned by the db.
getColumnNames(String) - Method in class com.cloudera.sqoop.manager.SqlManager
 
getColumns() - Method in class com.cloudera.sqoop.SqoopOptions
 
getColumnTypes(String) - Method in class com.cloudera.sqoop.manager.ConnManager
Return an unordered mapping from colname to sqltype for all columns in a table.
getColumnTypes(String) - Method in class com.cloudera.sqoop.manager.SqlManager
 
getCommonOptions() - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
getConf() - Method in class com.cloudera.sqoop.SqoopOptions
 
getConnection() - Method in class com.cloudera.sqoop.manager.ConnManager
 
getConnection() - Method in class com.cloudera.sqoop.manager.GenericJdbcManager
 
getConnection() - Method in class com.cloudera.sqoop.manager.SqlManager
Retrieve the actual connection from the outer ConnManager.
getConnectString() - Method in class com.cloudera.sqoop.SqoopOptions
 
getCreateTableStmt() - Method in class com.cloudera.sqoop.hive.TableDefWriter
 
getCurEnvpStrings() - Static method in class com.cloudera.sqoop.util.Executor
 
getData() - Method in class com.cloudera.sqoop.lib.LobRef
 
getDatabaseName(String) - Static method in class com.cloudera.sqoop.util.JdbcUrl
 
getDataObj() - Method in class com.cloudera.sqoop.lib.LobRef
Internal API to retrieve the data object.
getDataStream(Mapper.Context) - Method in class com.cloudera.sqoop.lib.LobRef
Convenience method to access #getDataStream(Configuration, Path) from within a map task that read this LobRef from a file-based InputSplit.
getDataStream(Configuration, Path) - Method in class com.cloudera.sqoop.lib.LobRef
Get access to the LOB data itself.
getDbInputClassProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns the Configuration property identifying a DBWritable to use.
getDbInputConditionsProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns the Configuration property specifying WHERE conditions for the db table.
getDbInputTableNameProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns the Configuration property identifying the DB input table.
getDbPasswordProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns the Configuration property identifying the DB password.
getDbUrlProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns the Configuration property identifying the DB connect string.
getDbUsernameProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns the Configuration property identifying the DB username.
getDebugSqlCmd() - Method in class com.cloudera.sqoop.SqoopOptions
 
getDestination() - Method in class com.cloudera.sqoop.manager.ImportJobContext
 
getDirectSplitSize() - Method in class com.cloudera.sqoop.SqoopOptions
 
getDriverClass() - Method in class com.cloudera.sqoop.manager.ConnManager
 
getDriverClass() - Method in class com.cloudera.sqoop.manager.GenericJdbcManager
 
getDriverClassName() - Method in class com.cloudera.sqoop.SqoopOptions
 
getEnclosedBy() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
getEscapedBy() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
getExistingJarName() - Method in class com.cloudera.sqoop.SqoopOptions
 
getExitStatus() - Method in exception com.cloudera.sqoop.util.ExitSecurityException
 
getExportDir() - Method in class com.cloudera.sqoop.SqoopOptions
 
getExportOptions() - Method in class com.cloudera.sqoop.tool.ExportTool
Construct the set of options that control exports.
getExternalSource(LobFile.Reader) - Method in class com.cloudera.sqoop.lib.BlobRef
 
getExternalSource(LobFile.Reader) - Method in class com.cloudera.sqoop.lib.ClobRef
 
getExternalSource(LobFile.Reader) - Method in class com.cloudera.sqoop.lib.LobRef
Using the LobFile reader, get an accessor InputStream or Reader to the underlying data.
getExtraArgs() - Method in class com.cloudera.sqoop.SqoopOptions
 
getFieldsTerminatedBy() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
getFileLayout() - Method in class com.cloudera.sqoop.SqoopOptions
 
getFileListing(File) - Static method in class com.cloudera.sqoop.util.FileListing
Recursively walk a directory tree and return a List of all Files found; the List is sorted using File.compareTo().
getGeneratedJarFiles() - Method in class com.cloudera.sqoop.tool.CodeGenTool
 
getGeneratedJarFiles() - Method in class com.cloudera.sqoop.tool.ExportTool
 
getGeneratedJarFiles() - Method in class com.cloudera.sqoop.tool.ImportTool
 
getHadoopHome() - Method in class com.cloudera.sqoop.SqoopOptions
Return the value of $HADOOP_HOME.
getHadoopShim(Configuration) - Static method in class com.cloudera.sqoop.shims.ShimLoader
Factory method to get an instance of HadoopShim based on the version of Hadoop on the classpath.
getHadoopShim() - Static method in class com.cloudera.sqoop.shims.ShimLoader
Factory method to get an instance of HadoopShim based on the version of Hadoop on the classpath.
getHiveHome() - Method in class com.cloudera.sqoop.SqoopOptions
 
getHiveOptions(boolean) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
getHiveTableName() - Method in class com.cloudera.sqoop.SqoopOptions
 
getHostName(String) - Static method in class com.cloudera.sqoop.util.JdbcUrl
 
getImportOptions() - Method in class com.cloudera.sqoop.tool.ImportTool
Construct the set of options that control imports, either of one table or a batch of tables.
getInlineLobLimit() - Method in class com.cloudera.sqoop.SqoopOptions
 
getInputDelimiters() - Method in class com.cloudera.sqoop.SqoopOptions
 
getInputEnclosedBy() - Method in class com.cloudera.sqoop.SqoopOptions
 
getInputEscapedBy() - Method in class com.cloudera.sqoop.SqoopOptions
 
getInputFieldDelim() - Method in class com.cloudera.sqoop.SqoopOptions
 
getInputFormat() - Method in class com.cloudera.sqoop.manager.ImportJobContext
 
getInputFormatClass() - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
getInputFormatClass() - Method in class com.cloudera.sqoop.mapreduce.JobBase
 
getInputFormatOptions() - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
getInputPath() - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
getInputRecordDelim() - Method in class com.cloudera.sqoop.SqoopOptions
 
getInternalData(BytesWritable) - Method in class com.cloudera.sqoop.lib.BlobRef
 
getInternalData(String) - Method in class com.cloudera.sqoop.lib.ClobRef
 
getInternalData(CONTAINERTYPE) - Method in class com.cloudera.sqoop.lib.LobRef
 
getInternalSource(BytesWritable) - Method in class com.cloudera.sqoop.lib.BlobRef
 
getInternalSource(String) - Method in class com.cloudera.sqoop.lib.ClobRef
 
getInternalSource(CONTAINERTYPE) - Method in class com.cloudera.sqoop.lib.LobRef
Wrap the materialized data in an InputStream or Reader.
getJarFile() - Method in class com.cloudera.sqoop.manager.ExportJobContext
 
getJarFile() - Method in class com.cloudera.sqoop.manager.ImportJobContext
 
getJarFilename() - Method in class com.cloudera.sqoop.orm.CompilationManager
 
getJarOutputDir() - Method in class com.cloudera.sqoop.SqoopOptions
 
getJobLocalDirProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
 
getLinesTerminatedBy() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
getLoadDataStmt() - Method in class com.cloudera.sqoop.hive.TableDefWriter
 
getManager(SqoopOptions) - Method in class com.cloudera.sqoop.ConnFactory
Factory method to get a ConnManager for the given JDBC connect string.
getManager() - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
getMapContextForIOPath(Configuration, Path) - Method in class com.cloudera.sqoop.shims.HadoopShim
Returns a mock MapContext that has both an OutputCommitter and an InputSplit wired to the specified path.
getMapperClass() - Method in class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
getMapperClass() - Method in class com.cloudera.sqoop.mapreduce.JdbcExportJob
 
getMapperClass() - Method in class com.cloudera.sqoop.mapreduce.JobBase
 
getMapperClass() - Method in class com.cloudera.sqoop.mapreduce.MySQLExportJob
 
getMessage() - Method in exception com.cloudera.sqoop.SqoopOptions.InvalidOptionsException
 
getNumMapInputRecords(Job) - Method in class com.cloudera.sqoop.shims.HadoopShim
 
getNumMapOutputRecords(Job) - Method in class com.cloudera.sqoop.shims.HadoopShim
 
getNumMappers() - Method in class com.cloudera.sqoop.SqoopOptions
 
getOptions() - Method in class com.cloudera.sqoop.manager.ExportJobContext
 
getOptions() - Method in class com.cloudera.sqoop.manager.ImportJobContext
 
getOptions() - Method in class com.cloudera.sqoop.Sqoop
 
getOutputDelimiters() - Method in class com.cloudera.sqoop.SqoopOptions
 
getOutputEnclosedBy() - Method in class com.cloudera.sqoop.SqoopOptions
 
getOutputEscapedBy() - Method in class com.cloudera.sqoop.SqoopOptions
 
getOutputFieldDelim() - Method in class com.cloudera.sqoop.SqoopOptions
 
getOutputFormatClass() - Method in class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
getOutputFormatClass() - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
getOutputFormatClass() - Method in class com.cloudera.sqoop.mapreduce.JobBase
 
getOutputFormatOptions() - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
getOutputRecordDelim() - Method in class com.cloudera.sqoop.SqoopOptions
 
getPackageForTable() - Method in class com.cloudera.sqoop.orm.TableClassName
Taking into account --class-name and --package-name, return the actual package-part which will be used for a class.
getPackageName() - Method in class com.cloudera.sqoop.SqoopOptions
 
getPassword() - Method in class com.cloudera.sqoop.SqoopOptions
 
getPath() - Method in class com.cloudera.sqoop.io.LobFile.Reader
If this Reader is reading from a physical LobFile, then this returns the file path it is reading from.
getPath() - Method in class com.cloudera.sqoop.io.LobFile.Writer
If this Writer is writing to a physical LobFile, then this returns the file path it is writing to.
getPort(String) - Static method in class com.cloudera.sqoop.util.JdbcUrl
 
getPrimaryKey(String) - Method in class com.cloudera.sqoop.manager.ConnManager
Return the name of the primary key for a table, or null if there is none.
getPrimaryKey(String) - Method in class com.cloudera.sqoop.manager.PostgresqlManager
 
getPrimaryKey(String) - Method in class com.cloudera.sqoop.manager.SqlManager
 
getRecordId() - Method in class com.cloudera.sqoop.io.LobFile.Reader
Return the entryId of the current record to the user.
getRecordLen() - Method in class com.cloudera.sqoop.io.LobFile.Reader
Reports the length of the record to the user.
getRecordOffset() - Method in class com.cloudera.sqoop.io.LobFile.Reader
Return the byte offset at which the current record starts.
getShimClass(String) - Static method in class com.cloudera.sqoop.shims.ShimLoader
Given the name of a class, try to load the shim jars and return the Class object referring to that class.
getShortClassForTable(String) - Method in class com.cloudera.sqoop.orm.TableClassName
 
getSplitByCol() - Method in class com.cloudera.sqoop.SqoopOptions
 
getSplitColumn(SqoopOptions, String) - Method in class com.cloudera.sqoop.manager.SqlManager
Determine what column to use to split the table.
getSubcommandArgs(String[]) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
If argv contains an entry "--", return an array containing all elements after the "--" separator.
getTableName() - Method in class com.cloudera.sqoop.manager.ExportJobContext
 
getTableName() - Method in class com.cloudera.sqoop.manager.ImportJobContext
 
getTableName() - Method in class com.cloudera.sqoop.SqoopOptions
 
getTargetDir() - Method in class com.cloudera.sqoop.SqoopOptions
 
getTaskIdProperty() - Method in class com.cloudera.sqoop.shims.HadoopShim
 
getTempAppendDir(String) - Static method in class com.cloudera.sqoop.util.AppendUtils
Creates a unique path object inside the sqoop temporary directory.
getTempDir() - Method in class com.cloudera.sqoop.SqoopOptions
 
getTitle() - Method in class com.cloudera.sqoop.cli.RelatedOptions
 
getTmpDir() - Method in class com.cloudera.sqoop.SqoopOptions
Get the temporary directory; guaranteed to end in File.separator (e.g., '/').
getTool() - Method in class com.cloudera.sqoop.Sqoop
 
getTool(String) - Static method in class com.cloudera.sqoop.tool.SqoopTool
 
getToolDescription(String) - Static method in class com.cloudera.sqoop.tool.SqoopTool
 
getToolName() - Method in class com.cloudera.sqoop.tool.SqoopTool
 
getToolNames() - Static method in class com.cloudera.sqoop.tool.SqoopTool
 
getUsername() - Method in class com.cloudera.sqoop.SqoopOptions
 
getWarehouseDir() - Method in class com.cloudera.sqoop.SqoopOptions
 
getWhereClause() - Method in class com.cloudera.sqoop.SqoopOptions
 

H

HADOOP_HOME_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HadoopShim - Class in com.cloudera.sqoop.shims
In order to be compatible with multiple versions of Hadoop, all parts of the Hadoop interface that are not cross-version compatible are encapsulated in an implementation of this class.
HadoopShim() - Constructor for class com.cloudera.sqoop.shims.HadoopShim
 
hashCode() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
hashCode() - Method in class com.cloudera.sqoop.lib.RecordParser
 
hasOpenConnection() - Method in class com.cloudera.sqoop.manager.GenericJdbcManager
 
hasUnrecognizedArgs(String[], int, int) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
Examines a subset of the arrray presented, and determines if it contains any non-empty arguments.
hasUnrecognizedArgs(String[]) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HELP_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HELP_STR - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HelpTool - Class in com.cloudera.sqoop.tool
Tool that explains the usage of Sqoop.
HelpTool() - Constructor for class com.cloudera.sqoop.tool.HelpTool
 
HIVE_DELIMITERS - Static variable in class com.cloudera.sqoop.lib.DelimiterSet
 
HIVE_HOME_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HIVE_IMPORT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HIVE_OVERWRITE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HIVE_TABLE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
HiveImport - Class in com.cloudera.sqoop.hive
Utility to import a table into the Hive metastore.
HiveImport(SqoopOptions, ConnManager, Configuration, boolean) - Constructor for class com.cloudera.sqoop.hive.HiveImport
 
HiveTypes - Class in com.cloudera.sqoop.hive
Defines conversion between SQL types and Hive types.
HsqldbManager - Class in com.cloudera.sqoop.manager
Manages connections to hsqldb databases.
HsqldbManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.HsqldbManager
 

I

ImportAllTablesTool - Class in com.cloudera.sqoop.tool
Tool that performs database imports of all tables in a database to HDFS.
ImportAllTablesTool() - Constructor for class com.cloudera.sqoop.tool.ImportAllTablesTool
 
ImportException - Exception in com.cloudera.sqoop.util
General error during the import process.
ImportException() - Constructor for exception com.cloudera.sqoop.util.ImportException
 
ImportException(String) - Constructor for exception com.cloudera.sqoop.util.ImportException
 
ImportException(Throwable) - Constructor for exception com.cloudera.sqoop.util.ImportException
 
ImportException(String, Throwable) - Constructor for exception com.cloudera.sqoop.util.ImportException
 
ImportJobBase - Class in com.cloudera.sqoop.mapreduce
Base class for running an import MapReduce job.
ImportJobBase() - Constructor for class com.cloudera.sqoop.mapreduce.ImportJobBase
 
ImportJobBase(SqoopOptions) - Constructor for class com.cloudera.sqoop.mapreduce.ImportJobBase
 
ImportJobBase(SqoopOptions, Class<? extends Mapper>, Class<? extends InputFormat>, Class<? extends OutputFormat>, ImportJobContext) - Constructor for class com.cloudera.sqoop.mapreduce.ImportJobBase
 
ImportJobContext - Class in com.cloudera.sqoop.manager
A set of parameters describing an import operation; this is passed to ConnManager.importTable() as its argument.
ImportJobContext(String, String, SqoopOptions, Path) - Constructor for class com.cloudera.sqoop.manager.ImportJobContext
 
importStream - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
The stream to write to stdin for mysqlimport.
importTable(String, String, boolean) - Method in class com.cloudera.sqoop.hive.HiveImport
Perform the import of data from an HDFS path to a Hive table.
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.ConnManager
Perform an import of a table from the database into HDFS.
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.DirectMySQLManager
Import the table into HDFS by using mysqldump to pull out the data from the database and upload the files directly to HDFS.
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.DirectPostgresqlManager
 
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.MySQLManager
 
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.OracleManager
 
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.PostgresqlManager
 
importTable(ImportJobContext) - Method in class com.cloudera.sqoop.manager.SqlManager
Default implementation of importTable() is to launch a MapReduce job via DataDrivenImportJob to read the table with DataDrivenDBInputFormat.
importTable(SqoopOptions, String, HiveImport) - Method in class com.cloudera.sqoop.tool.ImportTool
 
ImportTool - Class in com.cloudera.sqoop.tool
Tool that performs database imports to HDFS.
ImportTool() - Constructor for class com.cloudera.sqoop.tool.ImportTool
 
ImportTool(String, boolean) - Constructor for class com.cloudera.sqoop.tool.ImportTool
 
init(SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
Should be called at the beginning of the run() method to initialize the connection manager, etc.
init(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
 
INLINE_LOB_LIMIT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
INPUT_ENCLOSED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
INPUT_ESCAPED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
INPUT_FIELDS_TERMINATED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
INPUT_LINES_TERMINATED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
INPUT_OPTIONALLY_ENCLOSED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
inputFormatClass - Variable in class com.cloudera.sqoop.mapreduce.JobBase
 
inputIsSequenceFiles() - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
install() - Method in class com.cloudera.sqoop.util.SubprocessSecurityManager
Install this SecurityManager and retain a reference to any previously-installed SecurityManager.
isAppendMode() - Method in class com.cloudera.sqoop.SqoopOptions
 
isClosed() - Method in class com.cloudera.sqoop.io.LobFile.Reader
 
isDirect() - Method in class com.cloudera.sqoop.SqoopOptions
 
isEncloseRequired() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
isEnclosingRequired() - Method in class com.cloudera.sqoop.lib.RecordParser
 
isErrored() - Method in class com.cloudera.sqoop.util.ErrorableThread
 
isExternal() - Method in class com.cloudera.sqoop.lib.LobRef
 
isHiveTypeImprovised(int) - Static method in class com.cloudera.sqoop.hive.HiveTypes
 
isInputEncloseRequired() - Method in class com.cloudera.sqoop.SqoopOptions
 
isLocalhost(String) - Static method in class com.cloudera.sqoop.util.DirectImportUtils
 
isOutputEncloseRequired() - Method in class com.cloudera.sqoop.SqoopOptions
 
isRecordAvailable() - Method in class com.cloudera.sqoop.io.LobFile.Reader
 
isSequenceFiles(Configuration, Path) - Static method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
iterator() - Method in class com.cloudera.sqoop.cli.ToolOptions
Provide an iterator over all sets of RelatedOptions.

J

jar() - Method in class com.cloudera.sqoop.orm.CompilationManager
Create an output jar file to use when executing MapReduce jobs.
JAR_FILE_NAME_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
JAVA_RESERVED_WORDS - Static variable in class com.cloudera.sqoop.orm.ClassWriter
 
JdbcExportJob - Class in com.cloudera.sqoop.mapreduce
Run an export using JDBC (JDBC-based ExportOutputFormat).
JdbcExportJob(ExportJobContext) - Constructor for class com.cloudera.sqoop.mapreduce.JdbcExportJob
 
JdbcExportJob(ExportJobContext, Class<? extends Mapper>, Class<? extends InputFormat>, Class<? extends OutputFormat>) - Constructor for class com.cloudera.sqoop.mapreduce.JdbcExportJob
 
JdbcUrl - Class in com.cloudera.sqoop.util
Some utilities for parsing JDBC URLs which may not be tolerated by Java's java.net.URL class.
JdbcWritableBridge - Class in com.cloudera.sqoop.lib
Contains a set of methods which can read db columns from a ResultSet into Java types, and do serialization of these types to/from DataInput/DataOutput for use with Hadoop's Writable implementation.
JobBase - Class in com.cloudera.sqoop.mapreduce
Base class for configuring and running a MapReduce job.
JobBase() - Constructor for class com.cloudera.sqoop.mapreduce.JobBase
 
JobBase(SqoopOptions) - Constructor for class com.cloudera.sqoop.mapreduce.JobBase
 
JobBase(SqoopOptions, Class<? extends Mapper>, Class<? extends InputFormat>, Class<? extends OutputFormat>) - Constructor for class com.cloudera.sqoop.mapreduce.JobBase
 
join() - Method in class com.cloudera.sqoop.util.AsyncSink
Wait until the stream has been processed.
join() - Method in class com.cloudera.sqoop.util.ErrorableAsyncSink
 
join() - Method in class com.cloudera.sqoop.util.LoggingAsyncSink
 
join() - Method in class com.cloudera.sqoop.util.NullAsyncSink
 

L

LargeObjectLoader - Class in com.cloudera.sqoop.lib
Contains a set of methods which can read db columns from a ResultSet into Java types, and do serialization of these types to/from DataInput/DataOutput for use with Hadoop's Writable implementation.
LargeObjectLoader(Configuration, Path) - Constructor for class com.cloudera.sqoop.lib.LargeObjectLoader
Create a new LargeObjectLoader.
LATEST_LOB_VERSION - Static variable in class com.cloudera.sqoop.io.LobFile
 
LINES_TERMINATED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
listDatabases() - Method in class com.cloudera.sqoop.manager.ConnManager
Return a list of all databases on a server.
listDatabases() - Method in class com.cloudera.sqoop.manager.HsqldbManager
Return list of databases hosted by the server.
listDatabases() - Method in class com.cloudera.sqoop.manager.MySQLManager
 
listDatabases() - Method in class com.cloudera.sqoop.manager.SqlManager
 
ListDatabasesTool - Class in com.cloudera.sqoop.tool
Tool that lists available databases on a server.
ListDatabasesTool() - Constructor for class com.cloudera.sqoop.tool.ListDatabasesTool
 
listTables() - Method in class com.cloudera.sqoop.manager.ConnManager
Return a list of all tables in a database.
listTables() - Method in class com.cloudera.sqoop.manager.SqlManager
 
ListTablesTool - Class in com.cloudera.sqoop.tool
Tool that lists available tables in a database.
ListTablesTool() - Constructor for class com.cloudera.sqoop.tool.ListTablesTool
 
loadJars(Configuration, String, String) - Method in class com.cloudera.sqoop.mapreduce.JobBase
If jars must be loaded into the local environment, do so here.
loadLargeObjects(LargeObjectLoader) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
LobFile - Class in com.cloudera.sqoop.io
File format which stores large object records.
LobFile.Reader - Class in com.cloudera.sqoop.io
Class that can read a LobFile.
LobFile.Reader() - Constructor for class com.cloudera.sqoop.io.LobFile.Reader
 
LobFile.Writer - Class in com.cloudera.sqoop.io
Class that writes out a LobFile.
LobFile.Writer() - Constructor for class com.cloudera.sqoop.io.LobFile.Writer
 
LobReaderCache - Class in com.cloudera.sqoop.io
A cache of open LobFile.Reader objects.
LobRef<DATATYPE,CONTAINERTYPE,ACCESSORTYPE> - Class in com.cloudera.sqoop.lib
Abstract base class that holds a reference to a Blob or a Clob.
LobRef() - Constructor for class com.cloudera.sqoop.lib.LobRef
 
LobRef(CONTAINERTYPE) - Constructor for class com.cloudera.sqoop.lib.LobRef
 
LobRef(String, long, long) - Constructor for class com.cloudera.sqoop.lib.LobRef
 
LobSerializer - Class in com.cloudera.sqoop.lib
Serialize LOB classes to/from DataInput and DataOutput objects.
LOG - Static variable in class com.cloudera.sqoop.cli.SqoopParser
 
LOG - Static variable in class com.cloudera.sqoop.ConnFactory
 
LOG - Static variable in class com.cloudera.sqoop.hive.HiveImport
 
LOG - Static variable in class com.cloudera.sqoop.hive.HiveTypes
 
LOG - Static variable in class com.cloudera.sqoop.hive.TableDefWriter
 
LOG - Static variable in class com.cloudera.sqoop.io.LobFile
 
LOG - Static variable in class com.cloudera.sqoop.io.LobReaderCache
 
LOG - Static variable in class com.cloudera.sqoop.io.SplittableBufferedWriter
 
LOG - Static variable in class com.cloudera.sqoop.io.SplittingOutputStream
 
LOG - Static variable in class com.cloudera.sqoop.lib.BlobRef
 
LOG - Static variable in class com.cloudera.sqoop.lib.LobRef
 
LOG - Static variable in class com.cloudera.sqoop.lib.RecordParser
 
LOG - Static variable in class com.cloudera.sqoop.manager.DefaultManagerFactory
 
LOG - Static variable in class com.cloudera.sqoop.manager.DirectMySQLManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.DirectPostgresqlManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.GenericJdbcManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.HsqldbManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.MySQLManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
LOG - Static variable in class com.cloudera.sqoop.manager.OracleManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.PostgresqlManager
 
LOG - Static variable in class com.cloudera.sqoop.manager.SqlManager
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.AutoProgressMapper
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.DataDrivenImportJob
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.ImportJobBase
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.JdbcExportJob
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.JobBase
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.MySQLDumpImportJob
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.MySQLDumpMapper
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.MySQLExportJob
 
LOG - Static variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
LOG - Static variable in class com.cloudera.sqoop.orm.ClassWriter
 
LOG - Static variable in class com.cloudera.sqoop.orm.CompilationManager
 
LOG - Static variable in class com.cloudera.sqoop.orm.TableClassName
 
LOG - Static variable in class com.cloudera.sqoop.shims.ShimLoader
 
LOG - Static variable in class com.cloudera.sqoop.Sqoop
 
LOG - Static variable in class com.cloudera.sqoop.SqoopOptions
 
LOG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.CodeGenTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.CreateHiveTableTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.EvalSqlTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.ExportTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.ImportAllTablesTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.ImportTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.ListDatabasesTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.ListTablesTool
 
LOG - Static variable in class com.cloudera.sqoop.tool.SqoopTool
 
LOG - Static variable in class com.cloudera.sqoop.util.AppendUtils
 
LOG - Static variable in class com.cloudera.sqoop.util.ClassLoaderStack
 
LOG - Static variable in class com.cloudera.sqoop.util.DirectImportUtils
 
LOG - Static variable in class com.cloudera.sqoop.util.Executor
 
LOG - Static variable in class com.cloudera.sqoop.util.JdbcUrl
 
LOG - Static variable in class com.cloudera.sqoop.util.LoggingAsyncSink
 
LOG - Static variable in class com.cloudera.sqoop.util.NullAsyncSink
 
LOG - Static variable in class com.cloudera.sqoop.util.ResultSetPrinter
 
LOG - Static variable in class com.cloudera.sqoop.util.SubprocessSecurityManager
 
LoggingAsyncSink - Class in com.cloudera.sqoop.util
An AsyncSink that takes the contents of a stream and writes it to log4j.
LoggingAsyncSink(Log) - Constructor for class com.cloudera.sqoop.util.LoggingAsyncSink
 
LZO - Static variable in class com.cloudera.sqoop.io.CodecMap
 

M

main(String[]) - Static method in class com.cloudera.sqoop.Sqoop
 
main(String...) - Static method in class com.cloudera.sqoop.util.FileListing
Demonstrate use.
makeConnection() - Method in class com.cloudera.sqoop.manager.OracleManager
Create a connection to the database; usually used only from within getConnection(), which enforces a singleton guarantee around the Connection object.
makeConnection() - Method in class com.cloudera.sqoop.manager.SqlManager
Create a connection to the database; usually used only from within getConnection(), which enforces a singleton guarantee around the Connection object.
manager - Variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
ManagerFactory - Class in com.cloudera.sqoop.manager
Interface for factory classes for ConnManager implementations.
ManagerFactory() - Constructor for class com.cloudera.sqoop.manager.ManagerFactory
 
map(String, NullWritable, Mapper<String, NullWritable, String, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLDumpMapper
Import the table into HDFS by using mysqldump to pull out the data from the database and upload the files directly to HDFS.
map(LongWritable, SqoopRecord, Mapper<LongWritable, SqoopRecord, NullWritable, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLRecordExportMapper
Export the table to MySQL by using mysqlimport to write the data to the database.
map(LongWritable, Text, Mapper<LongWritable, Text, NullWritable, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLTextExportMapper
Export the table to MySQL by using mysqlimport to write the data to the database.
map(LongWritable, SqoopRecord, Mapper<LongWritable, SqoopRecord, SqoopRecord, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.SequenceFileExportMapper
 
map(LongWritable, SqoopRecord, Mapper<LongWritable, SqoopRecord, LongWritable, SqoopRecord>.Context) - Method in class com.cloudera.sqoop.mapreduce.SequenceFileImportMapper
 
map(LongWritable, Text, Mapper<LongWritable, Text, SqoopRecord, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.TextExportMapper
 
map(LongWritable, SqoopRecord, Mapper<LongWritable, SqoopRecord, Text, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.TextImportMapper
 
mapperClass - Variable in class com.cloudera.sqoop.mapreduce.JobBase
 
markWarningPrinted() - Static method in class com.cloudera.sqoop.manager.MySQLManager
Set a flag to prevent printing the --direct warning twice.
MAX_BLOB_LENGTH - Static variable in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
MAX_CLOB_LENGTH - Static variable in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
MAX_INLINE_LOB_LEN_KEY - Static variable in class com.cloudera.sqoop.lib.LargeObjectLoader
 
MAX_PROGRESS_PERIOD_KEY - Static variable in class com.cloudera.sqoop.mapreduce.AutoProgressMapper
 
merge() - Method in class com.cloudera.sqoop.cli.ToolOptions
Flatten the different sets of related options into a single collection of options.
MYSQL_CHECKPOINT_BYTES_KEY - Static variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
Configuration key that specifies the number of bytes before which it commits the current export transaction and opens a new one.
MYSQL_DEFAULT_CHARSET - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
MYSQL_DELIMITERS - Static variable in class com.cloudera.sqoop.lib.DelimiterSet
 
MYSQL_DELIMITERS_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
MYSQL_DUMP_CMD - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
MYSQL_IMPORT_CMD - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
mysqlCharSet - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
Character set used to write to mysqlimport.
MySQLDumpImportJob - Class in com.cloudera.sqoop.mapreduce
Class that runs an import job using mysqldump in the mapper.
MySQLDumpImportJob(SqoopOptions, ImportJobContext) - Constructor for class com.cloudera.sqoop.mapreduce.MySQLDumpImportJob
 
MySQLDumpMapper - Class in com.cloudera.sqoop.mapreduce
Mapper that opens up a pipe to mysqldump and pulls data directly.
MySQLDumpMapper() - Constructor for class com.cloudera.sqoop.mapreduce.MySQLDumpMapper
 
MySQLExportJob - Class in com.cloudera.sqoop.mapreduce
Class that runs an export job using mysqlimport in the mapper.
MySQLExportJob(ExportJobContext) - Constructor for class com.cloudera.sqoop.mapreduce.MySQLExportJob
 
MySQLExportMapper<KEYIN,VALIN> - Class in com.cloudera.sqoop.mapreduce
Mapper that starts a 'mysqlimport' process and uses that to export rows from HDFS to a MySQL database at high speed.
MySQLExportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
mysqlImportProcess - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
The process object representing the active connection to mysqlimport.
MySQLManager - Class in com.cloudera.sqoop.manager
Manages connections to MySQL databases.
MySQLManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.MySQLManager
 
MySQLManager(SqoopOptions, boolean) - Constructor for class com.cloudera.sqoop.manager.MySQLManager
 
MySQLRecordExportMapper - Class in com.cloudera.sqoop.mapreduce
mysqlimport-based exporter which accepts SqoopRecords (e.g., from SequenceFiles) to emit to the database.
MySQLRecordExportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.MySQLRecordExportMapper
 
MySQLTextExportMapper - Class in com.cloudera.sqoop.mapreduce
mysqlimport-based exporter which accepts lines of text from files in HDFS to emit to the database.
MySQLTextExportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.MySQLTextExportMapper
 
MySQLUtils - Class in com.cloudera.sqoop.manager
Helper methods and constants for MySQL imports/exports.

N

newLine() - Method in class com.cloudera.sqoop.io.SplittableBufferedWriter
 
next() - Method in class com.cloudera.sqoop.io.LobFile.Reader
Advances to the next record in the file.
NONE - Static variable in class com.cloudera.sqoop.io.CodecMap
 
NULL_CHAR - Static variable in class com.cloudera.sqoop.lib.DelimiterSet
 
NullAsyncSink - Class in com.cloudera.sqoop.util
An AsyncSink that takes the contents of a stream and ignores it.
NullAsyncSink() - Constructor for class com.cloudera.sqoop.util.NullAsyncSink
 
NUM_MAPPERS_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
NUM_MAPPERS_SHORT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 

O

open(Path, Configuration) - Static method in class com.cloudera.sqoop.io.LobFile
Creates a LobFile Reader configured to read from the specified file.
OPTIONALLY_ENCLOSED_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
options - Variable in class com.cloudera.sqoop.manager.SqlManager
 
options - Variable in class com.cloudera.sqoop.mapreduce.JobBase
 
ORACLE_TIMEZONE_KEY - Static variable in class com.cloudera.sqoop.manager.OracleManager
 
OracleManager - Class in com.cloudera.sqoop.manager
Manages connections to Oracle databases.
OracleManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.OracleManager
 
OUTPUT_ENCLOSE_REQUIRED_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
OUTPUT_ENCLOSED_BY_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
OUTPUT_ESCAPED_BY_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
OUTPUT_FIELD_DELIM_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
OUTPUT_RECORD_DELIM_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
outputDelimsAreMySQL(Configuration) - Static method in class com.cloudera.sqoop.manager.MySQLUtils
 
outputFormatClass - Variable in class com.cloudera.sqoop.mapreduce.JobBase
 
outSink - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 

P

PACKAGE_NAME_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
parse(String) - Static method in class com.cloudera.sqoop.lib.BlobRef
Create a BlobRef based on parsed data from a line of text.
parse(String) - Static method in class com.cloudera.sqoop.lib.ClobRef
Create a ClobRef based on parsed data from a line of text.
parse(CharSequence) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
parse(Text) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
parse(byte[]) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
parse(char[]) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
parse(ByteBuffer) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
parse(CharBuffer) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
parseArguments(String[], Configuration, SqoopOptions, boolean) - Method in class com.cloudera.sqoop.tool.SqoopTool
Configures a SqoopOptions according to the specified arguments.
parseGenericOptions(Configuration, String[]) - Method in class com.cloudera.sqoop.shims.HadoopShim
Parse arguments in 'args' via the GenericOptionsParser and embed the results in the supplied configuration.
parseRecord(CharSequence) - Method in class com.cloudera.sqoop.lib.RecordParser
Return a list of strings representing the fields of the input line.
parseRecord(Text) - Method in class com.cloudera.sqoop.lib.RecordParser
Return a list of strings representing the fields of the input line.
parseRecord(byte[]) - Method in class com.cloudera.sqoop.lib.RecordParser
Return a list of strings representing the fields of the input line.
parseRecord(char[]) - Method in class com.cloudera.sqoop.lib.RecordParser
Return a list of strings representing the fields of the input line.
parseRecord(ByteBuffer) - Method in class com.cloudera.sqoop.lib.RecordParser
 
parseRecord(CharBuffer) - Method in class com.cloudera.sqoop.lib.RecordParser
Return a list of strings representing the fields of the input line.
PASSWORD_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
PASSWORD_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
PASSWORD_PROMPT_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
passwordFile - Variable in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
File object where we wrote the user's password to pass to mysqlimport.
PerfCounters - Class in com.cloudera.sqoop.util
A quick set of performance counters for reporting import speed.
PerfCounters() - Constructor for class com.cloudera.sqoop.util.PerfCounters
 
PostgresqlManager - Class in com.cloudera.sqoop.manager
Manages connections to Postgresql databases.
PostgresqlManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.PostgresqlManager
 
PostgresqlManager(SqoopOptions, boolean) - Constructor for class com.cloudera.sqoop.manager.PostgresqlManager
 
printHelp() - Method in class com.cloudera.sqoop.cli.ToolOptions
Print the help to the console using a default help formatter.
printHelp(HelpFormatter) - Method in class com.cloudera.sqoop.cli.ToolOptions
Print the help to the console using the specified help formatter.
printHelp(HelpFormatter, PrintWriter) - Method in class com.cloudera.sqoop.cli.ToolOptions
Print the help to the specified PrintWriter, using the specified help formatter.
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.CodeGenTool
 
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.CreateHiveTableTool
 
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.ExportTool
 
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.HelpTool
 
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
 
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.SqoopTool
Print the help message for this tool.
printHelp(ToolOptions) - Method in class com.cloudera.sqoop.tool.VersionTool
 
printResultSet(PrintWriter, ResultSet) - Method in class com.cloudera.sqoop.util.ResultSetPrinter
Format the contents of the ResultSet into something that could be printed neatly; the results are appended to the supplied StringBuilder.
processArgs(Option, ListIterator) - Method in class com.cloudera.sqoop.cli.SqoopParser
 
processStream(InputStream) - Method in class com.cloudera.sqoop.util.AsyncSink
Create and run a thread to handle input from the provided InputStream.
processStream(InputStream) - Method in class com.cloudera.sqoop.util.LoggingAsyncSink
 
processStream(InputStream) - Method in class com.cloudera.sqoop.util.NullAsyncSink
 

Q

qualify(Path, Configuration) - Static method in class com.cloudera.sqoop.io.LobReaderCache
Created a fully-qualified path object.

R

read() - Method in class com.cloudera.sqoop.io.FixedLengthInputStream
 
read(byte[]) - Method in class com.cloudera.sqoop.io.FixedLengthInputStream
 
read(byte[], int, int) - Method in class com.cloudera.sqoop.io.FixedLengthInputStream
 
readBigDecimal(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readBlobFields(DataInput) - Static method in class com.cloudera.sqoop.lib.LobSerializer
 
readBlobRecord() - Method in class com.cloudera.sqoop.io.LobFile.Reader
 
readBlobRef(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readBlobRef(int, ResultSet) - Method in class com.cloudera.sqoop.lib.LargeObjectLoader
Actually read a BlobRef instance from the ResultSet and materialize the data either inline or to a file.
readBoolean(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readBytesWritable(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readClobFields(DataInput) - Static method in class com.cloudera.sqoop.lib.LobSerializer
 
readClobRecord() - Method in class com.cloudera.sqoop.io.LobFile.Reader
 
readClobRef(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readClobRef(int, ResultSet) - Method in class com.cloudera.sqoop.lib.LargeObjectLoader
Actually read a ClobRef instance from the ResultSet and materialize the data either inline or to a file.
readDate(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readDouble(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readFields(DataInput) - Static method in class com.cloudera.sqoop.lib.BigDecimalSerializer
 
readFields(DataInput) - Method in class com.cloudera.sqoop.lib.LobRef
 
readFieldsInternal(DataInput) - Method in class com.cloudera.sqoop.lib.BlobRef
 
readFieldsInternal(DataInput) - Method in class com.cloudera.sqoop.lib.ClobRef
 
readFieldsInternal(DataInput) - Method in class com.cloudera.sqoop.lib.LobRef
Perform the readFields() operation on a fully-materializable record.
readFloat(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readInteger(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readLong(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readString(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readTable(String, String[]) - Method in class com.cloudera.sqoop.manager.ConnManager
Execute a SQL statement to read the named set of columns from a table.
readTable(String, String[]) - Method in class com.cloudera.sqoop.manager.OracleManager
 
readTable(String, String[]) - Method in class com.cloudera.sqoop.manager.SqlManager
 
readTime(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
readTimestamp(int, ResultSet) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
RecordParser - Class in com.cloudera.sqoop.lib
Parses a record containing one or more fields.
RecordParser(DelimiterSet) - Constructor for class com.cloudera.sqoop.lib.RecordParser
 
RecordParser.ParseError - Exception in com.cloudera.sqoop.lib
An error thrown when parsing fails.
RecordParser.ParseError() - Constructor for exception com.cloudera.sqoop.lib.RecordParser.ParseError
 
RecordParser.ParseError(String) - Constructor for exception com.cloudera.sqoop.lib.RecordParser.ParseError
 
RecordParser.ParseError(String, Throwable) - Constructor for exception com.cloudera.sqoop.lib.RecordParser.ParseError
 
RecordParser.ParseError(Throwable) - Constructor for exception com.cloudera.sqoop.lib.RecordParser.ParseError
 
recursiveDeleteDir(File) - Static method in class com.cloudera.sqoop.util.FileListing
Recursively delete a directory and all its children.
recycle(LobFile.Reader) - Method in class com.cloudera.sqoop.io.LobReaderCache
Return a reader back to the cache.
RelatedOptions - Class in com.cloudera.sqoop.cli
Class that extends a set of options to provide a title for a related set of options.
RelatedOptions() - Constructor for class com.cloudera.sqoop.cli.RelatedOptions
 
RelatedOptions(String) - Constructor for class com.cloudera.sqoop.cli.RelatedOptions
 
release() - Method in class com.cloudera.sqoop.manager.ConnManager
If a method of this ConnManager has returned a ResultSet to you, you are responsible for calling release() after you close the ResultSet object, to free internal resources.
release() - Method in class com.cloudera.sqoop.manager.MySQLManager
 
release() - Method in class com.cloudera.sqoop.manager.PostgresqlManager
 
release() - Method in class com.cloudera.sqoop.manager.SqlManager
 
REPORT_INTERVAL_KEY - Static variable in class com.cloudera.sqoop.mapreduce.AutoProgressMapper
 
ResultSetPrinter - Class in com.cloudera.sqoop.util
Utility methods to format and print ResultSet objects.
ResultSetPrinter() - Constructor for class com.cloudera.sqoop.util.ResultSetPrinter
 
run(Mapper<KEYIN, VALIN, KEYOUT, VALOUT>.Context) - Method in class com.cloudera.sqoop.mapreduce.AutoProgressMapper
Run the mapping process for this task, wrapped in an auto-progress system.
run(Mapper<KEYIN, VALIN, NullWritable, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
run(String[]) - Method in class com.cloudera.sqoop.Sqoop
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.CodeGenTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.CreateHiveTableTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.EvalSqlTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ExportTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.HelpTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ImportAllTablesTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ListDatabasesTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ListTablesTool
 
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.SqoopTool
Main body of code to run the tool.
run(SqoopOptions) - Method in class com.cloudera.sqoop.tool.VersionTool
 
runExport() - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
Run an export job to dump a table from HDFS to a database.
runImport(String, String, String, Configuration) - Method in class com.cloudera.sqoop.mapreduce.ImportJobBase
Run an import job to read a table in to HDFS.
runJob(Job) - Method in class com.cloudera.sqoop.mapreduce.ExportJobBase
 
runJob(Job) - Method in class com.cloudera.sqoop.mapreduce.ImportJobBase
Actually run the MapReduce job.
runJob(Job) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Actually run the MapReduce job.
runSqoop(Sqoop, String[]) - Static method in class com.cloudera.sqoop.Sqoop
Given a Sqoop object and a set of arguments to deliver to its embedded SqoopTool, run the tool, wrapping the call to ToolRunner.
runTool(String[]) - Static method in class com.cloudera.sqoop.Sqoop
Entry-point that parses the correct SqoopTool to use from the args, but does not call System.exit() as main() will.

S

seek(long) - Method in class com.cloudera.sqoop.io.LobFile.Reader
Move the file pointer to the first available full record beginning at position 'pos', relative to the start of the file.
SequenceFileExportMapper - Class in com.cloudera.sqoop.mapreduce
Reads a SqoopRecord from the SequenceFile in which it's packed and emits that DBWritable to the OutputFormat for writeback to the database.
SequenceFileExportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.SequenceFileExportMapper
 
SequenceFileImportMapper - Class in com.cloudera.sqoop.mapreduce
Imports records by writing them to a SequenceFile.
SequenceFileImportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.SequenceFileImportMapper
 
setAppendMode(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
 
setClassName(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setCodeOutputDir(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setColumns(String[]) - Method in class com.cloudera.sqoop.SqoopOptions
 
setConf(Configuration) - Method in class com.cloudera.sqoop.SqoopOptions
 
setConnectString(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setCurrentClassLoader(ClassLoader) - Static method in class com.cloudera.sqoop.util.ClassLoaderStack
Sets the classloader for the current thread.
setDataObj(CONTAINERTYPE) - Method in class com.cloudera.sqoop.lib.LobRef
Internal API to set the data object.
setDebugSqlCmd(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setDirectMode(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
 
setDirectSplitSize(long) - Method in class com.cloudera.sqoop.SqoopOptions
 
setDriverClassName(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setEnclosedBy(char) - Method in class com.cloudera.sqoop.lib.DelimiterSet
Sets the enclosed-by character.
setEnclosedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the enclosed-by character to use when formatting lines.
setEncloseRequired(boolean) - Method in class com.cloudera.sqoop.lib.DelimiterSet
Set whether the enclosed-by character must be applied to all fields, or only fields with embedded delimiters.
setError() - Method in class com.cloudera.sqoop.util.ErrorableThread
 
setEscapedBy(char) - Method in class com.cloudera.sqoop.lib.DelimiterSet
Sets the escaped-by character.
setEscapedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the escaped-by character to use when formatting lines.
setExistingJarName(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setExplicitDelims(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
Flag the delimiter settings as explicit user settings, or implicit.
setExportDir(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setExtraArgs(String[]) - Method in class com.cloudera.sqoop.SqoopOptions
 
setFieldsTerminatedBy(char) - Method in class com.cloudera.sqoop.lib.DelimiterSet
Sets the fields-terminated-by character.
setFieldsTerminatedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the field delimiter to use when formatting lines.
setFileLayout(SqoopOptions.FileLayout) - Method in class com.cloudera.sqoop.SqoopOptions
 
setFilePermissions(File, String) - Static method in class com.cloudera.sqoop.util.DirectImportUtils
Executes chmod on the specified file, passing in the mode string 'modstr' which may be e.g.
setHadoopHome(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setHiveHome(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setHiveImport(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
 
setHiveTableName(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setInlineLobLimit(long) - Method in class com.cloudera.sqoop.SqoopOptions
 
setInputEnclosedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the enclosed-by character to use when parsing lines.
setInputEncloseRequired(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
If true, then all input fields are expected to be enclosed by the enclosed-by character when parsing.
setInputEscapedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the escaped-by character to use when parsing lines.
setInputFieldsTerminatedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the field delimiter to use when parsing lines.
setInputFormat(Class<? extends InputFormat>) - Method in class com.cloudera.sqoop.manager.ImportJobContext
Set the InputFormat to use for the import job.
setInputFormatClass(Class<? extends InputFormat>) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Set the InputFormat class to use for this job.
setInputLinesTerminatedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the record delimiter to use when parsing lines.
setJarOutputDir(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setJobMapSpeculativeExecution(Job, boolean) - Method in class com.cloudera.sqoop.shims.HadoopShim
Set the mapper speculative execution property for a job.
setJobNumMaps(Job, int) - Method in class com.cloudera.sqoop.shims.HadoopShim
Set the (hinted) number of map tasks for a job.
setJobtrackerAddr(Configuration, String) - Method in class com.cloudera.sqoop.shims.HadoopShim
Sets the Jobtracker address to use for a job.
setLinesTerminatedBy(char) - Method in class com.cloudera.sqoop.lib.DelimiterSet
Sets the end-of-record lines-terminated-by character.
setLinesTerminatedBy(char) - Method in class com.cloudera.sqoop.SqoopOptions
Set the record delimiter to use when formatting lines.
setManager(ConnManager) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
setMapperClass(Class<? extends Mapper>) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Set the Mapper class to use for this job.
setNumMappers(int) - Method in class com.cloudera.sqoop.SqoopOptions
 
setOptions(SqoopOptions) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Set the SqoopOptions configuring this job.
setOutputDelimiters(DelimiterSet) - Method in class com.cloudera.sqoop.SqoopOptions
Set the complete set of delimiters to use for output formatting.
setOutputEncloseRequired(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
If true, then the enclosed-by character will be applied to all fields, even if internal characters do not need enclosed-by protection.
setOutputFormatClass(Class<? extends OutputFormat>) - Method in class com.cloudera.sqoop.mapreduce.JobBase
Set the OutputFormat class to use for this job.
setOverwriteHiveTable(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
 
setPackageName(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setPassword(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setPasswordFromConsole() - Method in class com.cloudera.sqoop.SqoopOptions
Set the password in this SqoopOptions from the console without printing characters.
setSplitByCol(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setTableName(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setTargetDir(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setTmpDir(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setToolName(String) - Method in class com.cloudera.sqoop.tool.SqoopTool
 
setup(Mapper<String, NullWritable, String, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLDumpMapper
 
setup(Mapper<KEYIN, VALIN, NullWritable, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
 
setup(Mapper<LongWritable, Text, NullWritable, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.MySQLTextExportMapper
 
setup(Mapper<LongWritable, SqoopRecord, LongWritable, SqoopRecord>.Context) - Method in class com.cloudera.sqoop.mapreduce.SequenceFileImportMapper
 
setup(Mapper<LongWritable, Text, SqoopRecord, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.TextExportMapper
 
setup(Mapper<LongWritable, SqoopRecord, Text, NullWritable>.Context) - Method in class com.cloudera.sqoop.mapreduce.TextImportMapper
 
setUseCompression(boolean) - Method in class com.cloudera.sqoop.SqoopOptions
 
setUsername(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setWarehouseDir(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
setWhereClause(String) - Method in class com.cloudera.sqoop.SqoopOptions
 
SHIM_JAR_DIR_PROPERTY - Static variable in class com.cloudera.sqoop.shims.ShimLoader
Which directory Sqoop checks for shim jars.
ShimLoader - Class in com.cloudera.sqoop.shims
Provides a service locator for the appropriate shim, dynamically chosen based on the Hadoop version in the classpath.
shouldUseCompression() - Method in class com.cloudera.sqoop.SqoopOptions
 
SLEEP_INTERVAL_KEY - Static variable in class com.cloudera.sqoop.mapreduce.AutoProgressMapper
 
SPLIT_BY_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
SplittableBufferedWriter - Class in com.cloudera.sqoop.io
A BufferedWriter implementation that wraps around a SplittingOutputStream and allows splitting of the underlying stream.
SplittableBufferedWriter(SplittingOutputStream) - Constructor for class com.cloudera.sqoop.io.SplittableBufferedWriter
 
SplittingOutputStream - Class in com.cloudera.sqoop.io
An output stream that writes to an underlying filesystem, opening a new file after a specified number of bytes have been written to the current one.
SplittingOutputStream(Configuration, Path, String, long, boolean) - Constructor for class com.cloudera.sqoop.io.SplittingOutputStream
Create a new SplittingOutputStream.
SqlManager - Class in com.cloudera.sqoop.manager
ConnManager implementation for generic SQL-compliant database.
SqlManager(SqoopOptions) - Constructor for class com.cloudera.sqoop.manager.SqlManager
Constructs the SqlManager.
Sqoop - Class in com.cloudera.sqoop
Main entry-point for Sqoop Usage: hadoop jar (this_jar_name) com.cloudera.sqoop.Sqoop (options) See the SqoopOptions class for options.
Sqoop(SqoopTool) - Constructor for class com.cloudera.sqoop.Sqoop
Creates a new instance of Sqoop set to run the supplied SqoopTool with the default configuration.
Sqoop(SqoopTool, Configuration) - Constructor for class com.cloudera.sqoop.Sqoop
Creates a new instance of Sqoop set to run the supplied SqoopTool with the provided configuration.
Sqoop(SqoopTool, Configuration, SqoopOptions) - Constructor for class com.cloudera.sqoop.Sqoop
Creates a new instance of Sqoop set to run the supplied SqoopTool with the provided configuration and SqoopOptions.
SQOOP_EXPORT_TABLE_CLASS_KEY - Static variable in class com.cloudera.sqoop.mapreduce.ExportJobBase
What SqoopRecord class to use to read a record for export.
SQOOP_RETHROW_PROPERTY - Static variable in class com.cloudera.sqoop.Sqoop
If this System property is set, always throw an exception, do not just exit with status 1.
SqoopOptions - Class in com.cloudera.sqoop
Command-line arguments used by Sqoop.
SqoopOptions() - Constructor for class com.cloudera.sqoop.SqoopOptions
 
SqoopOptions(Configuration) - Constructor for class com.cloudera.sqoop.SqoopOptions
 
SqoopOptions(String, String) - Constructor for class com.cloudera.sqoop.SqoopOptions
Alternate SqoopOptions interface used mostly for unit testing.
SqoopOptions.FileLayout - Enum in com.cloudera.sqoop
Selects in-HDFS destination file format.
SqoopOptions.InvalidOptionsException - Exception in com.cloudera.sqoop
Thrown when invalid cmdline options are given.
SqoopOptions.InvalidOptionsException(String) - Constructor for exception com.cloudera.sqoop.SqoopOptions.InvalidOptionsException
 
SqoopParser - Class in com.cloudera.sqoop.cli
Options parser that follows Sqoop's specific options-parsing needs.
SqoopParser() - Constructor for class com.cloudera.sqoop.cli.SqoopParser
 
SqoopRecord - Class in com.cloudera.sqoop.lib
Interface implemented by the classes generated by sqoop's orm.ClassWriter.
SqoopRecord() - Constructor for class com.cloudera.sqoop.lib.SqoopRecord
 
SqoopTool - Class in com.cloudera.sqoop.tool
Base class for Sqoop subprograms (e.g., SqoopImport, SqoopExport, etc.) Allows subprograms to configure the arguments they accept and provides an entry-point to the subprogram.
SqoopTool() - Constructor for class com.cloudera.sqoop.tool.SqoopTool
 
SqoopTool(String) - Constructor for class com.cloudera.sqoop.tool.SqoopTool
 
startClock() - Method in class com.cloudera.sqoop.util.PerfCounters
 
stopClock() - Method in class com.cloudera.sqoop.util.PerfCounters
 
SubprocessSecurityManager - Class in com.cloudera.sqoop.util
A SecurityManager used to run subprocesses and disallow certain actions.
SubprocessSecurityManager() - Constructor for class com.cloudera.sqoop.util.SubprocessSecurityManager
 

T

TABLE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
TABLE_NAME_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
TableClassName - Class in com.cloudera.sqoop.orm
Reconciles the table name being imported with the class naming information specified in SqoopOptions to determine the actual package and class name to use for a table.
TableClassName(SqoopOptions) - Constructor for class com.cloudera.sqoop.orm.TableClassName
 
TableDefWriter - Class in com.cloudera.sqoop.hive
Creates (Hive-specific) SQL DDL statements to create tables to hold data we're importing from another source.
TableDefWriter(SqoopOptions, ConnManager, String, String, Configuration, boolean) - Constructor for class com.cloudera.sqoop.hive.TableDefWriter
Creates a new TableDefWriter to generate a Hive CREATE TABLE statement.
TARGET_DIR_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
TaskId - Class in com.cloudera.sqoop.util
Utility class; returns task attempt Id of the current job regardless of Hadoop version being used.
tell() - Method in class com.cloudera.sqoop.io.LobFile.Reader
Report the current position in the file.
tell() - Method in class com.cloudera.sqoop.io.LobFile.Writer
Report the current position in the output file.
TextExportMapper - Class in com.cloudera.sqoop.mapreduce
Converts an input record from a string representation to a parsed Sqoop record and emits that DBWritable to the OutputFormat for writeback to the database.
TextExportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.TextExportMapper
 
TextImportMapper - Class in com.cloudera.sqoop.mapreduce
Imports records by transforming them to strings for a plain-text flat file.
TextImportMapper() - Constructor for class com.cloudera.sqoop.mapreduce.TextImportMapper
 
toChar(String) - Static method in class com.cloudera.sqoop.SqoopOptions
Given a string containing a single character or an escape sequence representing a char, return that char itself.
toHiveType(int) - Static method in class com.cloudera.sqoop.hive.HiveTypes
Given JDBC SQL types coming from another database, what is the best mapping to a Hive-specific type?
toHiveType(int) - Method in class com.cloudera.sqoop.manager.ConnManager
Return hive type for SQL type.
toHiveType(int) - Method in class com.cloudera.sqoop.manager.OracleManager
Attempt to map sql type to hive type.
toHiveType(int) - Method in class com.cloudera.sqoop.manager.SqlManager
Resolve a database-specific type to Hive data type.
toIdentifier(String) - Static method in class com.cloudera.sqoop.orm.ClassWriter
Coerce a candidate name for an identifier into one which will definitely compile.
toJavaType(int) - Method in class com.cloudera.sqoop.manager.ConnManager
Return java type for SQL type.
toJavaType(int) - Method in class com.cloudera.sqoop.manager.OracleManager
Resolve a database-specific type to the Java type that should contain it.
toJavaType(int) - Method in class com.cloudera.sqoop.manager.SqlManager
Resolve a database-specific type to the Java type that should contain it.
ToolOptions - Class in com.cloudera.sqoop.cli
Class that holds several sets of related options, providing a container for all the options associated with a single tool.
ToolOptions() - Constructor for class com.cloudera.sqoop.cli.ToolOptions
 
toString() - Method in class com.cloudera.sqoop.cli.RelatedOptions
 
toString() - Method in class com.cloudera.sqoop.cli.ToolOptions
 
toString() - Method in class com.cloudera.sqoop.lib.DelimiterSet
 
toString() - Method in class com.cloudera.sqoop.lib.LobRef
 
toString() - Method in class com.cloudera.sqoop.lib.RecordParser
 
toString(DelimiterSet) - Method in class com.cloudera.sqoop.lib.SqoopRecord
 
toString() - Method in exception com.cloudera.sqoop.SqoopOptions.InvalidOptionsException
 
toString() - Method in class com.cloudera.sqoop.tool.SqoopTool
 
toString() - Method in exception com.cloudera.sqoop.util.ExitSecurityException
 
toString() - Method in exception com.cloudera.sqoop.util.ExportException
 
toString() - Method in exception com.cloudera.sqoop.util.ImportException
 
toString() - Method in class com.cloudera.sqoop.util.PerfCounters
 

U

uninstall() - Method in class com.cloudera.sqoop.util.SubprocessSecurityManager
Restore an existing SecurityManager, uninstalling this one.
unloadJars() - Method in class com.cloudera.sqoop.mapreduce.JobBase
If any classloader was invoked by loadJars, free it here.
UnsupportedCodecException - Exception in com.cloudera.sqoop.io
Thrown when a compression codec cannot be recognized.
UnsupportedCodecException() - Constructor for exception com.cloudera.sqoop.io.UnsupportedCodecException
 
UnsupportedCodecException(String) - Constructor for exception com.cloudera.sqoop.io.UnsupportedCodecException
 
UnsupportedCodecException(Throwable) - Constructor for exception com.cloudera.sqoop.io.UnsupportedCodecException
 
USERNAME_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
USERNAME_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 

V

validateCodeGenOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
validateCommonOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
validateExportOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ExportTool
Validate export-specific arguments.
validateHiveOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
validateImportOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
Validate import-specific arguments.
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.CodeGenTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.CreateHiveTableTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.EvalSqlTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ExportTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ImportTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ListDatabasesTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.ListTablesTool
 
validateOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.SqoopTool
Validates options and ensures that any required options are present and that any mutually-exclusive options are not selected.
validateOutputFormatOptions(SqoopOptions) - Method in class com.cloudera.sqoop.tool.BaseSqoopTool
 
valueOf(String) - Static method in enum com.cloudera.sqoop.SqoopOptions.FileLayout
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.cloudera.sqoop.SqoopOptions.FileLayout
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
VersionTool - Class in com.cloudera.sqoop.tool
Tool that prints Sqoop's version.
VersionTool() - Constructor for class com.cloudera.sqoop.tool.VersionTool
 

W

WAREHOUSE_DIR_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
WHERE_ARG - Static variable in class com.cloudera.sqoop.tool.BaseSqoopTool
 
WHERE_CLAUSE_KEY - Static variable in class com.cloudera.sqoop.manager.MySQLUtils
 
wouldSplit() - Method in class com.cloudera.sqoop.io.SplittingOutputStream
 
write(byte[]) - Method in class com.cloudera.sqoop.io.SplittingOutputStream
 
write(byte[], int, int) - Method in class com.cloudera.sqoop.io.SplittingOutputStream
 
write(int) - Method in class com.cloudera.sqoop.io.SplittingOutputStream
 
write(BigDecimal, DataOutput) - Static method in class com.cloudera.sqoop.lib.BigDecimalSerializer
 
write(DataOutput) - Method in class com.cloudera.sqoop.lib.LobRef
 
write(PreparedStatement, int) - Method in class com.cloudera.sqoop.lib.SqoopRecord
Inserts the data in this object into the PreparedStatement, starting at parameter 'offset'.
writeBigDecimal(BigDecimal, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeBlob(BlobRef, DataOutput) - Static method in class com.cloudera.sqoop.lib.LobSerializer
 
writeBlobRecord(long) - Method in class com.cloudera.sqoop.io.LobFile.Writer
Declares a new BLOB record to be written to the file.
writeBlobRef(BlobRef, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeBoolean(Boolean, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeBytesWritable(BytesWritable, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeClob(ClobRef, DataOutput) - Static method in class com.cloudera.sqoop.lib.LobSerializer
 
writeClobRecord(long) - Method in class com.cloudera.sqoop.io.LobFile.Writer
Declares a new CLOB record to be written to the file.
writeClobRef(ClobRef, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeDate(Date, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeDouble(Double, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeFloat(Float, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeInteger(Integer, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeInternal(DataOutput) - Method in class com.cloudera.sqoop.lib.BlobRef
 
writeInternal(DataOutput) - Method in class com.cloudera.sqoop.lib.ClobRef
 
writeInternal(DataOutput) - Method in class com.cloudera.sqoop.lib.LobRef
Perform the write() operation on a fully-materializable record.
writeLong(Long, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writePasswordFile(Configuration) - Static method in class com.cloudera.sqoop.manager.MySQLUtils
Writes the user's password to a tmp file with 0600 permissions.
writeRecord(String, String) - Method in class com.cloudera.sqoop.mapreduce.MySQLExportMapper
Takes a delimited text record (e.g., the output of a 'Text' object), re-encodes it for consumption by mysqlimport, and writes it to the pipe.
writeString(String, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeTime(Time, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 
writeTimestamp(Timestamp, int, int, PreparedStatement) - Static method in class com.cloudera.sqoop.lib.JdbcWritableBridge
 

A B C D E F G H I J L M N O P Q R S T U V W

Copyright © 2010 Cloudera, Inc.