public interface HiveStorageHandler
Modifier and Type | Method and Description |
---|---|
void |
configureInputJobProperties(TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.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,
JobConf jobConf)
Called just before submitting MapReduce job.
|
void |
configureOutputJobProperties(TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.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,
java.util.Map<java.lang.String,java.lang.String> jobProperties)
Deprecated.
|
HiveAuthorizationProvider |
getAuthorizationProvider()
Returns the implementation specific authorization provider
|
java.lang.Class<? extends InputFormat> |
getInputFormatClass() |
HiveMetaHook |
getMetaHook() |
java.lang.Class<? extends OutputFormat> |
getOutputFormatClass() |
java.lang.Class<? extends SerDe> |
getSerDeClass() |
java.lang.Class<? extends InputFormat> getInputFormatClass()
InputFormat
java.lang.Class<? extends OutputFormat> getOutputFormatClass()
OutputFormat
java.lang.Class<? extends SerDe> getSerDeClass()
SerDe
HiveMetaHook getMetaHook()
HiveAuthorizationProvider getAuthorizationProvider() throws HiveException
HiveException
void configureInputJobProperties(TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> jobProperties)
tableDesc
- descriptor for the table being accessedjobProperties
- receives properties copied or transformed
from the table propertiesvoid configureOutputJobProperties(TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> jobProperties)
tableDesc
- descriptor for the table being accessedjobProperties
- receives properties copied or transformed
from the table properties@Deprecated void configureTableJobProperties(TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> jobProperties)
tableDesc
- descriptor for the table being accessedjobProperties
- receives properties copied or transformed
from the table propertiesvoid configureJobConf(TableDesc tableDesc, JobConf jobConf)
tableDesc
- descriptor for the table being accessedJobConf
- jobConf for MapReduce jobCopyright © 2012 The Apache Software Foundation