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_r272807723
##########
File path:
gora-dynamodb/src/main/java/org/apache/gora/dynamodb/store/DynamoDBNativeStore.java
##########
@@ -542,4 +542,9 @@ private Object getRangeKeyFromObj(T obj) throws
IllegalArgumentException,
return rangeKey;
}
+ @Override
+ public boolean exists(K key) throws GoraException {
Review comment:
DynamoDBNativeStore extends to WSDataStoreBase which implements the
DataStore interface. And the default behavior is coded in the DataStoreBase
class, so the default is not inherited and should be added.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services