From dev-return-11571-archive-asf-public=cust-asf.ponee.io@gora.apache.org Sun May 5 18:04:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CA11418066B for ; Sun, 5 May 2019 20:04:02 +0200 (CEST) Received: (qmail 65860 invoked by uid 500); 5 May 2019 18:04:02 -0000 Mailing-List: contact dev-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list dev@gora.apache.org Received: (qmail 65848 invoked by uid 99); 5 May 2019 18:04:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 May 2019 18:04:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 86E97E0095 for ; Sun, 5 May 2019 18:04:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 03F4F20FEB for ; Sun, 5 May 2019 18:04:00 +0000 (UTC) Date: Sun, 5 May 2019 18:04:00 +0000 (UTC) From: "Kevin Ratnasekera (JIRA)" To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GORA-411) Add exists(key) to DataStore interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GORA-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Ratnasekera updated GORA-411: ----------------------------------- Issue Type: New Feature (was: Improvement) > Add exists(key) to DataStore interface > -------------------------------------- > > Key: GORA-411 > URL: https://issues.apache.org/jira/browse/GORA-411 > Project: Apache Gora > Issue Type: New Feature > Components: gora-core, storage > Affects Versions: 0.8 > Reporter: Alfonso Nishikawa > Assignee: John Mora > Priority: Minor > Fix For: 0.9 > > > 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 (v7.6.3#76005)