jhnmora000 commented on a change in pull request #156: GORA 411 - Add exists(key) to DataStore interface URL: https://github.com/apache/gora/pull/156#discussion_r272802625
########## File path: gora-cassandra/src/main/java/org/apache/gora/cassandra/serializers/NativeSerializer.java ########## @@ -258,4 +259,25 @@ private K getKey(T object) { } return key; } + + @Override + public boolean exists(Object key) throws GoraException { Review comment: This method actually overrides CassandraSerializer - an intermediate abstract class independent to DataStore and other methods (get, put) in this classs also use Object instead of K , so I tried to stick to that. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services