keith-turner commented on issue #738: a question about accumulo shell commnad 
table row 'scan'
URL: https://github.com/apache/accumulo/issues/738#issuecomment-434767965
 
 
   > i tried to search the documents and use some character like '*' or '%' 
etc. it's all fail. so i'd ask what wild character is or any other way for 
searching row function in Accumulo?
   
   It sounds like you want a prefix range, can do this in java code but not in 
shell. We could add a shell option for prefix ranges.
   
   ```java
   // Range for all rows starting with 'abc'
   Range pr = Range.prefix("abc");
   ```
   
   > plus, How to give -b and -e at 'Range rm=Range.exact(new Text(bkey));' in 
Accumulo java api for scanning?
   
   You can use the range constructor for this like the following.
   
   ```java
   String startRow ="abc";
   String endRow = "def";
   
   Range rm = new Range(startRow, true, endRow, true);
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to