public void delete(String tableName, Delete paramDelete) {
   try {
     hzTemplate.delete(tableName, paramDelete);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 public ResultScanner getScanner(String tableName, byte[] paramArrayOfByte) {
   try {
     return hzTemplate.getScanner(tableName, paramArrayOfByte);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 protected final void closeTable(String tableName) {
   try {
     hzTemplate.closeTable(tableName);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 public Result[] get(String tableName, List<Get> paramList) {
   try {
     return hzTemplate.get(tableName, paramList);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 public ResultScanner getScanner(String tableName, Scan paramScan) {
   try {
     return hzTemplate.getScanner(tableName, paramScan);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 public Object[] batch(String tableName, List<? extends Row> paramList) {
   try {
     return hzTemplate.batch(tableName, paramList);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 public Result get(String tableName, Get paramGet) {
   try {
     return hzTemplate.get(tableName, paramGet);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 public void batch(String tableName, List<? extends Row> paramList, Object[] paramArrayOfObject) {
   try {
     hzTemplate.batch(tableName, paramList, paramArrayOfObject);
   } catch (Exception ex) {
     throw new HzBaoException(ex);
   }
 }
 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();
 }