Beispiel #1
0
 public static void executeAsRowMutation(String batchId, HTableInterface table) {
   try {
     EntityManager.processEntity(BatchEntityType.instance, batchId, ROW_MUTATION_EXECUTOR, table);
   } catch (EntityNotFoundException e) {
     throw new BuildException("There was no batch " + batchId + " previously initialized", e);
   }
 }
Beispiel #2
0
 public static void addAction(String batchId, IAction action) {
   try {
     EntityManager.processEntity(BatchEntityType.instance, batchId, ADD_ACTION, action);
   } catch (EntityNotFoundException e) {
     throw new BuildException("There was no batch " + batchId + " previously initialized", e);
   }
 }