Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
% curl -i -k -u bob:bob-password\
 -H "Content-Type: text/xml"\
 -d '<Scanner batch="1"/>'\
 -X PUT 'https://localhost:8443/gateway/sample/hbase/api/v1/table1/scanner'

Get the values of the next cells found by the scanner

Code Block
% curl -i -k -u bob:bob-password\
 -H "Accept: application/json"\
 -X GET 'https://localhost:8443/gateway/sample/hbase/api/v1/usertabletable1/scanner/13705290446328cff5ed'

Delete scanner

Code Block
% curl -i -k -u bob:bob-password\
 -H "Accept: text/xml"\
 -X DELETE 'https://localhost:8443/gateway/sample/hbase/api/v1/table1/scanner/13705290446328cff5ed'