private static byte[] getColumnValue(String tableName, Index index, byte[] row) { /* Value table_ = cm.GetTableInformation(tableName); Value attr_; int st = 0, en = 0; for(int i = 0; i <= table_.getLength(); i++){ attr_ = cm.GetAttrInformation(tableName, i); st = en; en += attr_.getLength(); }*/ int st = 0, en = 0; for (int i = 0; i < index.column; i++) { st = en; en += cm.GetAttrInformation(tableName, i).getLength(); } byte[] colValue = new byte[en - st]; for (int j = 0; j < en - st; j++) { colValue[j] = row[st + j]; } return colValue; }