I have an application which needs to be able to point to any aerospike database based on the configuration file, from what I understand, using a UDF invovles the .lua file to be installed on the aerospike server in the first place which I cannot guarantee. Is there a simple way to update the metadata of a specific aerospike record using a Java client?
You would use the touch operation to modify only the meta data:
http://www.aerospike.com/apidocs/java/com/aerospike/client/Operation.html#touch()
An example can be found here:
https://github.com/aerospike/aerospike-client-java/blob/master/examples/src/com/aerospike/examples/Touch.java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With