gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GORA-411) Add exists(key) to DataStore interface
Date Thu, 19 Feb 2015 14:23:11 GMT
Alfonso Nishikawa created GORA-411:
--------------------------------------

             Summary: Add exists(key) to DataStore interface
                 Key: GORA-411
                 URL: https://issues.apache.org/jira/browse/GORA-411
             Project: Apache Gora
          Issue Type: Improvement
          Components: gora-core, storage
            Reporter: Alfonso Nishikawa
            Priority: Minor


NUTCH-1679 need to check if there exists some rows and they are proposing to use {{store.get(TableUtil.reverseUrl(url)))}}.
This will have a considerably impact on performance since every column will be fetched.

Some datastores implements a call to just check if a row exists (like HBase) so no data is
transfered by network.
If a datastore can't handle an "exists" call, can default to a get.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message