local

Execute the specified query on the local cache.


gfsh:/Customers>local select * from /Customers

Row  Address  Name        Id
---  -------  ----        --
1    Pune     Vishal R    CUST10401
2    Delhi    V Ahmad     CUST17891
3    Tokyo    Yuki T      CUST34571
4    Karpen   Michael S   CUST96874
5    Oviedo   Fernando A  CUST13541

Class: data.Customer
Fetch size: 50
   Results: 5, Returned: 5/5
elapsed (msec): 24

gfsh:/Customers>ls -k   

Row  Value
---  -----
1    "CUST13541"
2    "CUST34571"
3    "CUST10401"
4    "CUST17891"
5    "CUST96874"

 Fetch size: 5
   Returned: 5/5
      Class: java.lang.String
elapsed (msec): 3

gfsh:/Customers>rm -k 5

removed local: "CUST96874"

gfsh:/Customers>local select * from /Customers

Row  Address  Name        Id
---  -------  ----        --
1    Pune     Vishal R    CUST10401
2    Delhi    V Ahmad     CUST17891
3    Tokyo    Yuki T      CUST34571
4    Oviedo   Fernando A  CUST13541

Class: data.Customer
Fetch size: 50
   Results: 4, Returned: 4/4
elapsed (msec): 1