[ 
https://issues.apache.org/jira/browse/GORA-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sujit Pal updated GORA-93:
--------------------------

    Attachment: patch.txt

Patches DataStoreBase to use the field list from the current Persistent object 
instead of passing null fields to DataStore.get(key,fields), and supplies an 
implementation of CassandraStore.get(key) that builds a Query and delegates to 
CassandraStore.execute().
                
> [gora-cassandra] Add implementation of CassandraStore.get(key)
> --------------------------------------------------------------
>
>                 Key: GORA-93
>                 URL: https://issues.apache.org/jira/browse/GORA-93
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: storage-cassandra
>    Affects Versions: 0.2-incubating
>         Environment: Nutch (from nutchgora branch), Cassandra 1.0.6, Gora 
> (from trunk).
>            Reporter: Sujit Pal
>              Labels: patch
>             Fix For: 0.2-incubating
>
>         Attachments: patch.txt
>
>
> I needed to write a non-MR component that depends on nutchgora, which 
> involves lookup by URL key. Using Cassandra 1.0.6 so decided to upgrade to 
> latest gora in trunk (0.2-incubating). Found that CassandraStore.get() is an 
> empty implementation. Initial workaround was to use Hector's template API 
> directly, but having a functional get() makes the client code more readable.
> Attaching patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to