Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The following page has been changed by udanax:
http://wiki.apache.org/hadoop/Hbase/HbaseShell/HQL

------------------------------------------------------------------------------
      // Iterate through the ResultSet
      // and return the actual row/column/timestamp attribute names and cell 
value
  
-     Text row = rs.getRowName();
+     row = rs.getRowName();
-     Text column = rs.getColumnName();
+     column = rs.getColumnName();
-     long timestamp = rs.getTimeStamp(); /* or rs.getDate(); */
+     timestamp = rs.getTimeStamp(); /* or rs.getDate(); */
-     DataType value = rs.getValue("datatype");
+     value = rs.getValue(/* Data Type */); 
    }
  }}}
  

Reply via email to