[
https://issues.apache.org/jira/browse/APEXMALHAR-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315050#comment-15315050
]
ASF GitHub Bot commented on APEXMALHAR-1957:
--------------------------------------------
Github user bhupeshchawda commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/292#discussion_r65787279
--- 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;
--- End diff --
Transient
> 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)