| Constructor and Description |
|---|
ImportCommand()
Trivial ctor to support Writable reflections instantiation
do not expect to use this object as-is, unless you call
readFields after using this ctor
|
ImportCommand(String dbName,
String tableName,
Map<String,String> ptnDesc,
String importLocation,
boolean isDefinitionOnly,
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 ImportCommand(String dbName, String tableName, Map<String,String> ptnDesc, String importLocation, boolean isDefinitionOnly, long eventId)
public ImportCommand()
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.