public interface HiveStorageHandler
extends org.apache.hadoop.conf.Configurable
Modifier and Type | Method and Description |
---|---|
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() |
Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFormatClass()
InputFormat
Class<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFormatClass()
OutputFormat
Class<? extends SerDe> getSerDeClass()
SerDe
HiveMetaHook 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 propertiesvoid 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 propertiesvoid configureJobConf(TableDesc tableDesc, org.apache.hadoop.mapred.JobConf jobConf)
tableDesc
- descriptor for the table being accessedJobConf
- jobConf for MapReduce jobCopyright © 2017 The Apache Software Foundation. All rights reserved.