예제 #1
0
 public void delete(String tableName, Delete paramDelete) {
   try {
     hzTemplate.delete(tableName, paramDelete);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #2
0
 public ResultScanner getScanner(String tableName, byte[] paramArrayOfByte) {
   try {
     return hzTemplate.getScanner(tableName, paramArrayOfByte);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #3
0
 protected final void closeTable(String tableName) {
   try {
     hzTemplate.closeTable(tableName);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #4
0
 public Result[] get(String tableName, List<Get> paramList) {
   try {
     return hzTemplate.get(tableName, paramList);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #5
0
 public ResultScanner getScanner(String tableName, Scan paramScan) {
   try {
     return hzTemplate.getScanner(tableName, paramScan);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #6
0
 public Object[] batch(String tableName, List<? extends Row> paramList) {
   try {
     return hzTemplate.batch(tableName, paramList);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #7
0
 public Result get(String tableName, Get paramGet) {
   try {
     return hzTemplate.get(tableName, paramGet);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #8
0
 public void batch(String tableName, List<? extends Row> paramList, Object[] paramArrayOfObject) {
   try {
     hzTemplate.batch(tableName, paramList, paramArrayOfObject);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #9
0
 public boolean exists(String tableName, Get paramGet) {
   try {
     return hzTemplate.exists(tableName, paramGet);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #10
0
 protected final void closeTable(HTableInterface table) {
   try {
     hzTemplate.closeTable(table);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #11
0
 public void delete(String tableName, List<Delete> paramList) {
   try {
     hzTemplate.delete(tableName, paramList);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #12
0
 public void put(String tableName, List<Put> paramList) {
   try {
     hzTemplate.put(tableName, paramList);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #13
0
 public HTableDescriptor[] listTables() {
   try {
     return hzTemplate.listTables();
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #14
0
 protected final HTableInterface getTable(String tableName) {
   try {
     return hzTemplate.getTable(tableName);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #15
0
 public void mutateRow(String tableName, RowMutations paramRowMutations) {
   try {
     hzTemplate.mutateRow(tableName, paramRowMutations);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #16
0
 public boolean tableExists(byte[] tableName) {
   try {
     return hzTemplate.tableExists(tableName);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #17
0
 public <T extends CoprocessorProtocol> T coprocessorProxy(
     String tableName, Class<T> paramClass, byte[] paramArrayOfByte) {
   try {
     return hzTemplate.coprocessorProxy(tableName, paramClass, paramArrayOfByte);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #18
0
 public <T extends CoprocessorProtocol, R> Map<byte[], R> coprocessorExec(
     String tableName,
     Class<T> paramClass,
     byte[] paramArrayOfByte1,
     byte[] paramArrayOfByte2,
     Call<T, R> paramCall) {
   try {
     return hzTemplate.coprocessorExec(
         tableName, paramClass, paramArrayOfByte1, paramArrayOfByte2, paramCall);
   } catch (Throwable ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #19
0
 public boolean checkAndDelete(
     String tableName,
     byte[] paramArrayOfByte1,
     byte[] paramArrayOfByte2,
     byte[] paramArrayOfByte3,
     byte[] paramArrayOfByte4,
     Delete paramDelete) {
   try {
     return hzTemplate.checkAndDelete(
         tableName,
         paramArrayOfByte1,
         paramArrayOfByte2,
         paramArrayOfByte3,
         paramArrayOfByte4,
         paramDelete);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
예제 #20
0
 protected final void closeSession() {
   hzTemplate.closeSession();
 }
예제 #21
0
 protected final HzSession getSession() {
   return hzTemplate.getSession();
 }