| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.cache |
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectStore
This class is the interface between the application logic and the database
store that contains the objects.
|
| Modifier and Type | Method and Description |
|---|---|
RawStore |
HMSHandler.getMS()
Get a cached RawStore.
|
RawStore |
IHMSHandler.getMS()
Get a reference to the underlying RawStore.
|
static RawStore |
HMSHandler.getMSForConf(org.apache.hadoop.conf.Configuration conf) |
static RawStore |
RawStoreProxy.getProxy(org.apache.hadoop.conf.Configuration hiveConf,
org.apache.hadoop.conf.Configuration conf,
String rawStoreClassName) |
static RawStore |
HMSHandler.getRawStore() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<RawStore> |
HMSHandlerContext.getRawStore() |
| Modifier and Type | Method and Description |
|---|---|
Partition |
HiveAlterHandler.alterPartition(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext) |
Partition |
AlterHandler.alterPartition(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext)
Deprecated.
As of release 2.2.0. Replaced by
AlterHandler.alterPartitions(RawStore, Warehouse, String,
String, String, List, EnvironmentContext, String, long, IHMSHandler)
handles alter partition |
Partition |
HiveAlterHandler.alterPartition(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext,
IHMSHandler handler,
String validWriteIds) |
Partition |
AlterHandler.alterPartition(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
List<String> part_vals,
Partition new_part,
EnvironmentContext environmentContext,
IHMSHandler handler,
String validWriteIds)
handles alter partition
|
List<Partition> |
HiveAlterHandler.alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext)
Deprecated.
|
List<Partition> |
AlterHandler.alterPartitions(RawStore msdb,
Warehouse wh,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext)
Deprecated.
As of release 3.0.0. Replaced by
AlterHandler.alterPartitions(RawStore, Warehouse, String,
String, String, List, EnvironmentContext, String, long, IHMSHandler)
handles alter partitions |
List<Partition> |
HiveAlterHandler.alterPartitions(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext,
String writeIdList,
long writeId,
IHMSHandler handler) |
List<Partition> |
AlterHandler.alterPartitions(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
List<Partition> new_parts,
EnvironmentContext environmentContext,
String writeIdList,
long writeId,
IHMSHandler handler)
handles alter partitions
|
default void |
AlterHandler.alterTable(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
Table newTable,
EnvironmentContext envContext)
Deprecated.
As of release 2.2.0. Replaced by
AlterHandler.alterTable(RawStore, Warehouse, String,
String, String, Table, EnvironmentContext, IHMSHandler, String)
handles alter table, the changes could be cascaded to partitions if applicable |
void |
HiveAlterHandler.alterTable(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
Table newt,
EnvironmentContext environmentContext,
IHMSHandler handler,
String writeIdList) |
void |
AlterHandler.alterTable(RawStore msdb,
Warehouse wh,
String catName,
String dbname,
String name,
Table newTable,
EnvironmentContext envContext,
IHMSHandler handler,
String writeIdList)
handles alter table, the changes could be cascaded to partitions if applicable
|
static void |
HMSHandler.createDefaultCatalog(RawStore ms,
Warehouse wh) |
static List<ColumnStatistics> |
HiveAlterHandler.deleteTableColumnStats(RawStore msdb,
Table oldTable,
Table newTable,
List<ColumnStatistics> multiColStats) |
static List<ColumnStatistics> |
HiveAlterHandler.getColumnStats(RawStore msdb,
Table oldTable) |
static Map<String,String> |
MetaStoreListenerNotifier.notifyEvent(List<? extends MetaStoreEventListener> listeners,
EventMessage.EventType eventType,
ListenerEvent event,
EnvironmentContext environmentContext,
Map<String,String> parameters,
RawStore ms)
Notify a list of listeners about a specific metastore event.
|
static void |
HMSHandlerContext.setRawStore(RawStore rawStore) |
static List<ColumnStatistics> |
HiveAlterHandler.updateOrGetPartitionColumnStats(RawStore msdb,
String catName,
String dbname,
String tblname,
List<String> partVals,
List<FieldSchema> oldCols,
Table table,
Partition part,
List<FieldSchema> newCols,
List<String> deletedCols) |
void |
HiveAlterHandler.updateTableColumnStats(RawStore msdb,
Table newTable,
String validWriteIds,
List<ColumnStatistics> columnStatistics) |
| Constructor and Description |
|---|
FileMetadataManager(RawStore tlms,
org.apache.hadoop.conf.Configuration conf) |
| Constructor and Description |
|---|
RawStoreProxy(org.apache.hadoop.conf.Configuration hiveConf,
org.apache.hadoop.conf.Configuration conf,
Class<? extends RawStore> rawStoreClass) |
| Modifier and Type | Class and Description |
|---|---|
class |
CachedStore |
| Modifier and Type | Method and Description |
|---|---|
RawStore |
CachedStore.getRawStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
CachedStore.setRawStore(RawStore rawStore) |
static long |
CachedStore.updateUsingNotificationEvents(RawStore rawStore,
long lastEventId) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.