|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.sqoop.manager.ConnManager
com.cloudera.sqoop.manager.SqlManager
com.cloudera.sqoop.manager.GenericJdbcManager
com.cloudera.sqoop.manager.PostgresqlManager
com.cloudera.sqoop.manager.DirectPostgresqlManager
public class DirectPostgresqlManager
Manages direct dumps from Postgresql databases via psql COPY TO STDOUT commands.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
|
Fields inherited from class com.cloudera.sqoop.manager.SqlManager |
---|
options |
Constructor Summary | |
---|---|
DirectPostgresqlManager(SqoopOptions opts)
|
Method Summary | |
---|---|
void |
importTable(ImportJobContext context)
Default implementation of importTable() is to launch a MapReduce job via DataDrivenImportJob to read the table with DataDrivenDBInputFormat. |
Methods inherited from class com.cloudera.sqoop.manager.PostgresqlManager |
---|
close, execute, getColNamesQuery, getPrimaryKey, release |
Methods inherited from class com.cloudera.sqoop.manager.GenericJdbcManager |
---|
discardConnection, getConnection, getDriverClass, hasOpenConnection |
Methods inherited from class com.cloudera.sqoop.manager.SqlManager |
---|
execAndPrint, exportTable, formatAndPrintResultSet, getColTypesQuery, getColumnNames, getColumnTypes, getSplitColumn, listDatabases, listTables, makeConnection, readTable, toHiveType, toJavaType |
Methods inherited from class com.cloudera.sqoop.manager.ConnManager |
---|
escapeColName, escapeTableName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public DirectPostgresqlManager(SqoopOptions opts)
Method Detail |
---|
public void importTable(ImportJobContext context) throws java.io.IOException, ImportException
SqlManager
importTable
in class PostgresqlManager
java.io.IOException
ImportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |