Cmdlets for Apache HBase

Build 21.0.7930

Update-ApacheHBase Cmdlet

Parameters   Output Objects  

Updates Apache HBase data.

Syntax

Update-ApacheHBase [parameters]

Remarks

The Update-ApacheHBase cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Apache HBase data.

$conn = Connect-ApacheHBase -Server '127.0.0.1' -Port 8080
Update-ApacheHBase -Connection $conn -Table "Account" -Columns @("Name") -Values @("Jon Doe") -Id "1"
The Where parameter can also be used to specify the primary key of the table:
Update-ApacheHBase -Connection $conn -Table "Account" -Columns @("Name") -Values @("Jon Doe") -Where "Id = '1'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-ApacheHBase -Connection $conn -Table Account -Where "Industry = 'Floppy Disks'" | Update-ApacheHBase -Columns @("Industry") -Values @("Floppy Disks 2")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930