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

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

public class BulkImport
extends MasterRepo

See Also:
Serialized Form

Constructor Summary
BulkImport(String tableId, String sourceDir, String errorDir, boolean setTime)
           
 
Method Summary
 Repo<Master> call(long tid, Master master)
           
 long isReady(long tid, Master master)
           
 void undo(long tid, Master environment)
           
 
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
 

Constructor Detail

BulkImport

public BulkImport(String tableId,
                  String sourceDir,
                  String errorDir,
                  boolean setTime)
Method Detail

isReady

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

call

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

undo

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


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.