public class AddPartitionEvent extends ListenerEvent
| Constructor and Description |
|---|
AddPartitionEvent(Table table,
List<Partition> partitions,
boolean status,
HiveMetaStore.HMSHandler handler) |
AddPartitionEvent(Table table,
Partition partition,
boolean status,
HiveMetaStore.HMSHandler handler) |
AddPartitionEvent(Table table,
PartitionSpecProxy partitionSpec,
boolean status,
HiveMetaStore.HMSHandler handler)
Alternative constructor to use PartitionSpec APIs.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Partition> |
getPartitionIterator() |
Table |
getTable() |
getEnvironmentContext, getHandler, getStatus, setEnvironmentContextpublic AddPartitionEvent(Table table, List<Partition> partitions, boolean status, HiveMetaStore.HMSHandler handler)
public AddPartitionEvent(Table table, Partition partition, boolean status, HiveMetaStore.HMSHandler handler)
public AddPartitionEvent(Table table, PartitionSpecProxy partitionSpec, boolean status, HiveMetaStore.HMSHandler handler)
Copyright © 2017 The Apache Software Foundation. All rights reserved.