key

Set the key constraint class to be used for commands like 'get', 'put', 'bcp' & 'db'. Also to display enumerate keys. Show enumerated Keys which were obtained by executing one of the following commands: ls -e, ls -k, ls -s


gfsh:/Orders>key -l
	
Row  Id  CustProdId
---  --  ----------
1    10  CUST13541_HSHD303
2    12  CUST34571_ELEX304
3    4   CUST13541_HSHD201
4    8   CUST34571_ELEX203
5    7   CUST96874_HSHD303
6    11  CUST34571_ELEX101
Set the key class to be used for the 'get' & 'put' commands. get <query_predicate> requires setting this key.
Note: If key constraint class is different for other region, use key command again to set the new constraint class.
gfsh:/Orders>key data.OrderKey

gfsh:/Orders>show             

     connected = true
            db = null
          echo = false
      locators = pc62:10334
  server group = <undefined>
  read timeout = 300000
  select limit = 1000
         fetch = 50
           key = data.OrderKey
         value = null
       show -p = true
       show -t = true
   show -table = true
    show -type = true
     show -col = 5
  zone (hours) = 0

key class data.OrderKey
{
    CustProdId::java.lang.String
    Id::java.lang.String
}