public class DBStorageHandler extends Object implements org.apache.hadoop.hive.ql.metadata.HiveStorageHandler, org.apache.hadoop.hive.metastore.HiveMetaHook
| Constructor and Description |
|---|
DBStorageHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
commitCreateTable(org.apache.hadoop.hive.metastore.api.Table arg0) |
void |
commitDropTable(org.apache.hadoop.hive.metastore.api.Table arg0,
boolean arg1) |
void |
configureInputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
Map<String,String> arg1) |
void |
configureJobConf(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
org.apache.hadoop.mapred.JobConf arg1) |
void |
configureOutputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
Map<String,String> arg1) |
void |
configureTableJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
Map<String,String> arg1) |
org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider |
getAuthorizationProvider() |
org.apache.hadoop.conf.Configuration |
getConf() |
Class<? extends org.apache.hadoop.mapred.InputFormat> |
getInputFormatClass() |
org.apache.hadoop.hive.metastore.HiveMetaHook |
getMetaHook() |
Class<? extends org.apache.hadoop.mapred.OutputFormat> |
getOutputFormatClass() |
Class<? extends org.apache.hadoop.hive.serde2.SerDe> |
getSerDeClass() |
void |
preCreateTable(org.apache.hadoop.hive.metastore.api.Table arg0) |
void |
preDropTable(org.apache.hadoop.hive.metastore.api.Table arg0) |
void |
rollbackCreateTable(org.apache.hadoop.hive.metastore.api.Table arg0) |
void |
rollbackDropTable(org.apache.hadoop.hive.metastore.api.Table arg0) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public void configureInputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
Map<String,String> arg1)
configureInputJobProperties in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic void configureJobConf(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
org.apache.hadoop.mapred.JobConf arg1)
configureJobConf in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic void configureOutputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
Map<String,String> arg1)
configureOutputJobProperties in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic void configureTableJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0,
Map<String,String> arg1)
configureTableJobProperties in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider getAuthorizationProvider()
throws org.apache.hadoop.hive.ql.metadata.HiveException
getAuthorizationProvider in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerorg.apache.hadoop.hive.ql.metadata.HiveExceptionpublic Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFormatClass()
getInputFormatClass in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic org.apache.hadoop.hive.metastore.HiveMetaHook getMetaHook()
getMetaHook in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic Class<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFormatClass()
getOutputFormatClass in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic Class<? extends org.apache.hadoop.hive.serde2.SerDe> getSerDeClass()
getSerDeClass in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandlerpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void commitCreateTable(org.apache.hadoop.hive.metastore.api.Table arg0)
throws org.apache.hadoop.hive.metastore.api.MetaException
commitCreateTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void commitDropTable(org.apache.hadoop.hive.metastore.api.Table arg0,
boolean arg1)
throws org.apache.hadoop.hive.metastore.api.MetaException
commitDropTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void preCreateTable(org.apache.hadoop.hive.metastore.api.Table arg0)
throws org.apache.hadoop.hive.metastore.api.MetaException
preCreateTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void preDropTable(org.apache.hadoop.hive.metastore.api.Table arg0)
throws org.apache.hadoop.hive.metastore.api.MetaException
preDropTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void rollbackCreateTable(org.apache.hadoop.hive.metastore.api.Table arg0)
throws org.apache.hadoop.hive.metastore.api.MetaException
rollbackCreateTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionpublic void rollbackDropTable(org.apache.hadoop.hive.metastore.api.Table arg0)
throws org.apache.hadoop.hive.metastore.api.MetaException
rollbackDropTable in interface org.apache.hadoop.hive.metastore.HiveMetaHookorg.apache.hadoop.hive.metastore.api.MetaExceptionCopyright © 2014–2016 Apache Software Foundation. All rights reserved.