How do I show the PKs?


#1

Both in the Java client and in the AQL console it doesnt seem possible?


#2

The primary (user) key isn’t stored by default. You have to set the config in the client when saving records to also store the user key.

Check the userKey field setting below:

http://www.aerospike.com/apidocs/java/com/aerospike/client/Key.html#userKey