Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-411

Add exists(key) to DataStore interface

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.9
    • gora-core, storage
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jhnmora000 John Mora
              alfonsonishikawa Alfonso Nishikawa Muñumer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: