|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HiveStorageHandler
HiveStorageHandler defines a pluggable interface for adding new storage handlers to Hive. A storage handler consists of a bundle of the following:
| Method Summary | |
|---|---|
void |
configureInputJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
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,
org.apache.hadoop.mapred.JobConf jobConf)
Called just before submitting MapReduce job. |
void |
configureOutputJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
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 |
configureTableJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
Deprecated. |
HiveAuthorizationProvider |
getAuthorizationProvider()
Returns the implementation specific authorization provider |
Class<? extends org.apache.hadoop.mapred.InputFormat> |
getInputFormatClass()
|
HiveMetaHook |
getMetaHook()
|
Class<? extends org.apache.hadoop.mapred.OutputFormat> |
getOutputFormatClass()
|
Class<? extends SerDe> |
getSerDeClass()
|
| Methods inherited from interface org.apache.hadoop.conf.Configurable |
|---|
getConf, setConf |
| Method Detail |
|---|
Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFormatClass()
InputFormatClass<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFormatClass()
OutputFormatClass<? extends SerDe> getSerDeClass()
SerDeHiveMetaHook getMetaHook()
HiveAuthorizationProvider getAuthorizationProvider()
throws HiveException
HiveException
void configureInputJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
tableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table properties
void configureOutputJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
tableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table properties
@Deprecated
void configureTableJobProperties(TableDesc tableDesc,
Map<String,String> jobProperties)
tableDesc - descriptor for the table being accessedjobProperties - receives properties copied or transformed
from the table properties
void configureJobConf(TableDesc tableDesc,
org.apache.hadoop.mapred.JobConf jobConf)
tableDesc - descriptor for the table being accessedJobConf - jobConf for MapReduce job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||