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.HiveStorageHandler
public 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.HiveStorageHandler
public void configureOutputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0, Map<String,String> arg1)
configureOutputJobProperties
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void configureTableJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc arg0, Map<String,String> arg1)
configureTableJobProperties
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public 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.HiveStorageHandler
org.apache.hadoop.hive.ql.metadata.HiveException
public Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFormatClass()
getInputFormatClass
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public org.apache.hadoop.hive.metastore.HiveMetaHook getMetaHook()
getMetaHook
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public Class<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFormatClass()
getOutputFormatClass
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public Class<? extends org.apache.hadoop.hive.serde2.SerDe> getSerDeClass()
getSerDeClass
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
public 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.HiveMetaHook
org.apache.hadoop.hive.metastore.api.MetaException
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.