org.apache.accumulo.server.master.tableOps
Class ExportTable

java.lang.Object
  extended by org.apache.accumulo.server.master.tableOps.MasterRepo
      extended by org.apache.accumulo.server.master.tableOps.ExportTable
All Implemented Interfaces:
Serializable, Repo<Master>

public class ExportTable
extends MasterRepo

See Also:
Serialized Form

Field Summary
static String DATA_VERSION_PROP
           
static String EXPORT_VERSION_PROP
           
static int VERSION
           
 
Fields inherited from class org.apache.accumulo.server.master.tableOps.MasterRepo
log
 
Constructor Summary
ExportTable(String tableName, String tableId, String exportDir)
           
 
Method Summary
 Repo<Master> call(long tid, Master env)
           
 long isReady(long tid, Master environment)
           
 void undo(long tid, Master env)
           
 
Methods inherited from class org.apache.accumulo.server.master.tableOps.MasterRepo
getDescription, getReturn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final int VERSION
See Also:
Constant Field Values

DATA_VERSION_PROP

public static final String DATA_VERSION_PROP
See Also:
Constant Field Values

EXPORT_VERSION_PROP

public static final String EXPORT_VERSION_PROP
See Also:
Constant Field Values
Constructor Detail

ExportTable

public ExportTable(String tableName,
                   String tableId,
                   String exportDir)
Method Detail

isReady

public long isReady(long tid,
                    Master environment)
             throws Exception
Specified by:
isReady in interface Repo<Master>
Overrides:
isReady in class MasterRepo
Throws:
Exception

call

public Repo<Master> call(long tid,
                         Master env)
                  throws Exception
Specified by:
call in interface Repo<Master>
Specified by:
call in class MasterRepo
Throws:
Exception

undo

public void undo(long tid,
                 Master env)
          throws Exception
Specified by:
undo in interface Repo<Master>
Overrides:
undo in class MasterRepo
Throws:
Exception


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.