public class SpecialCases extends Object
Constructor and Description |
---|
SpecialCases() |
Modifier and Type | Method and Description |
---|---|
static void |
addSpecialCasesParametersForHCatLoader(org.apache.hadoop.conf.Configuration conf,
HCatTableInfo tableInfo)
Method to do any storage-handler specific special casing while instantiating a
HCatLoader
|
static void |
addSpecialCasesParametersToOutputJobProperties(Map<String,String> jobProperties,
OutputJobInfo jobInfo,
Class<? extends org.apache.hadoop.mapred.OutputFormat> ofclass)
Method to do any file-format specific special casing while
instantiating a storage handler to write.
|
public static void addSpecialCasesParametersToOutputJobProperties(Map<String,String> jobProperties, OutputJobInfo jobInfo, Class<? extends org.apache.hadoop.mapred.OutputFormat> ofclass)
jobProperties
- : map to write tojobInfo
- : information about this output job to read fromofclass
- : the output format in usepublic static void addSpecialCasesParametersForHCatLoader(org.apache.hadoop.conf.Configuration conf, HCatTableInfo tableInfo)
conf
- : configuration to write totableInfo
- : the table definition being usedCopyright © 2019 The Apache Software Foundation. All rights reserved.