You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/18 15:17:12 UTC

[jira] [Commented] (GORA-274) Extend the LogManager to support -get

    [ https://issues.apache.org/jira/browse/GORA-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289136#comment-15289136 ] 

ASF GitHub Bot commented on GORA-274:
-------------------------------------

GitHub user djkevincr opened a pull request:

    https://github.com/apache/gora/pull/65

    adding GORA-274 fix

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/djkevincr/gora GORA-274

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/gora/pull/65.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #65
    
----
commit 8a7101781ea18d8e3ca2a8e37978110337fe2373
Author: djkevincr <dj...@yahoo.com>
Date:   2016-05-18T15:14:45Z

    adding GORA-274 fix

----


> Extend the LogManager to support -get <lineNum> <field list> 
> -------------------------------------------------------------
>
>                 Key: GORA-274
>                 URL: https://issues.apache.org/jira/browse/GORA-274
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-tutorial
>            Reporter: Apostolos Giannakidis
>            Assignee: Apostolos Giannakidis
>            Priority: Minor
>              Labels: tutorial
>             Fix For: 0.8
>
>
> Based on the Gora API, the Gora backend datastore modules should provide an implementation of the method get(K key, String[] fields). This is a very useful and important method of the Gora API. However, the tutorial sample application LogManager does not demonstrate this functionality. Currently it only has an option to fetch an object based on its key, which calls the get(K key) method that fetches all the fields. I propose to extend the LogManager options and provide a new option as follows:
> -get <lineNum> <field list> 
> This would call the datastore.get(K key, String[] fields). 
> I believe that it is important to demonstrate this Gora functionality in the official tutorial application.



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