public class HiveIcebergStorageHandler
extends java.lang.Object
implements org.apache.hadoop.hive.ql.metadata.HiveStoragePredicateHandler, org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
Constructor and Description |
---|
HiveIcebergStorageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
configureInputJobCredentials(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.String> secrets) |
void |
configureInputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.String> map) |
void |
configureJobConf(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc,
org.apache.hadoop.mapred.JobConf jobConf) |
void |
configureOutputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.String> map) |
void |
configureTableJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc,
java.util.Map<java.lang.String,java.lang.String> map) |
org.apache.hadoop.hive.ql.metadata.HiveStoragePredicateHandler.DecomposedPredicate |
decomposePredicate(org.apache.hadoop.mapred.JobConf jobConf,
org.apache.hadoop.hive.serde2.Deserializer deserializer,
org.apache.hadoop.hive.ql.plan.ExprNodeDesc exprNodeDesc) |
static EncryptionManager |
encryption(org.apache.hadoop.conf.Configuration config)
Returns the Table EncryptionManager serialized to the configuration.
|
org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider |
getAuthorizationProvider() |
org.apache.hadoop.conf.Configuration |
getConf() |
java.lang.Class<? extends org.apache.hadoop.mapred.InputFormat> |
getInputFormatClass() |
org.apache.hadoop.hive.metastore.HiveMetaHook |
getMetaHook() |
java.lang.Class<? extends org.apache.hadoop.mapred.OutputFormat> |
getOutputFormatClass() |
java.lang.Class<? extends org.apache.hadoop.hive.serde2.AbstractSerDe> |
getSerDeClass() |
static FileIO |
io(org.apache.hadoop.conf.Configuration config)
Returns the Table FileIO serialized to the configuration.
|
static LocationProvider |
location(org.apache.hadoop.conf.Configuration config)
Returns the Table LocationProvider serialized to the configuration.
|
static Schema |
schema(org.apache.hadoop.conf.Configuration config)
Returns the Table Schema serialized to the configuration.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
static PartitionSpec |
spec(org.apache.hadoop.conf.Configuration config)
Returns the Table PartitionSpec serialized to the configuration.
|
java.lang.String |
toString() |
public java.lang.Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFormatClass()
getInputFormatClass
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public java.lang.Class<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFormatClass()
getOutputFormatClass
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public java.lang.Class<? extends org.apache.hadoop.hive.serde2.AbstractSerDe> getSerDeClass()
getSerDeClass
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 org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider getAuthorizationProvider()
getAuthorizationProvider
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void configureInputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> map)
configureInputJobProperties
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void configureOutputJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> map)
configureOutputJobProperties
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void configureTableJobProperties(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> map)
configureTableJobProperties
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void configureInputJobCredentials(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc, java.util.Map<java.lang.String,java.lang.String> secrets)
configureInputJobCredentials
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public void configureJobConf(org.apache.hadoop.hive.ql.plan.TableDesc tableDesc, org.apache.hadoop.mapred.JobConf jobConf)
configureJobConf
in interface org.apache.hadoop.hive.ql.metadata.HiveStorageHandler
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public java.lang.String toString()
toString
in class java.lang.Object
public org.apache.hadoop.hive.ql.metadata.HiveStoragePredicateHandler.DecomposedPredicate decomposePredicate(org.apache.hadoop.mapred.JobConf jobConf, org.apache.hadoop.hive.serde2.Deserializer deserializer, org.apache.hadoop.hive.ql.plan.ExprNodeDesc exprNodeDesc)
decomposePredicate
in interface org.apache.hadoop.hive.ql.metadata.HiveStoragePredicateHandler
jobConf
- Job configuration for InputFormat to accessdeserializer
- DeserializerexprNodeDesc
- Filter expression extracted by Hivepublic static FileIO io(org.apache.hadoop.conf.Configuration config)
config
- The configuration used to get the data frompublic static LocationProvider location(org.apache.hadoop.conf.Configuration config)
config
- The configuration used to get the data frompublic static EncryptionManager encryption(org.apache.hadoop.conf.Configuration config)
config
- The configuration used to get the data frompublic static Schema schema(org.apache.hadoop.conf.Configuration config)
config
- The configuration used to get the data frompublic static PartitionSpec spec(org.apache.hadoop.conf.Configuration config)
config
- The configuration used to get the data from