FosterStorageHandler
insteadpublic class FosterStorageHandler extends HCatStorageHandler
Modifier and Type | Field and Description |
---|---|
Configuration |
conf
Deprecated.
|
protected static java.lang.String |
DYNTEMP_DIR_NAME
Deprecated.
The directory under which data is initially written for a partitioned table
|
protected static java.lang.String |
TEMP_DIR_NAME
Deprecated.
The directory under which data is initially written for a non partitioned table
|
Constructor and Description |
---|
FosterStorageHandler(java.lang.Class<? extends InputFormat> ifClass,
java.lang.Class<? extends OutputFormat> ofClass,
java.lang.Class<? extends SerDe> serDeClass)
Deprecated.
|
FosterStorageHandler(java.lang.String ifName,
java.lang.String ofName,
java.lang.String serdeName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configureInputJobProperties(TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.String> jobProperties)
Deprecated.
This method is called to allow the StorageHandlers the chance
to populate the JobContext.getConfiguration() with properties that
maybe be needed by the handler's bundled artifacts (ie InputFormat, SerDe, etc).
|
void |
configureJobConf(TableDesc tableDesc,
JobConf jobConf)
Deprecated.
Called just before submitting MapReduce job.
|
void |
configureOutputJobProperties(TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.String> jobProperties)
Deprecated.
This method is called to allow the StorageHandlers the chance
to populate the JobContext.getConfiguration() with properties that
maybe be needed by the handler's bundled artifacts (ie InputFormat, SerDe, etc).
|
HiveAuthorizationProvider |
getAuthorizationProvider()
Deprecated.
Returns the implementation specific authorization provider
|
Configuration |
getConf()
Deprecated.
|
java.lang.Class<? extends InputFormat> |
getInputFormatClass()
Deprecated.
|
HiveMetaHook |
getMetaHook()
Deprecated.
|
java.lang.Class<? extends OutputFormat> |
getOutputFormatClass()
Deprecated.
|
java.lang.Class<? extends SerDe> |
getSerDeClass()
Deprecated.
|
void |
setConf(Configuration conf)
Deprecated.
|
configureTableJobProperties
public Configuration conf
protected static final java.lang.String DYNTEMP_DIR_NAME
protected static final java.lang.String TEMP_DIR_NAME
public FosterStorageHandler(java.lang.String ifName, java.lang.String ofName, java.lang.String serdeName) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public FosterStorageHandler(java.lang.Class<? extends InputFormat> ifClass, java.lang.Class<? extends OutputFormat> ofClass, java.lang.Class<? extends SerDe> serDeClass)
public java.lang.Class<? extends InputFormat> getInputFormatClass()
InputFormat
public java.lang.Class<? extends OutputFormat> getOutputFormatClass()
OutputFormat
public java.lang.Class<? extends SerDe> getSerDeClass()
SerDe
public HiveMetaHook getMetaHook()
public void configureInputJobProperties(TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> jobProperties)
HCatStorageHandler
configureInputJobProperties
in interface HiveStorageHandler
configureInputJobProperties
in class HCatStorageHandler
tableDesc
- descriptor for the table being accessedjobProperties
- receives properties copied or transformed
from the table propertiespublic void configureOutputJobProperties(TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> jobProperties)
HCatStorageHandler
configureOutputJobProperties
in interface HiveStorageHandler
configureOutputJobProperties
in class HCatStorageHandler
tableDesc
- descriptor for the table being accessedjobProperties
- receives properties copied or transformed
from the table propertiespublic Configuration getConf()
getConf
in class HCatStorageHandler
public void setConf(Configuration conf)
setConf
in class HCatStorageHandler
public HiveAuthorizationProvider getAuthorizationProvider() throws HiveException
HiveStorageHandler
getAuthorizationProvider
in interface HiveStorageHandler
getAuthorizationProvider
in class HCatStorageHandler
HiveException
public void configureJobConf(TableDesc tableDesc, JobConf jobConf)
HiveStorageHandler
tableDesc
- descriptor for the table being accessedCopyright © 2012 The Apache Software Foundation