| Constructor and Description |
|---|
DropPartitionCommand()
Trivial ctor to support Writable reflections instantiation
do not expect to use this object as-is, unless you call
readFields after using this ctor
|
DropPartitionCommand(String dbName,
String tableName,
Map<String,String> ptnDesc,
boolean isReplicatedEvent,
long eventId) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
cleanupLocationsAfterEvent() |
List<String> |
cleanupLocationsPerRetry() |
List<String> |
get() |
long |
getEventId() |
List<String> |
getUndo() |
boolean |
isRetriable() |
boolean |
isUndoable() |
void |
readFields(DataInput dataInput) |
void |
write(DataOutput dataOutput) |
public DropPartitionCommand(String dbName, String tableName, Map<String,String> ptnDesc, boolean isReplicatedEvent, long eventId)
public DropPartitionCommand()
public boolean isRetriable()
isRetriable in interface Commandpublic boolean isUndoable()
isUndoable in interface Commandpublic List<String> cleanupLocationsPerRetry()
cleanupLocationsPerRetry in interface Commandpublic List<String> cleanupLocationsAfterEvent()
cleanupLocationsAfterEvent in interface Commandpublic long getEventId()
getEventId in interface Commandpublic void write(DataOutput dataOutput) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.