code: private Map<byte[], byte[]> getColumns(Object connection, String hashKey, Map<byte[], byte[]> columns)
      {
          if (resource != null && resource.isActive())
          {
              // Why transaction API returns response in byte[] format/?
              Response response = ((Transaction) connection).hgetAll(getEncodedBytes(hashKey));
              ((RedisTransaction) resource).onExecute(((Transaction) connection));
              // ((Transaction) connection).exec();
              Map<String, String> cols = (Map<String, String>) response.get();
              connection = getConnection();
  
              if (cols != null)
              {
                  for (String name : cols.keySet())
                  {
                      columns.put(getEncodedBytes(name), getEncodedBytes(cols.get(name)));
                  }
              }
          }
          else
          {
              columns = ((Jedis) connection).hgetAll(getEncodedBytes(hashKey));
          }
          return columns;
      }
docs: Gets the columns.
  
  @param connection
  the connection
  @param hashKey
  the hash key
  @param columns
  the columns
  @return the columns