public class FSPartitionEvent extends Object implements PartitionEvent
BootstrapEvent.EventType
Modifier and Type | Method and Description |
---|---|
TableEvent |
asTableEvent() |
BootstrapEvent.EventType |
eventType() |
AddPartitionDesc |
lastPartitionReplicated() |
org.apache.hadoop.fs.Path |
metadataPath()
Exposing the FileSystem implementation outside which is what it should NOT do.
|
List<AddPartitionDesc> |
partitionDescriptions(ImportTableDesc tblDesc) |
List<String> |
partitions(ImportTableDesc tblDesc) |
ReplicationSpec |
replicationSpec() |
boolean |
shouldNotReplicate() |
ImportTableDesc |
tableDesc(String dbName) |
public BootstrapEvent.EventType eventType()
eventType
in interface BootstrapEvent
public AddPartitionDesc lastPartitionReplicated()
lastPartitionReplicated
in interface PartitionEvent
public TableEvent asTableEvent()
asTableEvent
in interface PartitionEvent
public ImportTableDesc tableDesc(String dbName) throws SemanticException
tableDesc
in interface TableEvent
SemanticException
public List<AddPartitionDesc> partitionDescriptions(ImportTableDesc tblDesc) throws SemanticException
partitionDescriptions
in interface TableEvent
SemanticException
public List<String> partitions(ImportTableDesc tblDesc) throws SemanticException
partitions
in interface TableEvent
SemanticException
public ReplicationSpec replicationSpec()
replicationSpec
in interface TableEvent
public boolean shouldNotReplicate()
shouldNotReplicate
in interface TableEvent
public org.apache.hadoop.fs.Path metadataPath()
TableEvent
metadataPath
in interface TableEvent
Copyright © 2022 The Apache Software Foundation. All rights reserved.