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

------------------------------------------------------------------------------
  {{{
    hql > @ 'hdfs://hbase/file.txt' [arg...];
  }}}
+ 
+  * The arguments is used to replace some characters with some other 
characters in a query string.
+ 
  === Applications ===
  {{{
  CASE 1 :
  
    map {
-     rs = hql.executeQuery("@ '" + cmdFilePath + "';");
+     rs = hql.executeQuery("@ '" + cmdFilePath + "'"
+          + " " + strA + " " + strB;");
      output.collect(key, rs.result());
+   }
+ 
+   main(String[] args) {
+     cmdFilePath = args[0];
+     strA = args[1];
+     strB = args[2];
    }
  
  CASE 2 :

Reply via email to