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

Jaehwa Jung commented on TAJO-2079:
-----------------------------------

Dear [~RCheungIT],

Thank you for your interest.

You don't have to implement a proxy server between Tajo and MongoDB.
Tajo provides two interfaces to support various storages.

One is 'Scanner' which processes one tuple per a call. It resets cursor at 
initialization phase.
Per each call, it reads a tuple by given schema from a specific storage and 
move a cursor to point next tuple.

Other one is 'Appender' which writes a given tuple to underlying storage, 
flushes buffered tuples and calculates stats such as accumulating number of 
written tuples.
It also operates tuples one by one like Scanner, that is, the main difference 
is reading and writing.

Currently, already various storages have been implemented using above 
interfaces. You can see it at tajo-storage module as following:
https://github.com/apache/tajo/tree/master/tajo-storage

Please feel free to ask anything to us. :-)

Best Regards,
Jaehwa

> Add MongoDB to Tajo Storage
> ---------------------------
>
>                 Key: TAJO-2079
>                 URL: https://issues.apache.org/jira/browse/TAJO-2079
>             Project: Tajo
>          Issue Type: New Feature
>          Components: Storage
>            Reporter: Jaehwa Jung
>              Labels: gsoc, gsoc2016
>
> MongoDB is an open source database that uses a document-oriented data model 
> and it is widely popular. Supporting MongoDB will be helpful for Tajo users 
> and MongoDB users.



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

Reply via email to