apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-1957) Improve HBasePOJOInputOperator with support for threaded read
Date Mon, 13 Jun 2016 23:32:57 GMT

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

ASF GitHub Bot commented on APEXMALHAR-1957:
--------------------------------------------

Github user chinmaykolhatkar commented on a diff in the pull request:

    https://github.com/apache/apex-malhar/pull/292#discussion_r66887202
  
    --- Diff: contrib/src/main/java/com/datatorrent/contrib/hbase/HBasePOJOInputOperator.java
---
    @@ -37,20 +37,21 @@
     import com.datatorrent.api.Context.OperatorContext;
     
     /**
    + * HBasePOJOInputOperator reads data from a HBase store, converts it to a POJO and puts
it on the output port.
    + * The read from HBase is asynchronous.
      * @displayName HBase Input Operator
      * @category Input
      * @tags database, nosql, pojo, hbase
      * @since 3.1.0
      */
     @Evolving
    -public class HBasePOJOInputOperator extends HBaseInputOperator<Object>
    +public class HBasePOJOInputOperator extends HBaseScanOperator<Object>
     {
       private TableInfo<HBaseFieldInfo> tableInfo;
    -  protected HBaseStore store;
       private String pojoTypeName;
    -  private String startRow;
    -  private String lastReadRow;
    +  private Scan scan;
     
    +  // Transients
       protected transient Class pojoType;
    --- End diff --
    
    Can you make pojoType, fieldValueGenerator & valueConverter private?
    I don't see this being used outside of this class.


> Improve HBasePOJOInputOperator with support for threaded read
> -------------------------------------------------------------
>
>                 Key: APEXMALHAR-1957
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-1957
>             Project: Apache Apex Malhar
>          Issue Type: Task
>            Reporter: Bhupesh Chawda
>            Assignee: Bhupesh Chawda
>
> Add the following support to Hbase POJO Input Operator:
> * Add support for threaded read
> * Allow to specify a set of "column family: column" and fetch data only for these columns
> * Allow to specify an end row key to stop scanning
> * Add metrics



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

Mime
View raw message