http://git-wip-us.apache.org/repos/asf/hbase-site/blob/68eae623/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html
----------------------------------------------------------------------
diff --git
a/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html
b/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html
index 0025ba5..7903176 100644
--- a/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html
+++ b/devapidocs/org/apache/hadoop/hbase/security/access/TablePermission.html
@@ -18,7 +18,7 @@
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};
+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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";
</div>
<div class="subNav">
<ul class="navList">
-<li><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TableAuthManager.PermissionCache.html"
title="class in org.apache.hadoop.hbase.security.access"><span
class="typeNameLink">Prev Class</span></a></li>
+<li><a
href="../../../../../../org/apache/hadoop/hbase/security/access/ShadedAccessControlUtil.html"
title="class in org.apache.hadoop.hbase.security.access"><span
class="typeNameLink">Prev Class</span></a></li>
<li><a
href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html"
title="class in org.apache.hadoop.hbase.security.access"><span
class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
@@ -121,10 +121,6 @@ var activeTableTab = "activeTableTab";
<dt>All Implemented Interfaces:</dt>
<dd>org.apache.hadoop.io.Writable</dd>
</dl>
-<dl>
-<dt>Direct Known Subclasses:</dt>
-<dd><a
href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html"
title="class in
org.apache.hadoop.hbase.security.access">UserPermission</a></dd>
-</dl>
<hr>
<br>
<pre>@InterfaceAudience.Private
@@ -132,7 +128,7 @@ public class <a
href="../../../../../../src-html/org/apache/hadoop/hbase/securit
extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in org.apache.hadoop.hbase.security.access">Permission</a></pre>
<div class="block">Represents an authorization for access for the given
actions, optionally
restricted to the given column family or column qualifier, over the
- given table. If the family property is <code>null</code>, it implies
+ given table. If the family property is <code>null</code>, it implies
full table access.</div>
</li>
</ul>
@@ -151,7 +147,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from
class org.apache.hadoop.hbase.security.access.<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in org.apache.hadoop.hbase.security.access">Permission</a></h3>
-<code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a></code></li>
+<code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Scope.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Scope</a></code></li>
</ul>
</li>
</ul>
@@ -172,14 +168,10 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#family">family</a></span></code> </td>
</tr>
<tr class="rowColor">
-<td class="colFirst"><code>private <a
href="https://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/security/access/TablePermission.html#namespace">namespace</a></span></code> </td>
-</tr>
-<tr class="altColor">
<td class="colFirst"><code>private byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#qualifier">qualifier</a></span></code> </td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>private <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#table">table</a></span></code> </td>
</tr>
@@ -189,7 +181,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<!-- -->
</a>
<h3>Fields inherited from
class org.apache.hadoop.hbase.security.access.<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in org.apache.hadoop.hbase.security.access">Permission</a></h3>
-<code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#ACTION_BY_CODE">ACTION_BY_CODE</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#actions">actions</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#VERSION">VERSION</a></code></li>
+<code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#ACTION_BY_CODE">ACTION_BY_CODE</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#actions">actions</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#scope">scope</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#SCOPE_BY_CODE">SCOPE_BY_CODE</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#VERSION">VERSION</a></code></li>
</ul>
</li>
</ul>
@@ -210,37 +202,16 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
</td>
</tr>
<tr class="rowColor">
-<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-java.lang.String-byte:A-">TablePermission</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
+<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-org.apache.hadoop.hbase.TableName-byte:A-">TablePermission</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] actionCodes)</code>
-<div class="block">Creates a new permission for the given namespace,
- allowing the actions matching the provided byte codes to be performed.</div>
+<div class="block">Construct a table permission.</div>
</td>
</tr>
<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-java.lang.String-org.apache.hadoop.hbase.security.access.Permission.Action...-">TablePermission</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</code>
-<div class="block">Create a new permission for the given namespace,
- allowing the given actions.</div>
-</td>
-</tr>
-<tr class="rowColor">
-<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-java.lang.String-org.apache.hadoop.hbase.TableName-byte:A-byte:A-byte:A-">TablePermission</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
- <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> table,
+<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-org.apache.hadoop.hbase.TableName-byte:A-byte:A-">TablePermission</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] family,
- byte[] qualifier,
byte[] actionCodes)</code>
-<div class="block">Creates a new permission for the given namespace or table,
family and column qualifier,
- allowing the actions matching the provided byte codes to be performed.</div>
-</td>
-</tr>
-<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-java.lang.String-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">TablePermission</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
- <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- byte[] qualifier,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</code>
-<div class="block">Creates a new permission for the given namespace or table,
restricted to the given
- column family and qualifier, allowing the assigned actions to be
performed.</div>
+<div class="block">Construct a table:family permission.</div>
</td>
</tr>
<tr class="rowColor">
@@ -248,8 +219,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
byte[] family,
byte[] qualifier,
byte[] actionCodes)</code>
-<div class="block">Creates a new permission for the given table, family and
column qualifier,
- allowing the actions matching the provided byte codes to be performed.</div>
+<div class="block">Construct a table:family:qualifier permission.</div>
</td>
</tr>
<tr class="altColor">
@@ -257,16 +227,20 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
byte[] family,
byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</code>
-<div class="block">Creates a new permission for the given table, restricted to
the given
- column family and qualifier, allowing the assigned actions to be
performed.</div>
+<div class="block">Construct a table:family:qualifier permission.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">TablePermission</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] family,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</code>
-<div class="block">Create a new permission for the given table and
(optionally) column family,
- allowing the given actions.</div>
+<div class="block">Construct a table:family permission.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#TablePermission-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.security.access.Permission.Action...-">TablePermission</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+ <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</code>
+<div class="block">Construct a table permission.</div>
</td>
</tr>
</table>
@@ -289,60 +263,69 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#equals-java.lang.Object-">equals</a></span>(<a
href="https://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="i1" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#equalsExceptActions-java.lang.Object-">equalsExceptActions</a></span>(<a
href="https://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>
+<div class="block">Check if two permission equals regardless of actions.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>private boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#failCheckFamily-byte:A-">failCheckFamily</a></span>(byte[] family)</code> </td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>private boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#failCheckQualifier-byte:A-">failCheckQualifier</a></span>(byte[] qual)</code> </td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>private boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#failCheckTable-org.apache.hadoop.hbase.TableName-">failCheckTable</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table)</code> </td>
+</tr>
+<tr id="i5" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#getFamily--">getFamily</a></span>()</code> </td>
</tr>
-<tr id="i2" class="altColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code><a
href="https://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/security/access/TablePermission.html#getNamespace--">getNamespace</a></span>()</code> </td>
</tr>
-<tr id="i3" class="rowColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#getQualifier--">getQualifier</a></span>()</code> </td>
</tr>
-<tr id="i4" class="altColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code><a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#getTableName--">getTableName</a></span>()</code> </td>
</tr>
-<tr id="i5" class="rowColor">
+<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/security/access/TablePermission.html#hasFamily--">hasFamily</a></span>()</code> </td>
</tr>
-<tr id="i6" class="altColor">
+<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/security/access/TablePermission.html#hashCode--">hashCode</a></span>()</code> </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/security/access/TablePermission.html#hasNamespace--">hasNamespace</a></span>()</code> </td>
-</tr>
-<tr id="i8" class="altColor">
+<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#hasQualifier--">hasQualifier</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/security/access/TablePermission.html#hasTable--">hasTable</a></span>()</code> </td>
-</tr>
-<tr id="i10" class="altColor">
+<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#implies-java.lang.String-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#implies-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+ byte[] family,
+ byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</code>
-<div class="block">Checks that a given table operation is authorized by this
permission
- instance.</div>
+<div class="block">Check if given action can performs on given
table:family:qualifier.</div>
</td>
</tr>
-<tr id="i11" class="rowColor">
+<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#implies-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#implies-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] family,
- byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</code>
-<div class="block">Checks that a given table operation is authorized by this
permission
- instance.</div>
+<div class="block">Check if given action can performs on given
table:family.</div>
</td>
</tr>
-<tr id="i12" class="altColor">
+<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#implies-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.KeyValue-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
<a href="../../../../../../org/apache/hadoop/hbase/KeyValue.html"
title="class in org.apache.hadoop.hbase">KeyValue</a> kv,
@@ -351,41 +334,29 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
the given table and key value.</div>
</td>
</tr>
-<tr id="i13" class="rowColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#matchesFamily-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">matchesFamily</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</code>
-<div class="block">Returns <code>true</code> if this permission matches the
given column
- family at least.</div>
-</td>
-</tr>
-<tr id="i14" class="altColor">
-<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#matchesFamilyQualifier-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">matchesFamilyQualifier</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- byte[] qualifier,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</code>
-<div class="block">Returns if the given permission matches the given
qualifier.</div>
-</td>
-</tr>
<tr id="i15" class="rowColor">
+<td class="colFirst"><code>protected <a
href="https://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/security/access/TablePermission.html#rawExpression--">rawExpression</a></span>()</code> </td>
+</tr>
+<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#readFields-java.io.DataInput-">readFields</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true"
title="class or interface in java.io">DataInput</a> in)</code> </td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#setTableName-org.apache.hadoop.hbase.TableName-">setTableName</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table)</code> </td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#tableFieldsEqual-org.apache.hadoop.hbase.security.access.TablePermission-">tableFieldsEqual</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html"
title="class in
org.apache.hadoop.hbase.security.access">TablePermission</a> other)</code> </td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#tableFieldsEqual-org.apache.hadoop.hbase.security.access.TablePermission-">tableFieldsEqual</a></span>(<a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html"
title="class in
org.apache.hadoop.hbase.security.access">TablePermission</a> tp)</code>
+<div class="block">Check if fields of table in table permission equals.</div>
+</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code><a
href="https://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/security/access/TablePermission.html#toString--">toString</a></span>()</code> </td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html#write-java.io.DataOutput-">write</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true"
title="class or interface in
java.io">DataOutput</a> out)</code> </td>
</tr>
@@ -395,7 +366,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<!-- -->
</a>
<h3>Methods inherited from
class org.apache.hadoop.hbase.security.access.<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in org.apache.hadoop.hbase.security.access">Permission</a></h3>
-<code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#getActions--">getActions</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#getVersion--">getVersion</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#implies-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#setActions-org.apache.hadoop.hbase.security.access.Permission.Action:A-">setActions</a></code></li>
+<code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#getAccessScope--">getAccessScope</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#getActions--">getActions</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#getVersion--">getVersion</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#implies-org.apache.hadoop.hbase.security.access.Permission.Action-">implies</a>,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#setActions-org.apache.hadoop.hbase.security.access.Permission.Action:A-">setActions</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@@ -439,21 +410,12 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<a name="qualifier">
<!-- -->
</a>
-<ul class="blockList">
+<ul class="blockListLast">
<li class="blockList">
<h4>qualifier</h4>
<pre>private byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.42">qualifier</a></pre>
</li>
</ul>
-<a name="namespace">
-<!-- -->
-</a>
-<ul class="blockListLast">
-<li class="blockList">
-<h4>namespace</h4>
-<pre>private <a
href="https://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/security/access/TablePermission.html#line.46">namespace</a></pre>
-</li>
-</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -468,144 +430,115 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.49">TablePermission</a>()</pre>
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.45">TablePermission</a>()</pre>
<div class="block">Nullary constructor for Writable, do not use</div>
</li>
</ul>
-<a
name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">
+<a
name="TablePermission-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.security.access.Permission.Action...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.60">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.55">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</pre>
-<div class="block">Create a new permission for the given table and
(optionally) column family,
- allowing the given actions.</div>
+<div class="block">Construct a table permission.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>table</code> - the table</dd>
-<dd><code>family</code> - the family, can be null if a global permission on
the table</dd>
-<dd><code>assigned</code> - the list of allowed actions</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>assigned</code> - assigned actions</dd>
</dl>
</li>
</ul>
-<a
name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">
+<a
name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.71">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.65">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] family,
- byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</pre>
-<div class="block">Creates a new permission for the given table, restricted to
the given
- column family and qualifier, allowing the assigned actions to be
performed.</div>
-<dl>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>table</code> - the table</dd>
-<dd><code>family</code> - the family, can be null if a global permission on
the table</dd>
-<dd><code>assigned</code> - the list of allowed actions</dd>
-</dl>
-</li>
-</ul>
-<a
name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-byte:A-byte:A-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.86">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- byte[] qualifier,
- byte[] actionCodes)</pre>
-<div class="block">Creates a new permission for the given table, family and
column qualifier,
- allowing the actions matching the provided byte codes to be performed.</div>
+<div class="block">Construct a table:family permission.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>table</code> - the table</dd>
-<dd><code>family</code> - the family, can be null if a global permission on
the table</dd>
-<dd><code>actionCodes</code> - the list of allowed action codes</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>family</code> - family name</dd>
+<dd><code>assigned</code> - assigned actions</dd>
</dl>
</li>
</ul>
-<a
name="TablePermission-java.lang.String-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">
+<a
name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.102">TablePermission</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
- <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> table,
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.76">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] family,
byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</pre>
-<div class="block">Creates a new permission for the given namespace or table,
restricted to the given
- column family and qualifier, allowing the assigned actions to be
performed.</div>
+<div class="block">Construct a table:family:qualifier permission.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>namespace</code> - </dd>
-<dd><code>table</code> - the table</dd>
-<dd><code>family</code> - the family, can be null if a global permission on
the table</dd>
-<dd><code>assigned</code> - the list of allowed actions</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>family</code> - family name</dd>
+<dd><code>qualifier</code> - qualifier name</dd>
+<dd><code>assigned</code> - assigned actions</dd>
</dl>
</li>
</ul>
-<a
name="TablePermission-java.lang.String-org.apache.hadoop.hbase.TableName-byte:A-byte:A-byte:A-">
+<a name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.119">TablePermission</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
- <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- byte[] qualifier,
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.89">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] actionCodes)</pre>
-<div class="block">Creates a new permission for the given namespace or table,
family and column qualifier,
- allowing the actions matching the provided byte codes to be performed.</div>
+<div class="block">Construct a table permission.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>namespace</code> - </dd>
-<dd><code>table</code> - the table</dd>
-<dd><code>family</code> - the family, can be null if a global permission on
the table</dd>
-<dd><code>actionCodes</code> - the list of allowed action codes</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>actionCodes</code> - assigned actions</dd>
</dl>
</li>
</ul>
-<a name="TablePermission-java.lang.String-byte:A-">
+<a name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.134">TablePermission</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.99">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+ byte[] family,
byte[] actionCodes)</pre>
-<div class="block">Creates a new permission for the given namespace,
- allowing the actions matching the provided byte codes to be performed.</div>
+<div class="block">Construct a table:family permission.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>namespace</code> - </dd>
-<dd><code>actionCodes</code> - the list of allowed action codes</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>family</code> - family name</dd>
+<dd><code>actionCodes</code> - assigned actions</dd>
</dl>
</li>
</ul>
-<a
name="TablePermission-java.lang.String-org.apache.hadoop.hbase.security.access.Permission.Action...-">
+<a
name="TablePermission-org.apache.hadoop.hbase.TableName-byte:A-byte:A-byte:A-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TablePermission</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.145">TablePermission</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a>... assigned)</pre>
-<div class="block">Create a new permission for the given namespace,
- allowing the given actions.</div>
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.110">TablePermission</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+ byte[] family,
+ byte[] qualifier,
+ byte[] actionCodes)</pre>
+<div class="block">Construct a table:family:qualifier permission.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>namespace</code> - </dd>
-<dd><code>assigned</code> - the list of allowed actions</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>family</code> - family name</dd>
+<dd><code>qualifier</code> - qualifier name</dd>
+<dd><code>actionCodes</code> - assigned actions</dd>
</dl>
</li>
</ul>
@@ -617,22 +550,13 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<!-- -->
</a>
<h3>Method Detail</h3>
-<a name="hasTable--">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>hasTable</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.150">hasTable</a>()</pre>
-</li>
-</ul>
<a name="getTableName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableName</h4>
-<pre>public <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.154">getTableName</a>()</pre>
+<pre>public <a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in
org.apache.hadoop.hbase">TableName</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.118">getTableName</a>()</pre>
</li>
</ul>
<a name="setTableName-org.apache.hadoop.hbase.TableName-">
@@ -641,7 +565,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>setTableName</h4>
-<pre>public void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.158">setTableName</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table)</pre>
+<pre>public void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.122">setTableName</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table)</pre>
</li>
</ul>
<a name="hasFamily--">
@@ -650,7 +574,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>hasFamily</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.162">hasFamily</a>()</pre>
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.126">hasFamily</a>()</pre>
</li>
</ul>
<a name="getFamily--">
@@ -659,7 +583,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>getFamily</h4>
-<pre>public byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.166">getFamily</a>()</pre>
+<pre>public byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.130">getFamily</a>()</pre>
</li>
</ul>
<a name="hasQualifier--">
@@ -668,7 +592,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>hasQualifier</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.170">hasQualifier</a>()</pre>
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.134">hasQualifier</a>()</pre>
</li>
</ul>
<a name="getQualifier--">
@@ -677,16 +601,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>getQualifier</h4>
-<pre>public byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.174">getQualifier</a>()</pre>
-</li>
-</ul>
-<a name="hasNamespace--">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>hasNamespace</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.178">hasNamespace</a>()</pre>
+<pre>public byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.138">getQualifier</a>()</pre>
</li>
</ul>
<a name="getNamespace--">
@@ -695,62 +610,85 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>getNamespace</h4>
-<pre>public <a
href="https://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/security/access/TablePermission.html#line.182">getNamespace</a>()</pre>
+<pre>public <a
href="https://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/security/access/TablePermission.html#line.142">getNamespace</a>()</pre>
</li>
</ul>
-<a
name="implies-java.lang.String-org.apache.hadoop.hbase.security.access.Permission.Action-">
+<a
name="implies-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>implies</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.195">implies</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true"
title="class or interface in java.lang">String</a> namespace,
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.154">implies</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+ byte[] family,
+ byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre>
-<div class="block">Checks that a given table operation is authorized by this
permission
- instance.</div>
+<div class="block">Check if given action can performs on given
table:family:qualifier.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>namespace</code> - the namespace where the operation is being
performed</dd>
-<dd><code>action</code> - the action being requested</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>family</code> - family name</dd>
+<dd><code>qualifier</code> - qualifier name</dd>
+<dd><code>action</code> - one of [Read, Write, Create, Exec, Admin]</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd><code>true</code> if the action within the given scope is allowed
- by this permission, <code>false</code></dd>
+<dd>true if can, false otherwise</dd>
</dl>
</li>
</ul>
-<a
name="implies-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">
+<a
name="implies-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>implies</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.217">implies</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.174">implies</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
byte[] family,
- byte[] qualifier,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre>
-<div class="block">Checks that a given table operation is authorized by this
permission
- instance.</div>
+<div class="block">Check if given action can performs on given
table:family.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>table</code> - the table where the operation is being performed</dd>
-<dd><code>family</code> - the column family to which the operation is
restricted,
- if <code>null</code> implies "all"</dd>
-<dd><code>qualifier</code> - the column qualifier to which the action is
restricted,
- if <code>null</code> implies "all"</dd>
-<dd><code>action</code> - the action being requested</dd>
+<dd><code>table</code> - table name</dd>
+<dd><code>family</code> - family name</dd>
+<dd><code>action</code> - one of [Read, Write, Create, Exec, Admin]</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd><code>true</code> if the action within the given scope is allowed
- by this permission, <code>false</code></dd>
+<dd>true if can, false otherwise</dd>
</dl>
</li>
</ul>
+<a name="failCheckTable-org.apache.hadoop.hbase.TableName-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>failCheckTable</h4>
+<pre>private boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.184">failCheckTable</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table)</pre>
+</li>
+</ul>
+<a name="failCheckFamily-byte:A-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>failCheckFamily</h4>
+<pre>private boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.188">failCheckFamily</a>(byte[] family)</pre>
+</li>
+</ul>
+<a name="failCheckQualifier-byte:A-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>failCheckQualifier</h4>
+<pre>private boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.192">failCheckQualifier</a>(byte[] qual)</pre>
+</li>
+</ul>
<a
name="implies-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.KeyValue-org.apache.hadoop.hbase.security.access.Permission.Action-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>implies</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.248">implies</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.205">implies</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
<a
href="../../../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in
org.apache.hadoop.hbase">KeyValue</a> kv,
<a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre>
<div class="block">Checks if this permission grants access to perform the
given action on
@@ -766,53 +704,41 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
</dl>
</li>
</ul>
-<a
name="matchesFamily-org.apache.hadoop.hbase.TableName-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">
-<!-- -->
-</a>
-<ul class="blockList">
-<li class="blockList">
-<h4>matchesFamily</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.273">matchesFamily</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre>
-<div class="block">Returns <code>true</code> if this permission matches the
given column
- family at least. This only indicates a partial match against the table
- and column family, however, and does not guarantee that implies() for the
- column same family would return <code>true</code>. In the case of a
- column-qualifier specific permission, for example, implies() would still
- return false.</div>
-</li>
-</ul>
-<a
name="matchesFamilyQualifier-org.apache.hadoop.hbase.TableName-byte:A-byte:A-org.apache.hadoop.hbase.security.access.Permission.Action-">
+<a
name="tableFieldsEqual-org.apache.hadoop.hbase.security.access.TablePermission-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>matchesFamilyQualifier</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.298">matchesFamilyQualifier</a>(<a
href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class
in org.apache.hadoop.hbase">TableName</a> table,
- byte[] family,
- byte[] qualifier,
- <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html"
title="enum in
org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre>
-<div class="block">Returns if the given permission matches the given
qualifier.</div>
+<h4>tableFieldsEqual</h4>
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.227">tableFieldsEqual</a>(<a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html"
title="class in
org.apache.hadoop.hbase.security.access">TablePermission</a> tp)</pre>
+<div class="block">Check if fields of table in table permission equals.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>table</code> - the table name to match</dd>
-<dd><code>family</code> - the column family to match</dd>
-<dd><code>qualifier</code> - the qualifier name to match</dd>
-<dd><code>action</code> - the action requested</dd>
+<dd><code>tp</code> - to be checked table permission</dd>
<dt><span class="returnLabel">Returns:</span></dt>
-<dd><code>true</code> if the table, family and qualifier match,
- otherwise <code>false</code></dd>
+<dd>true if equals, false otherwise</dd>
</dl>
</li>
</ul>
-<a
name="tableFieldsEqual-org.apache.hadoop.hbase.security.access.TablePermission-">
+<a name="equalsExceptActions-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
-<h4>tableFieldsEqual</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.312">tableFieldsEqual</a>(<a
href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html"
title="class in
org.apache.hadoop.hbase.security.access">TablePermission</a> other)</pre>
+<h4>equalsExceptActions</h4>
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.240">equalsExceptActions</a>(<a
href="https://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>
+<div class="block"><span class="descfrmTypeLabel">Description copied from
class: <code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#equalsExceptActions-java.lang.Object-">Permission</a></code></span></div>
+<div class="block">Check if two permission equals regardless of actions. It is
useful when
+ merging a new permission with an existed permission which needs to check two
permissions's
+ fields.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#equalsExceptActions-java.lang.Object-">equalsExceptActions</a></code> in
class <code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in
org.apache.hadoop.hbase.security.access">Permission</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>obj</code> - instance</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if equals, false otherwise</dd>
+</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
@@ -821,7 +747,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
-<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.330">equals</a>(<a
href="https://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>
+<pre>public boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.249">equals</a>(<a
href="https://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="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#equals-java.lang.Object-">equals</a></code> in
class <code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in
org.apache.hadoop.hbase.security.access">Permission</a></code></dd>
@@ -834,7 +760,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
-<pre>public int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.345">hashCode</a>()</pre>
+<pre>public int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.254">hashCode</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#hashCode--">hashCode</a></code> in
class <code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in
org.apache.hadoop.hbase.security.access">Permission</a></code></dd>
@@ -847,20 +773,33 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
-<pre>public <a
href="https://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/security/access/TablePermission.html#line.364">toString</a>()</pre>
+<pre>public <a
href="https://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/security/access/TablePermission.html#line.270">toString</a>()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#toString--">toString</a></code> in
class <code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in
org.apache.hadoop.hbase.security.access">Permission</a></code></dd>
</dl>
</li>
</ul>
+<a name="rawExpression--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>rawExpression</h4>
+<pre>protected <a
href="https://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/security/access/TablePermission.html#line.275">rawExpression</a>()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html#rawExpression--">rawExpression</a></code> in
class <code><a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html"
title="class in
org.apache.hadoop.hbase.security.access">Permission</a></code></dd>
+</dl>
+</li>
+</ul>
<a name="readFields-java.io.DataInput-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFields</h4>
-<pre>public void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.395">readFields</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true"
title="class or interface in java.io">DataInput</a> in)
+<pre>public void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.287">readFields</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true"
title="class or interface in java.io">DataInput</a> in)
throws <a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -878,7 +817,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
<ul class="blockListLast">
<li class="blockList">
<h4>write</h4>
-<pre>public void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.413">write</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true"
title="class or interface in java.io">DataOutput</a> out)
+<pre>public void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/TablePermission.html#line.302">write</a>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true"
title="class or interface in java.io">DataOutput</a> out)
throws <a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
@@ -918,7 +857,7 @@ extends <a
href="../../../../../../org/apache/hadoop/hbase/security/access/Permi
</div>
<div class="subNav">
<ul class="navList">
-<li><a
href="../../../../../../org/apache/hadoop/hbase/security/access/TableAuthManager.PermissionCache.html"
title="class in org.apache.hadoop.hbase.security.access"><span
class="typeNameLink">Prev Class</span></a></li>
+<li><a
href="../../../../../../org/apache/hadoop/hbase/security/access/ShadedAccessControlUtil.html"
title="class in org.apache.hadoop.hbase.security.access"><span
class="typeNameLink">Prev Class</span></a></li>
<li><a
href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html"
title="class in org.apache.hadoop.hbase.security.access"><span
class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">