From c594162390f79933c29f78f0b8ab7ae162bed9ce Mon Sep 17 00:00:00 2001 From: "KIRSTEN W. HILDRUM" Date: Tue, 10 Feb 2015 21:44:30 -0500 Subject: [PATCH] formatting change in HBASEDelete, acouple wording changes in HBASEScan --- .../impl/java/src/com/ibm/streamsx/hbase/HBASEDelete.java | 3 +++ .../impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEDelete.java b/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEDelete.java index 51c7c58..dfc9e63 100644 --- a/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEDelete.java +++ b/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEDelete.java @@ -37,9 +37,12 @@ @PrimitiveOperator(name = "HBASEDelete", namespace = "com.ibm.streamsx.hbase", description = "The `HBASEDelete` operator deletes an entry, an entire row, a columnFamily in a row, or a columnFamily, columnQualifier pair in a row from HBASE. It can also optionally do a checkAndDelete operation." + HBASEOperator.DOC_BLANKLINE + "The behavior of the operator depends on its parameters:" + +HBASEOperator.DOC_BLANKLINE + "* To delete an entire row, specify only the row." + + HBASEOperator.DOC_BLANKLINE + "* To delete a columnFamily, specify the row and the columnFamily. " + " You can specify the columnFamily by using the **staticColumnFamily** or **columnFamilyAttrName** parameters." + + HBASEOperator.DOC_BLANKLINE + "* To delete just a single entry, specify the row, columnFamily, and columnQualifier." + "You can specify the columnQualifier by using the **staticColumnQualifer** or **columnQualiferAttrName** parameters." + HBASEOperator.DOC_BLANKLINE diff --git a/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java b/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java index 271c970..4d915fa 100644 --- a/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java +++ b/com.ibm.streamsx.hbase/impl/java/src/com/ibm/streamsx/hbase/HBASEScan.java @@ -75,10 +75,10 @@ public class HBASEScan extends HBASEOperator implements StateHandler { + " If it does not have an input port, it can be the source of a region, and the region may either be operator-driven or " + "periodic." + HBASEOperator.DOC_BLANKLINE - + "When in a trigger-based consistent region, the " + + "When in a operator-based consistent region, the " + TRIGGER_PARAM - + " must be set to the number of rows to process before triggering a drain. The operator will process approximately that many rows before starting a drain." - + " and maxThreads must be one"; + + " must be set to the number of rows to process before triggering a drain. The operator will process approximately that many rows before starting a drain."; + static final String operatorDescription = "The `HBASEScan` operator scans an HBASE table. Like the `FileSource` operator, it has an optional input port. If no input port is" + " specifed, then the operator scans the table according to the parameters that you specify, and sends the final punctuation. If you specify an input " + " port, the operator does not start a scan until it receives a tuple. After the operator receives a tuple, it"