blob: 97153165854ee3339b155b11cde615dc0c3ee7ce [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Append (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.hadoop.hbase.client, class: Append">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/Append.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.apache.hadoop.hbase.client</a></div>
<h1 title="Class Append" class="title">Class Append</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance"><a href="Operation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Operation</a>
<div class="inheritance"><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.OperationWithAttributes</a>
<div class="inheritance"><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Mutation</a>
<div class="inheritance">org.apache.hadoop.hbase.client.Append</div>
</div>
</div>
</div>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a></code>, <code><a href="Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a></code>, <code><a href="Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a></code>, <code><a href="../ExtendedCellScannable.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScannable</a></code>, <code><a href="../io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io">HeapSize</a></code></dd>
</dl>
<hr>
<div class="type-signature"><span class="annotations">@Public
</span><span class="modifiers">public class </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-49">Append</a></span>
<span class="extends-implements">extends <a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></span></div>
<div class="block">Performs Append operations on a single row.
<p>
This operation ensures atomicty to readers. Appends are done under a single row lock, so write
operations to a row are synchronized, and readers are guaranteed to see this operation fully
completed.
<p>
To append to a set of columns of a row, instantiate an Append object with the row to append to.
At least one column to append must be specified using the
<a href="#addColumn(byte%5B%5D,byte%5B%5D,byte%5B%5D)"><code>addColumn(byte[], byte[], byte[])</code></a> method.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>private static final long</code></div>
<div class="col-second even-row-color"><code><a href="#HEAP_OVERHEAD" class="member-name-link">HEAP_OVERHEAD</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>private static final org.slf4j.Logger</code></div>
<div class="col-second odd-row-color"><code><a href="#LOG" class="member-name-link">LOG</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>private <a href="../io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a></code></div>
<div class="col-second even-row-color"><code><a href="#tr" class="member-name-link">tr</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.client.Mutation">Fields inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3>
<code><a href="Mutation.html#durability">durability</a>, <a href="Mutation.html#familyMap">familyMap</a>, <a href="Mutation.html#MUTATION_OVERHEAD">MUTATION_OVERHEAD</a>, <a href="Mutation.html#row">row</a>, <a href="Mutation.html#ts">ts</a></code></div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.client.OperationWithAttributes">Fields inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3>
<code><a href="OperationWithAttributes.html#ID_ATRIBUTE">ID_ATRIBUTE</a></code></div>
<div class="inherited-list">
<h3 id="fields-inherited-from-class-org.apache.hadoop.hbase.client.Row">Fields inherited from interface&nbsp;org.apache.hadoop.hbase.client.<a href="Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a></h3>
<code><a href="Row.html#COMPARATOR">COMPARATOR</a></code></div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D)" class="member-name-link">Append</a><wbr>(byte[]&nbsp;row)</code></div>
<div class="col-last even-row-color">
<div class="block">Create a Append operation for the specified row.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D,int,int)" class="member-name-link">Append</a><wbr>(byte[]&nbsp;rowArray,
int&nbsp;rowOffset,
int&nbsp;rowLength)</code></div>
<div class="col-last odd-row-color">
<div class="block">Create a Append operation for the specified row.</div>
</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(byte%5B%5D,long,java.util.NavigableMap)" class="member-name-link">Append</a><wbr>(byte[]&nbsp;row,
long&nbsp;ts,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a>&lt;byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&gt;&nbsp;familyMap)</code></div>
<div class="col-last even-row-color">
<div class="block">Construct the Append with user defined data.</div>
</div>
<div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.hbase.client.Append)" class="member-name-link">Append</a><wbr>(<a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a>&nbsp;appendToCopy)</code></div>
<div class="col-last odd-row-color">
<div class="block">Copy constructor</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#add(org.apache.hadoop.hbase.Cell)" class="member-name-link">add</a><wbr>(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Add column and value to this Append operation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addColumn(byte%5B%5D,byte%5B%5D,byte%5B%5D)" class="member-name-link">addColumn</a><wbr>(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
byte[]&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Add the specified column and value to this Append operation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected long</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#extraHeapSize()" class="member-name-link">extraHeapSize</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Subclasses should override this method to add the heap size of their own fields.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../CellBuilder.html" title="interface in org.apache.hadoop.hbase">CellBuilder</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)" class="member-name-link">getCellBuilder</a><wbr>(<a href="../CellBuilderType.html" title="enum class in org.apache.hadoop.hbase">CellBuilderType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">get a CellBuilder instance that already has relevant Type and Row set.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTimeRange()" class="member-name-link">getTimeRange</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Gets the TimeRange used for this append.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isReturnResults()" class="member-name-link">isReturnResults</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Returns current setting for returnResults</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)" class="member-name-link">setACL</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;user,
<a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&nbsp;perms)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the ACL for this operation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setACL(java.util.Map)" class="member-name-link">setACL</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&gt;&nbsp;perms)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the ACL for this operation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setAttribute(java.lang.String,byte%5B%5D)" class="member-name-link">setAttribute</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
byte[]&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Sets an attribute.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)" class="member-name-link">setCellVisibility</a><wbr>(<a href="../security/visibility/CellVisibility.html" title="class in org.apache.hadoop.hbase.security.visibility">CellVisibility</a>&nbsp;expression)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Sets the visibility expression associated with cells in this Mutation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setClusterIds(java.util.List)" class="member-name-link">setClusterIds</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a>&gt;&nbsp;clusterIds)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Marks that the clusters with the given clusterIds have consumed the mutation</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDurability(org.apache.hadoop.hbase.client.Durability)" class="member-name-link">setDurability</a><wbr>(<a href="Durability.html" title="enum class in org.apache.hadoop.hbase.client">Durability</a>&nbsp;d)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the durability for this mutation</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setId(java.lang.String)" class="member-name-link">setId</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">This method allows you to set an identifier on an operation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPriority(int)" class="member-name-link">setPriority</a><wbr>(int&nbsp;priority)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setReturnResults(boolean)" class="member-name-link">setReturnResults</a><wbr>(boolean&nbsp;returnResults)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">True (default) if the append operation should return the results.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTimeRange(long,long)" class="member-name-link">setTimeRange</a><wbr>(long&nbsp;minStamp,
long&nbsp;maxStamp)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Sets the TimeRange to be used on the Get for this append.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTimestamp(long)" class="member-name-link">setTimestamp</a><wbr>(long&nbsp;timestamp)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the timestamp of the delete.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setTTL(long)" class="member-name-link">setTTL</a><wbr>(long&nbsp;ttl)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the TTL desired for the result of the mutation, in milliseconds.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.client.Mutation">Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3>
<code><a href="Mutation.html#cellScanner()">cellScanner</a>, <a href="Mutation.html#checkRow(byte%5B%5D)">checkRow</a>, <a href="Mutation.html#checkRow(byte%5B%5D,int,int)">checkRow</a>, <a href="Mutation.html#checkRow(java.nio.ByteBuffer)">checkRow</a>, <a href="Mutation.html#checkTimestamp(long)">checkTimestamp</a>, <a href="Mutation.html#createPutKeyValue(byte%5B%5D,byte%5B%5D,long,byte%5B%5D)">createPutKeyValue</a>, <a href="Mutation.html#createPutKeyValue(byte%5B%5D,byte%5B%5D,long,byte%5B%5D,org.apache.hadoop.hbase.Tag%5B%5D)">createPutKeyValue</a>, <a href="Mutation.html#createPutKeyValue(byte%5B%5D,java.nio.ByteBuffer,long,java.nio.ByteBuffer,org.apache.hadoop.hbase.Tag%5B%5D)">createPutKeyValue</a>, <a href="Mutation.html#get(byte%5B%5D,byte%5B%5D)">get</a>, <a href="Mutation.html#getACL()">getACL</a>, <a href="Mutation.html#getCellBuilder()">getCellBuilder</a>, <a href="Mutation.html#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType,org.apache.hadoop.hbase.Cell.Type)">getCellBuilder</a>, <a href="Mutation.html#getCellList(byte%5B%5D)">getCellList</a>, <a href="Mutation.html#getCellVisibility()">getCellVisibility</a>, <a href="Mutation.html#getClusterIds()">getClusterIds</a>, <a href="Mutation.html#getDurability()">getDurability</a>, <a href="Mutation.html#getFamilyCellMap()">getFamilyCellMap</a>, <a href="Mutation.html#getFingerprint()">getFingerprint</a>, <a href="Mutation.html#getRow()">getRow</a>, <a href="Mutation.html#getTimestamp()">getTimestamp</a>, <a href="Mutation.html#getTTL()">getTTL</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,byte%5B%5D)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,long)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,long,byte%5B%5D)">has</a>, <a href="Mutation.html#has(byte%5B%5D,byte%5B%5D,long,byte%5B%5D,boolean,boolean)">has</a>, <a href="Mutation.html#heapSize()">heapSize</a>, <a href="Mutation.html#isEmpty()">isEmpty</a>, <a href="Mutation.html#numFamilies()">numFamilies</a>, <a href="Mutation.html#size()">size</a>, <a href="Mutation.html#toCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">toCellVisibility</a>, <a href="Mutation.html#toMap(int)">toMap</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.client.OperationWithAttributes">Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3>
<code><a href="OperationWithAttributes.html#getAttribute(java.lang.String)">getAttribute</a>, <a href="OperationWithAttributes.html#getAttributeSize()">getAttributeSize</a>, <a href="OperationWithAttributes.html#getAttributesMap()">getAttributesMap</a>, <a href="OperationWithAttributes.html#getId()">getId</a>, <a href="OperationWithAttributes.html#getPriority()">getPriority</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-org.apache.hadoop.hbase.client.Operation">Methods inherited from class&nbsp;org.apache.hadoop.hbase.client.<a href="Operation.html" title="class in org.apache.hadoop.hbase.client">Operation</a></h3>
<code><a href="Operation.html#toJSON()">toJSON</a>, <a href="Operation.html#toJSON(int)">toJSON</a>, <a href="Operation.html#toMap()">toMap</a>, <a href="Operation.html#toString()">toString</a>, <a href="Operation.html#toString(int)">toString</a></code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="LOG">
<h3>LOG</h3>
<div class="member-signature"><span class="modifiers">private static final</span>&nbsp;<span class="return-type">org.slf4j.Logger</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-51">LOG</a></span></div>
</section>
</li>
<li>
<section class="detail" id="HEAP_OVERHEAD">
<h3>HEAP_OVERHEAD</h3>
<div class="member-signature"><span class="modifiers">private static final</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-52">HEAP_OVERHEAD</a></span></div>
</section>
</li>
<li>
<section class="detail" id="tr">
<h3>tr</h3>
<div class="member-signature"><span class="modifiers">private</span>&nbsp;<span class="return-type"><a href="../io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-53">tr</a></span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(byte[])">
<h3>Append</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-108">Append</a></span><wbr><span class="parameters">(byte[]&nbsp;row)</span></div>
<div class="block">Create a Append operation for the specified row.
<p>
At least one column must be appended to.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - row key; makes a local copy of passed in array.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(org.apache.hadoop.hbase.client.Append)">
<h3>Append</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-116">Append</a></span><wbr><span class="parameters">(<a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a>&nbsp;appendToCopy)</span></div>
<div class="block">Copy constructor</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>appendToCopy</code> - append to copy</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(byte[],int,int)">
<h3>Append</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-127">Append</a></span><wbr><span class="parameters">(byte[]&nbsp;rowArray,
int&nbsp;rowOffset,
int&nbsp;rowLength)</span></div>
<div class="block">Create a Append operation for the specified row.
<p>
At least one column must be appended to.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>rowArray</code> - Makes a copy out of this buffer.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(byte[],long,java.util.NavigableMap)">
<h3>Append</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-139">Append</a></span><wbr><span class="parameters">(byte[]&nbsp;row,
long&nbsp;ts,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a>&lt;byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&gt;&nbsp;familyMap)</span></div>
<div class="block">Construct the Append with user defined data. NOTED: 1) all cells in the familyMap must have the
Type.Put 2) the row of each cell must be same with passed row.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - row. CAN'T be null</dd>
<dd><code>ts</code> - timestamp</dd>
<dd><code>familyMap</code> - the map to collect all cells internally. CAN'T be null</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="setTimeRange(long,long)">
<h3>setTimeRange</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-68">setTimeRange</a></span><wbr><span class="parameters">(long&nbsp;minStamp,
long&nbsp;maxStamp)</span></div>
<div class="block">Sets the TimeRange to be used on the Get for this append.
<p>
This is useful for when you have counters that only last for specific periods of time (ie.
counters that are partitioned by time). By setting the range of valid times for this append,
you can potentially gain some performance with a more optimal Get operation. Be careful adding
the time range to this class as you will update the old cell if the time range doesn't include
the latest cells.
<p>
This range is used as [minStamp, maxStamp).</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>minStamp</code> - minimum timestamp value, inclusive</dd>
<dd><code>maxStamp</code> - maximum timestamp value, exclusive</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTimeRange()">
<h3>getTimeRange</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-76">getTimeRange</a></span>()</div>
<div class="block">Gets the TimeRange used for this append.</div>
</section>
</li>
<li>
<section class="detail" id="extraHeapSize()">
<h3>extraHeapSize</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-80">extraHeapSize</a></span>()</div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#extraHeapSize()">Mutation</a></code></span></div>
<div class="block">Subclasses should override this method to add the heap size of their own fields.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#extraHeapSize()">extraHeapSize</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Returns:</dt>
<dd>the heap size to add (will be aligned).</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setReturnResults(boolean)">
<h3>setReturnResults</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-89">setReturnResults</a></span><wbr><span class="parameters">(boolean&nbsp;returnResults)</span></div>
<div class="block">True (default) if the append operation should return the results. A client that is not
interested in the result can save network bandwidth setting this to false.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setReturnResults(boolean)">setReturnResults</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isReturnResults()">
<h3>isReturnResults</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-97">isReturnResults</a></span>()</div>
<div class="block">Returns current setting for returnResults</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#isReturnResults()">isReturnResults</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addColumn(byte[],byte[],byte[])">
<h3>addColumn</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-149">addColumn</a></span><wbr><span class="parameters">(byte[]&nbsp;family,
byte[]&nbsp;qualifier,
byte[]&nbsp;value)</span></div>
<div class="block">Add the specified column and value to this Append operation.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>family</code> - family name</dd>
<dd><code>qualifier</code> - column qualifier</dd>
<dd><code>value</code> - value to append to specified column</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="add(org.apache.hadoop.hbase.Cell)">
<h3>add</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-158">add</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</span></div>
<div class="block">Add column and value to this Append operation.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#add(org.apache.hadoop.hbase.Cell)">add</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Returns:</dt>
<dd>This instance</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTimestamp(long)">
<h3>setTimestamp</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-169">setTimestamp</a></span><wbr><span class="parameters">(long&nbsp;timestamp)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setTimestamp(long)">Mutation</a></code></span></div>
<div class="block">Set the timestamp of the delete.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setTimestamp(long)">setTimestamp</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAttribute(java.lang.String,byte[])">
<h3>setAttribute</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-175">setAttribute</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name,
byte[]&nbsp;value)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="Attributes.html#setAttribute(java.lang.String,byte%5B%5D)">Attributes</a></code></span></div>
<div class="block">Sets an attribute. In case value = null attribute is removed from the attributes map. Attribute
names starting with _ indicate system attributes.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="Attributes.html#setAttribute(java.lang.String,byte%5B%5D)">setAttribute</a></code>&nbsp;in interface&nbsp;<code><a href="Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a></code></dd>
<dt>Overrides:</dt>
<dd><code><a href="OperationWithAttributes.html#setAttribute(java.lang.String,byte%5B%5D)">setAttribute</a></code>&nbsp;in class&nbsp;<code><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
<dt>Parameters:</dt>
<dd><code>name</code> - attribute name</dd>
<dd><code>value</code> - attribute value</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setId(java.lang.String)">
<h3>setId</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-180">setId</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="OperationWithAttributes.html#setId(java.lang.String)">OperationWithAttributes</a></code></span></div>
<div class="block">This method allows you to set an identifier on an operation. The original motivation for this
was to allow the identifier to be used in slow query logging, but this could obviously be
useful in other places. One use of this could be to put a class.method identifier in here to
see where the slow query is coming from. id to set for the scan</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="OperationWithAttributes.html#setId(java.lang.String)">setId</a></code>&nbsp;in class&nbsp;<code><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDurability(org.apache.hadoop.hbase.client.Durability)">
<h3>setDurability</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-185">setDurability</a></span><wbr><span class="parameters">(<a href="Durability.html" title="enum class in org.apache.hadoop.hbase.client">Durability</a>&nbsp;d)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setDurability(org.apache.hadoop.hbase.client.Durability)">Mutation</a></code></span></div>
<div class="block">Set the durability for this mutation</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setDurability(org.apache.hadoop.hbase.client.Durability)">setDurability</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setClusterIds(java.util.List)">
<h3>setClusterIds</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-190">setClusterIds</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/UUID.html" title="class or interface in java.util" class="external-link">UUID</a>&gt;&nbsp;clusterIds)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setClusterIds(java.util.List)">Mutation</a></code></span></div>
<div class="block">Marks that the clusters with the given clusterIds have consumed the mutation</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setClusterIds(java.util.List)">setClusterIds</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>clusterIds</code> - of the clusters that have consumed the mutation</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">
<h3>setCellVisibility</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-195">setCellVisibility</a></span><wbr><span class="parameters">(<a href="../security/visibility/CellVisibility.html" title="class in org.apache.hadoop.hbase.security.visibility">CellVisibility</a>&nbsp;expression)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">Mutation</a></code></span></div>
<div class="block">Sets the visibility expression associated with cells in this Mutation.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setCellVisibility(org.apache.hadoop.hbase.security.visibility.CellVisibility)">setCellVisibility</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)">
<h3>setACL</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-200">setACL</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;user,
<a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&nbsp;perms)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)">Mutation</a></code></span></div>
<div class="block">Set the ACL for this operation.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setACL(java.lang.String,org.apache.hadoop.hbase.security.access.Permission)">setACL</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>user</code> - User short name</dd>
<dd><code>perms</code> - Permissions for the user</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setACL(java.util.Map)">
<h3>setACL</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-205">setACL</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="../security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>&gt;&nbsp;perms)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setACL(java.util.Map)">Mutation</a></code></span></div>
<div class="block">Set the ACL for this operation.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setACL(java.util.Map)">setACL</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>perms</code> - A map of permissions for a user or users</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setPriority(int)">
<h3>setPriority</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-210">setPriority</a></span><wbr><span class="parameters">(int&nbsp;priority)</span></div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="OperationWithAttributes.html#setPriority(int)">setPriority</a></code>&nbsp;in class&nbsp;<code><a href="OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTTL(long)">
<h3>setTTL</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Append.html" title="class in org.apache.hadoop.hbase.client">Append</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-215">setTTL</a></span><wbr><span class="parameters">(long&nbsp;ttl)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#setTTL(long)">Mutation</a></code></span></div>
<div class="block">Set the TTL desired for the result of the mutation, in milliseconds.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="Mutation.html#setTTL(long)">setTTL</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>ttl</code> - the TTL desired for the result of the mutation, in milliseconds</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)">
<h3>getCellBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../CellBuilder.html" title="interface in org.apache.hadoop.hbase">CellBuilder</a></span>&nbsp;<span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Append.html#line-220">getCellBuilder</a></span><wbr><span class="parameters">(<a href="../CellBuilderType.html" title="enum class in org.apache.hadoop.hbase">CellBuilderType</a>&nbsp;type)</span></div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code><a href="Mutation.html#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)">Mutation</a></code></span></div>
<div class="block">get a CellBuilder instance that already has relevant Type and Row set.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="Mutation.html#getCellBuilder(org.apache.hadoop.hbase.CellBuilderType)">getCellBuilder</a></code>&nbsp;in class&nbsp;<code><a href="Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd>
<dt>Parameters:</dt>
<dd><code>type</code> - e.g CellBuilderType.SHALLOW_COPY</dd>
<dt>Returns:</dt>
<dd>CellBuilder which already has relevant Type and Row set.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2007&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>