public final class HMSHandlerContext extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Release the context
|
static Optional<org.apache.hadoop.conf.Configuration> |
getConfiguration() |
static Optional<HMSHandler> |
getHMSHandler() |
static Optional<String> |
getIpAddress() |
static Map<String,String> |
getModifiedConfig() |
static Optional<RawStore> |
getRawStore() |
static Map<String,com.codahale.metrics.Timer.Context> |
getTimerContexts() |
static TxnStore |
getTxnStore(org.apache.hadoop.conf.Configuration conf) |
static void |
setConfiguration(org.apache.hadoop.conf.Configuration conf) |
static void |
setHMSHandler(HMSHandler hmsHandler) |
static void |
setIpAddress(String ipAddress) |
static void |
setRawStore(RawStore rawStore) |
static void |
setTxnStore(TxnStore txnStore) |
public static Optional<HMSHandler> getHMSHandler()
public static Optional<org.apache.hadoop.conf.Configuration> getConfiguration()
public static TxnStore getTxnStore(org.apache.hadoop.conf.Configuration conf)
public static void setRawStore(RawStore rawStore)
public static void setTxnStore(TxnStore txnStore)
public static void setHMSHandler(HMSHandler hmsHandler)
public static void setConfiguration(org.apache.hadoop.conf.Configuration conf)
public static void setIpAddress(String ipAddress)
public static void clear()
Copyright © 2024 The Apache Software Foundation. All rights reserved.