You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by GitBox <gi...@apache.org> on 2019/04/06 17:04:32 UTC

[GitHub] [gora] jhnmora000 commented on a change in pull request #156: GORA 411 - Add exists(key) to DataStore interface

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_r272802075
 
 

 ##########
 File path: gora-accumulo/src/main/java/org/apache/gora/accumulo/store/AccumuloStore.java
 ##########
 @@ -642,6 +642,20 @@ private void setFetchColumns(Scanner scanner, String[] fields) {
       }
     }
   }
+	
+	@Override
+  public boolean exists(K key) throws GoraException {
+    try {
+      // TODO make isolated scanner optional?
 
 Review comment:
   Sorry for that... I based the new method on get() and I copied accidentally that comment.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services