public class FSPartitionEvent extends Object implements PartitionEvent
BootstrapEvent.EventType| Modifier and Type | Method and Description |
|---|---|
TableEvent |
asTableEvent() |
org.apache.hadoop.fs.Path |
dataPath() |
BootstrapEvent.EventType |
eventType() |
AlterTableAddPartitionDesc |
lastPartitionReplicated() |
AlterTableAddPartitionDesc.PartitionDesc |
lastPartSpecReplicated() |
ReplicationState.PartitionState.Stage |
lastStageReplicated() |
org.apache.hadoop.fs.Path |
metadataPath()
Exposing the FileSystem implementation outside which is what it should NOT do.
|
List<AlterTableAddPartitionDesc> |
partitionDescriptions(ImportTableDesc tblDesc) |
List<String> |
partitions(ImportTableDesc tblDesc) |
ReplicationSpec |
replicationSpec() |
boolean |
shouldNotReplicate() |
ImportTableDesc |
tableDesc(String dbName) |
public BootstrapEvent.EventType eventType()
eventType in interface BootstrapEventpublic AlterTableAddPartitionDesc lastPartitionReplicated()
lastPartitionReplicated in interface PartitionEventpublic ReplicationState.PartitionState.Stage lastStageReplicated()
lastStageReplicated in interface PartitionEventpublic AlterTableAddPartitionDesc.PartitionDesc lastPartSpecReplicated()
lastPartSpecReplicated in interface PartitionEventpublic TableEvent asTableEvent()
asTableEvent in interface PartitionEventpublic ImportTableDesc tableDesc(String dbName) throws SemanticException
tableDesc in interface TableEventSemanticExceptionpublic List<AlterTableAddPartitionDesc> partitionDescriptions(ImportTableDesc tblDesc) throws SemanticException
partitionDescriptions in interface TableEventSemanticExceptionpublic List<String> partitions(ImportTableDesc tblDesc) throws SemanticException
partitions in interface TableEventSemanticExceptionpublic ReplicationSpec replicationSpec()
replicationSpec in interface TableEventpublic boolean shouldNotReplicate()
shouldNotReplicate in interface TableEventpublic org.apache.hadoop.fs.Path metadataPath()
TableEventmetadataPath in interface TableEventpublic org.apache.hadoop.fs.Path dataPath()
dataPath in interface TableEventCopyright © 2024 The Apache Software Foundation. All rights reserved.