Repository: hbase-site Updated Branches: refs/heads/asf-site a8697ddfa -> 2dbdc4860
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2dbdc486/apidocs/org/apache/hadoop/hbase/client/Increment.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/client/Increment.html b/apidocs/org/apache/hadoop/hbase/client/Increment.html new file mode 100644 index 0000000..a425b2e --- /dev/null +++ b/apidocs/org/apache/hadoop/hbase/client/Increment.html @@ -0,0 +1,913 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Increment (Apache HBase 2.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Increment (Apache HBase 2.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/Increment.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/hadoop/hbase/client/HTableMultiplexer.HTableMultiplexerStatus.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/Increment.html" target="_top">Frames</a></li> +<li><a href="Increment.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#fields.inherited.from.class.org.apache.hadoop.hbase.client.Mutation">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.client</div> +<h2 title="Class Increment" class="title">Class Increment</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Operation</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.OperationWithAttributes</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">org.apache.hadoop.hbase.client.Mutation</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.client.Increment</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>>, org.apache.hadoop.hbase.CellScannable, <a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>, org.apache.hadoop.hbase.io.HeapSize</dd> +</dl> +<hr> +<br> +<pre>@InterfaceAudience.Public +public class <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.51">Increment</a> +extends <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a> +implements <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>></pre> +<div class="block">Used to perform Increment operations on a single row. + <p> + This operation does not appear atomic to readers. Increments are done + under a single row lock, so write operations to a row are synchronized, but + readers do not take row locks so get and scan operations can see this + operation partially completed. + <p> + To increment columns of a row, instantiate an Increment object with the row + to increment. At least one column to increment must be specified using the + <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#addColumn-byte:A-byte:A-long-"><code>addColumn(byte[], byte[], long)</code></a> method.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.client.Mutation"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#durability">durability</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#familyMap">familyMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#MUTATION_OVERHEAD">MUTATION_OVERHEAD</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#row">row</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#ts">ts</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.client.OperationWithAttributes"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#ID_ATRIBUTE">ID_ATRIBUTE</a></code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#Increment-byte:A-">Increment</a></span>(byte[] row)</code> +<div class="block">Create a Increment operation for the specified row.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#Increment-byte:A-int-int-">Increment</a></span>(byte[] row, + int offset, + int length)</code> +<div class="block">Create a Increment operation for the specified row.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#Increment-org.apache.hadoop.hbase.client.Increment-">Increment</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> i)</code> +<div class="block">Copy constructor</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#add-org.apache.hadoop.hbase.Cell-">add</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block">Add the specified KeyValue to this operation.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#addColumn-byte:A-byte:A-long-">addColumn</a></span>(byte[] family, + byte[] qualifier, + long amount)</code> +<div class="block">Increment the column from the specific family with the specified qualifier + by the specified amount.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#compareTo-org.apache.hadoop.hbase.client.Row-">compareTo</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a> i)</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#extraHeapSize--">extraHeapSize</a></span>()</code> +<div class="block">Subclasses should override this method to add the heap size of their own fields.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#getFamilyMapOfLongs--">getFamilyMapOfLongs</a></span>()</code> +<div class="block">Before 0.95, when you called Increment#getFamilyMap(), you got back + a map of families to a list of Longs.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#getTimeRange--">getTimeRange</a></span>()</code> +<div class="block">Gets the TimeRange used for this increment.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#hasFamilies--">hasFamilies</a></span>()</code> +<div class="block">Method for checking if any families have been inserted into this Increment</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#hashCode--">hashCode</a></span>()</code> </td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#isReturnResults--">isReturnResults</a></span>()</code> </td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#numFamilies--">numFamilies</a></span>()</code> +<div class="block">Method for retrieving the number of families to increment from</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setACL-java.util.Map-">setACL</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.hadoop.hbase.security.access.Permission> perms)</code> </td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setACL-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-">setACL</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + org.apache.hadoop.hbase.security.access.Permission perms)</code> </td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setAttribute-java.lang.String-byte:A-">setAttribute</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, + byte[] value)</code> +<div class="block">Sets an attribute.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">setCellVisibility</a></span>(org.apache.hadoop.hbase.security.visibility.CellVisibility expression)</code> +<div class="block">Sets the visibility expression associated with cells in this Mutation.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setClusterIds-java.util.List-">setClusterIds</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>> clusterIds)</code> +<div class="block">Marks that the clusters with the given clusterIds have consumed the mutation</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setDurability-org.apache.hadoop.hbase.client.Durability-">setDurability</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client">Durability</a> d)</code> +<div class="block">Set the durability for this mutation</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setFamilyCellMap-java.util.NavigableMap-">setFamilyCellMap</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>>> map)</code> +<div class="block">Method for setting the put's familyMap</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setId-java.lang.String-">setId</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id)</code> +<div class="block">This method allows you to set an identifier on an operation.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setReturnResults-boolean-">setReturnResults</a></span>(boolean returnResults)</code> </td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setTimeRange-long-long-">setTimeRange</a></span>(long minStamp, + long maxStamp)</code> +<div class="block">Sets the TimeRange to be used on the Get for this increment.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#setTTL-long-">setTTL</a></span>(long ttl)</code> +<div class="block">Set the TTL desired for the result of the mutation, in milliseconds.</div> +</td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Increment.html#toString--">toString</a></span>()</code> +<div class="block">Produces a string representation of this Operation.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.Mutation"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#cellScanner--">cellScanner</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getACL--">getACL</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getCellVisibility--">getCellVisibility</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getClusterIds--">getClusterIds</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getDurability--">getDurability</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getFamilyCellMap--">getFamilyCellMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getFingerprint--">getFingerprint</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getRow--">getRow</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getTimeStamp--">getTimeStamp</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation. html#getTTL--">getTTL</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#heapSize--">heapSize</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#isEmpty--">isEmpty</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#size--">size</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#toMap-int-">toMap</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.OperationWithAttributes"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getAttribute-java.lang.String-">getAttribute</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getAttributeSize--">getAttributeSize</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getAttributesMap--">getAttributesMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#getId--">getId</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.Operation"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/Operation.html" title="class in org.apache.hadoop.hbase.client">Operation</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toJSON--">toJSON</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toJSON-int-">toJSON</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toMap--">toMap</a>, <a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toString-int-">toString</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-ex ternal=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="Increment-byte:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>Increment</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.61">Increment</a>(byte[] row)</pre> +<div class="block">Create a Increment operation for the specified row. + <p> + At least one column must be incremented.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - row key (we will make a copy of this).</dd> +</dl> +</li> +</ul> +<a name="Increment-byte:A-int-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>Increment</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.71">Increment</a>(byte[] row, + int offset, + int length)</pre> +<div class="block">Create a Increment operation for the specified row. + <p> + At least one column must be incremented.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - row key (we will make a copy of this).</dd> +</dl> +</li> +</ul> +<a name="Increment-org.apache.hadoop.hbase.client.Increment-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Increment</h4> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.79">Increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> i)</pre> +<div class="block">Copy constructor</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>i</code> - </dd> +</dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="add-org.apache.hadoop.hbase.Cell-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.95">add</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Add the specified KeyValue to this operation.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cell</code> - individual Cell</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</dd> +</dl> +</li> +</ul> +<a name="addColumn-byte:A-byte:A-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addColumn</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.118">addColumn</a>(byte[] family, + byte[] qualifier, + long amount)</pre> +<div class="block">Increment the column from the specific family with the specified qualifier + by the specified amount. + <p> + Overrides previous calls to addColumn for this family and qualifier.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>family</code> - family name</dd> +<dd><code>qualifier</code> - column qualifier</dd> +<dd><code>amount</code> - amount to increment by</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the Increment object</dd> +</dl> +</li> +</ul> +<a name="getTimeRange--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTimeRange</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/io/TimeRange.html" title="class in org.apache.hadoop.hbase.io">TimeRange</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.136">getTimeRange</a>()</pre> +<div class="block">Gets the TimeRange used for this increment.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>TimeRange</dd> +</dl> +</li> +</ul> +<a name="setTimeRange-long-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTimeRange</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.154">setTimeRange</a>(long minStamp, + long maxStamp) + throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Sets the TimeRange to be used on the Get for this increment. + <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 increment, you can potentially gain + some performance with a more optimal Get operation. + <p> + This range is used as [minStamp, maxStamp).</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>minStamp</code> - minimum timestamp value, inclusive</dd> +<dd><code>maxStamp</code> - maximum timestamp value, exclusive</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if invalid time range</dd> +</dl> +</li> +</ul> +<a name="setReturnResults-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReturnResults</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.165">setReturnResults</a>(boolean returnResults)</pre> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>returnResults</code> - True (default) if the increment operation should return the results. A + client that is not interested in the result can save network bandwidth setting this + to false.</dd> +</dl> +</li> +</ul> +<a name="isReturnResults--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isReturnResults</h4> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.174">isReturnResults</a>()</pre> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>current setting for returnResults</dd> +</dl> +</li> +</ul> +<a name="numFamilies--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>numFamilies</h4> +<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.183">numFamilies</a>()</pre> +<div class="block">Method for retrieving the number of families to increment from</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#numFamilies--">numFamilies</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>number of families</dd> +</dl> +</li> +</ul> +<a name="hasFamilies--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hasFamilies</h4> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.191">hasFamilies</a>()</pre> +<div class="block">Method for checking if any families have been inserted into this Increment</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if familyMap is non empty false otherwise</dd> +</dl> +</li> +</ul> +<a name="getFamilyMapOfLongs--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFamilyMapOfLongs</h4> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.203">getFamilyMapOfLongs</a>()</pre> +<div class="block">Before 0.95, when you called Increment#getFamilyMap(), you got back + a map of families to a list of Longs. Now, <a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#getFamilyCellMap--"><code>Mutation.getFamilyCellMap()</code></a> returns + families by list of Cells. This method has been added so you can have the + old behavior.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Map of families to a Map of qualifiers and their Long increments.</dd> +<dt><span class="simpleTagLabel">Since:</span></dt> +<dd>0.95.0</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.221">toString</a>()</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toString--">Operation</a></code></span></div> +<div class="block">Produces a string representation of this Operation. It defaults to a JSON + representation, but falls back to a string representation of the + fingerprint and details in the case of a JSON encoding failure.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html#toString--">toString</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Operation.html" title="class in org.apache.hadoop.hbase.client">Operation</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>String</dd> +</dl> +</li> +</ul> +<a name="compareTo-org.apache.hadoop.hbase.client.Row-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>compareTo</h4> +<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.263">compareTo</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a> i)</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code> in interface <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>></code></dd> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#compareTo-org.apache.hadoop.hbase.client.Row-">compareTo</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +</dl> +</li> +</ul> +<a name="hashCode--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.269">hashCode</a>()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="equals-java.lang.Object-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.276">equals</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="extraHeapSize--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>extraHeapSize</h4> +<pre>protected long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.289">extraHeapSize</a>()</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/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> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#extraHeapSize--">extraHeapSize</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the heap size to add (will be aligned).</dd> +</dl> +</li> +</ul> +<a name="setAttribute-java.lang.String-byte:A-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setAttribute</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.294">setAttribute</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, + byte[] value)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html#setAttribute-java.lang.String-byte:A-">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> +<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html#setAttribute-java.lang.String-byte:A-">setAttribute</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/client/Attributes.html" title="interface in org.apache.hadoop.hbase.client">Attributes</a></code></dd> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#setAttribute-java.lang.String-byte:A-">setAttribute</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - attribute name</dd> +<dd><code>value</code> - attribute value</dd> +</dl> +</li> +</ul> +<a name="setId-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setId</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.299">setId</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/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.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html#setId-java.lang.String-">setId</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/OperationWithAttributes.html" title="class in org.apache.hadoop.hbase.client">OperationWithAttributes</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - id to set for the scan</dd> +</dl> +</li> +</ul> +<a name="setDurability-org.apache.hadoop.hbase.client.Durability-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDurability</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.304">setDurability</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client">Durability</a> d)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/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> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setDurability-org.apache.hadoop.hbase.client.Durability-">setDurability</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +</dl> +</li> +</ul> +<a name="setFamilyCellMap-java.util.NavigableMap-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFamilyCellMap</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.309">setFamilyCellMap</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>>> map)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setFamilyCellMap-java.util.NavigableMap-">Mutation</a></code></span></div> +<div class="block">Method for setting the put's familyMap</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setFamilyCellMap-java.util.NavigableMap-">setFamilyCellMap</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +</dl> +</li> +</ul> +<a name="setClusterIds-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setClusterIds</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.314">setClusterIds</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>> clusterIds)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/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> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setClusterIds-java.util.List-">setClusterIds</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>clusterIds</code> - of the clusters that have consumed the mutation</dd> +</dl> +</li> +</ul> +<a name="setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCellVisibility</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.319">setCellVisibility</a>(org.apache.hadoop.hbase.security.visibility.CellVisibility expression)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/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. + It is illegal to set <code>CellVisibility</code> on <code>Delete</code> mutation.</div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setCellVisibility-org.apache.hadoop.hbase.security.visibility.CellVisibility-">setCellVisibility</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +</dl> +</li> +</ul> +<a name="setACL-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setACL</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.324">setACL</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, + org.apache.hadoop.hbase.security.access.Permission perms)</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setACL-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-">setACL</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>user</code> - User short name</dd> +<dd><code>perms</code> - Permissions for the user</dd> +</dl> +</li> +</ul> +<a name="setACL-java.util.Map-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setACL</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.329">setACL</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.hadoop.hbase.security.access.Permission> perms)</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setACL-java.util.Map-">setACL</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>perms</code> - A map of permissions for a user or users</dd> +</dl> +</li> +</ul> +<a name="setTTL-long-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>setTTL</h4> +<pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Increment.html#line.334">setTTL</a>(long ttl)</pre> +<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/hadoop/hbase/client/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> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#setTTL-long-">setTTL</a></code> in class <code><a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html" title="class in org.apache.hadoop.hbase.client">Mutation</a></code></dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>ttl</code> - the TTL desired for the result of the mutation, in milliseconds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>this</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/Increment.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">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/hadoop/hbase/client/HTableMultiplexer.HTableMultiplexerStatus.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/Increment.html" target="_top">Frames</a></li> +<li><a href="Increment.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#fields.inherited.from.class.org.apache.hadoop.hbase.client.Mutation">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
