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.
|
configureTableJobPropertiespublic 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.ClassNotFoundExceptionpublic 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()
InputFormatpublic java.lang.Class<? extends OutputFormat> getOutputFormatClass()
OutputFormatpublic java.lang.Class<? extends SerDe> getSerDeClass()
SerDepublic HiveMetaHook getMetaHook()
public void configureInputJobProperties(TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> jobProperties)
HCatStorageHandlerconfigureInputJobProperties in interface HiveStorageHandlerconfigureInputJobProperties in class HCatStorageHandlertableDesc - 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)
HCatStorageHandlerconfigureOutputJobProperties in interface HiveStorageHandlerconfigureOutputJobProperties in class HCatStorageHandlertableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table propertiespublic Configuration getConf()
getConf in class HCatStorageHandlerpublic void setConf(Configuration conf)
setConf in class HCatStorageHandlerpublic HiveAuthorizationProvider getAuthorizationProvider() throws HiveException
HiveStorageHandlergetAuthorizationProvider in interface HiveStorageHandlergetAuthorizationProvider in class HCatStorageHandlerHiveExceptionpublic void configureJobConf(TableDesc tableDesc, JobConf jobConf)
HiveStorageHandlertableDesc - descriptor for the table being accessedCopyright © 2012 The Apache Software Foundation