@InterfaceAudience.Public @InterfaceStability.Stable public class ImportTsv extends Configured
usage(String)
Modifier and Type | Class and Description |
---|---|
static class |
ImportTsv.TsvParser |
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_SEPERATOR_CONF_KEY |
static String |
BULK_OUTPUT_CONF_KEY |
static String |
COLUMNS_CONF_KEY |
static String |
CREATE_TABLE_CONF_KEY |
static String |
CREDENTIALS_LOCATION |
static String |
JOB_NAME_CONF_KEY |
protected static Log |
LOG |
static String |
MAPPER_CONF_KEY |
static String |
NO_STRICT_COL_FAMILY |
static String |
SEPARATOR_CONF_KEY |
static String |
SKIP_LINES_CONF_KEY |
static String |
TIMESTAMP_CONF_KEY |
Constructor and Description |
---|
ImportTsv() |
Modifier and Type | Method and Description |
---|---|
static Job |
createSubmittableJob(Configuration conf,
String[] args)
Sets up the actual job.
|
static void |
main(String[] args) |
int |
run(String[] args) |
protected static final Log LOG
public static final String MAPPER_CONF_KEY
public static final String BULK_OUTPUT_CONF_KEY
public static final String TIMESTAMP_CONF_KEY
public static final String JOB_NAME_CONF_KEY
public static final String SKIP_LINES_CONF_KEY
public static final String COLUMNS_CONF_KEY
public static final String SEPARATOR_CONF_KEY
public static final String ATTRIBUTE_SEPERATOR_CONF_KEY
public static final String CREDENTIALS_LOCATION
public static final String CREATE_TABLE_CONF_KEY
public static final String NO_STRICT_COL_FAMILY
public static Job createSubmittableJob(Configuration conf, String[] args) throws IOException, ClassNotFoundException
conf
- The current configuration.args
- The command line parameters.IOException
- When setting up the job fails.ClassNotFoundException