TL;DR: Is it possible to update a row timestamp if it exists?
Is it possible to make HBase act in an LRU fashion? What I mean by that is that if a row exists in HBase I want to update its timestamp
I know I can invoke a create data if it doesn't exist (like this) but I'm looking for the opposite, updating data (specifically the timestamp) if the data does exist
The reason for wanting to do this is that I'm working on a component which uses HBase as a cache for URLs and their content, this way when a new request for a URL arrives I want to check if the content already exists and if it does I want to update its timestamp, otherwise the content doesn't exist and I want to go and actually fetch it. The reason I need the timestamp is for the other side of this program where I have a component that reads all the URLs that arrived in the last day, that's the reason why I also need to update this timestamp
Thanks in advance