metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen (JIRA) <j...@apache.org>
Subject [jira] [Created] (METAMODEL-44) Optional method to override in QueryPostprocessDataContext for doing record-lookup by primary key
Date Sun, 30 Mar 2014 18:00:17 GMT
Kasper Sørensen created METAMODEL-44:
----------------------------------------

             Summary: Optional method to override in QueryPostprocessDataContext for doing
record-lookup by primary key
                 Key: METAMODEL-44
                 URL: https://issues.apache.org/jira/browse/METAMODEL-44
             Project: Metamodel
          Issue Type: Improvement
            Reporter: Kasper Sørensen
            Assignee: Kasper Sørensen


For many datastore backends there's an optimized way of doing lookups by ID. For instance
by using "Get" instead of "Scan" in HBase.

For all the subclasses of PostprocessDataContext we should have a method that they can optionally
implement, and thereby easily plug in such a lookup mechanism without too many query-inspection
hurdles.

A solution was already posted and accepted in review board (applied so far to MongoDB and
HBase modules):
https://reviews.apache.org/r/19579/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message