如何在 Gemfire 中查找密钥

How to find key in Gemfire

如何在 Gemfire 区域内查找,数据加载期间定义为键的列?

列出和描述未提供所需信息

示例 i am.looking smiler to oracke "ALL_CONSTRAINTS" 你可以 运行 跟随 sql 找到主键

        SELECT a.COLUMN_NAME
                FROM all_cons_columns a INNER JOIN 
               all_constraints c 
              ON a.constraint_name = c.constraint_name 
                    WHERE c.table_name = 'TBL'
                     AND c.constraint_type = 'P'

我不完全确定在区域内查找是什么意思,但我的猜测是您正在尝试查找特定条目是否存在于给定的 GemFire 中区域。

如果是这样,那么您可以使用get method from the Region class. If you want to use GemFire SHell directly instead of a custom Java application, on the other hand, you can use the get command. Last, but not least, you could also execute a OQL query with the query command,例如:query --query="SELECT e.value FROM /MyRegion.entries e WHERE e.key='myKey'"

希望这对您有所帮助。干杯。

我找到了,请在这里找到正确的解决方案

         query --query="select * from /region_name.keySet()"