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 Command
public boolean isUndoable()
isUndoable
in interface Command
public List<String> cleanupLocationsPerRetry()
cleanupLocationsPerRetry
in interface Command
public List<String> cleanupLocationsAfterEvent()
cleanupLocationsAfterEvent
in interface Command
public long getEventId()
getEventId
in interface Command
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput dataInput) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.