IBMStreams com.ibm.streamsx.hbase Toolkit > com.ibm.streamsx.hbase 3.9.3 > com.ibm.streamsx.hbase > HBASEIncrement
The HBASEIncrement operator increments the specified HBase entry. The operator uses the HTable.increment function. You can specify the value to increment as an operator parameter or as an attribute in the input tuple.
Behavior in a consistent region
HBASEIncrement is not allowed in a consistent region.
Required: rowAttrName
Optional: authKeytab, authPrincipal, columnFamilyAttrName, columnQualifierAttrName, hbaseSite, increment, incrementAttrName, staticColumnFamily, staticColumnQualifier, tableName, tableNameAttribute
Tuples describing entry to increment
Optional port for success or failure information.
Optional port for error information. This port submits an error message and a tuple, when an error occurs while HBase actions.
Required: rowAttrName
Optional: authKeytab, authPrincipal, columnFamilyAttrName, columnQualifierAttrName, hbaseSite, increment, incrementAttrName, staticColumnFamily, staticColumnQualifier, tableName, tableNameAttribute
The authKeytab parameter specifies the kerberos keytab file that is created for the principal.
The authPrincipal parameter specifies the Kerberos principal, which is typically the principal that is created for HBase server
Name of the attribute on the input tuple containing the columnFamily. Cannot be used with staticColumnFmily.
Name of the attribute on the input tuple containing the columnQualifier. Cannot be used with staticColumnQualifier.
The hbaseSite parameter specifies the path of hbase-site.xml file. This is the recommended way to specify the HBASE configuration. If not specified, then HBASE_HOME must be set when the operator runs, and it will use $HBASE_SITE/conf/hbase-site.xml
This parameter specifies the value by which to increment. It cannot be specified with incrementAttrName parameter.
This parameter specifies the attribute that is used to determine the increment. It cannot be used with the increment parameter.
Name of the attribute on the input tuple containing the row. It is required.
If this parameter is specified, it will be used as the columnFamily for all operations. (Compare to columnFamilyAttrName.) For HBASEScan, it can have cardinality greater than one.
If this parameter is specified, it will be used as the columnQualifier for all tuples. HBASEScan allows it to be specified multiple times.
Name of the HBASE table. It is an optional parameter but one of these parameters must be set in opeartor: 'tableName' or 'tableNameAttribute'. Cannot be used with 'tableNameAttribute'. If the table does not exist, the operator will throw an exception
Name of the attribute on the input tuple containing the tableName. Use this parameter to pass the table name to the operator via input port. Cannot be used with parameter 'tableName'. This is suitable for tables with the same schema.