|
||||||||||
| 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 |
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 InputFormat> |
getInputFormatClass()
|
HiveMetaHook |
getMetaHook()
|
Class<? extends OutputFormat> |
getOutputFormatClass()
|
Class<? extends SerDe> |
getSerDeClass()
|
| Method Detail |
|---|
Class<? extends InputFormat> getInputFormatClass()
InputFormatClass<? extends 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||