You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by mp...@apache.org on 2018/03/22 21:32:02 UTC
[49/51] [partial] kudu-site git commit: Publish commit(s) from site
source repo: 33b9334 Fix 1.7.0 apidocs and cpp-client-api
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/Type.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/Type.html b/apidocs/org/apache/kudu/Type.html
index e3e2361..e3cb955 100644
--- a/apidocs/org/apache/kudu/Type.html
+++ b/apidocs/org/apache/kudu/Type.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Type (Kudu 1.6.0 API)</title>
+<title>Type (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
@@ -12,14 +12,14 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Type (Kudu 1.6.0 API)";
+ parent.document.title="Type (Kudu 1.7.0 API)";
}
}
catch(err) {
}
//-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10,"i5":9,"i6":9};
-var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var methods = {"i0":42,"i1":10,"i2":10,"i3":42,"i4":10,"i5":9,"i6":10,"i7":9,"i8":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@@ -147,27 +147,30 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is
<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#BOOL">BOOL</a></span></code> </td>
</tr>
<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#DOUBLE">DOUBLE</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#DECIMAL">DECIMAL</a></span></code> </td>
</tr>
<tr class="rowColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#FLOAT">FLOAT</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#DOUBLE">DOUBLE</a></span></code> </td>
</tr>
<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT16">INT16</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#FLOAT">FLOAT</a></span></code> </td>
</tr>
<tr class="rowColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT32">INT32</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT16">INT16</a></span></code> </td>
</tr>
<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT64">INT64</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT32">INT32</a></span></code> </td>
</tr>
<tr class="rowColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT8">INT8</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT64">INT64</a></span></code> </td>
</tr>
<tr class="altColor">
-<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#STRING">STRING</a></span></code> </td>
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#INT8">INT8</a></span></code> </td>
</tr>
<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#STRING">STRING</a></span></code> </td>
+</tr>
+<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#UNIXTIME_MICROS">UNIXTIME_MICROS</a></span></code> </td>
</tr>
</table>
@@ -180,7 +183,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is
</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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>
@@ -188,38 +191,54 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is
<tr id="i0" class="altColor">
<td class="colFirst"><code>org.apache.kudu.Common.DataType</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#getDataType--">getDataType</a></span>()</code>
-<div class="block">Get the data type from the common's pb</div>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span>
+<div class="block"><span class="deprecationComment">use <a href="../../../org/apache/kudu/Type.html#getDataType-org.apache.kudu.ColumnTypeAttributes-"><code>getDataType(ColumnTypeAttributes)</code></a></span></div>
+</div>
</td>
</tr>
<tr id="i1" class="rowColor">
+<td class="colFirst"><code>org.apache.kudu.Common.DataType</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#getDataType-org.apache.kudu.ColumnTypeAttributes-">getDataType</a></span>(<a href="../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</code>
+<div class="block">Get the data type from the common's pb</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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/kudu/Type.html#getName--">getName</a></span>()</code>
<div class="block">Get the string representation of this type</div>
</td>
</tr>
-<tr id="i2" class="altColor">
+<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#getSize--">getSize</a></span>()</code>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span>
+<div class="block"><span class="deprecationComment">use <a href="../../../org/apache/kudu/Type.html#getSize-org.apache.kudu.ColumnTypeAttributes-"><code>getSize(ColumnTypeAttributes)</code></a></span></div>
+</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#getSize-org.apache.kudu.ColumnTypeAttributes-">getSize</a></span>(<a href="../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</code>
<div class="block">The size of this type on the wire</div>
</td>
</tr>
-<tr id="i3" class="rowColor">
+<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#getTypeForDataType-org.apache.kudu.Common.DataType-">getTypeForDataType</a></span>(org.apache.kudu.Common.DataType type)</code>
<div class="block">Convert the pb DataType to a Type</div>
</td>
</tr>
-<tr id="i4" class="altColor">
+<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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/kudu/Type.html#toString--">toString</a></span>()</code> </td>
</tr>
-<tr id="i5" class="rowColor">
+<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
-<tr id="i6" class="altColor">
+<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/kudu/Type.html#values--">values</a></span>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
@@ -339,12 +358,21 @@ the order they are declared.</div>
<a name="UNIXTIME_MICROS">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>UNIXTIME_MICROS</h4>
<pre>public static final <a href="../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a> UNIXTIME_MICROS</pre>
</li>
</ul>
+<a name="DECIMAL">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>DECIMAL</h4>
+<pre>public static final <a href="../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a> DECIMAL</pre>
+</li>
+</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
@@ -402,6 +430,7 @@ not permitted.)</div>
<li class="blockList">
<h4>getDataType</h4>
<pre>public org.apache.kudu.Common.DataType getDataType()</pre>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../org/apache/kudu/Type.html#getDataType-org.apache.kudu.ColumnTypeAttributes-"><code>getDataType(ColumnTypeAttributes)</code></a></span></div>
<div class="block">Get the data type from the common's pb</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -409,6 +438,22 @@ not permitted.)</div>
</dl>
</li>
</ul>
+<a name="getDataType-org.apache.kudu.ColumnTypeAttributes-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDataType</h4>
+<pre>public org.apache.kudu.Common.DataType getDataType(<a href="../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</pre>
+<div class="block">Get the data type from the common's pb</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>typeAttributes</code> - the additional attributes of the type.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A DataType</dd>
+</dl>
+</li>
+</ul>
<a name="getName--">
<!-- -->
</a>
@@ -430,6 +475,7 @@ not permitted.)</div>
<li class="blockList">
<h4>getSize</h4>
<pre>public int getSize()</pre>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../org/apache/kudu/Type.html#getSize-org.apache.kudu.ColumnTypeAttributes-"><code>getSize(ColumnTypeAttributes)</code></a></span></div>
<div class="block">The size of this type on the wire</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@@ -437,6 +483,22 @@ not permitted.)</div>
</dl>
</li>
</ul>
+<a name="getSize-org.apache.kudu.ColumnTypeAttributes-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSize</h4>
+<pre>public int getSize(<a href="../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</pre>
+<div class="block">The size of this type on the wire</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>typeAttributes</code> - the additional attributes of the type.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A size</dd>
+</dl>
+</li>
+</ul>
<a name="toString--">
<!-- -->
</a>
@@ -535,6 +597,6 @@ not permitted.)</div>
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/class-use/ColumnSchema.ColumnSchemaBuilder.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/class-use/ColumnSchema.ColumnSchemaBuilder.html b/apidocs/org/apache/kudu/class-use/ColumnSchema.ColumnSchemaBuilder.html
index dbab3aa..2d82fa9 100644
--- a/apidocs/org/apache/kudu/class-use/ColumnSchema.ColumnSchemaBuilder.html
+++ b/apidocs/org/apache/kudu/class-use/ColumnSchema.ColumnSchemaBuilder.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.kudu.ColumnSchema.ColumnSchemaBuilder (Kudu 1.6.0 API)</title>
+<title>Uses of Class org.apache.kudu.ColumnSchema.ColumnSchemaBuilder (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.kudu.ColumnSchema.ColumnSchemaBuilder (Kudu 1.6.0 API)";
+ parent.document.title="Uses of Class org.apache.kudu.ColumnSchema.ColumnSchemaBuilder (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -138,6 +138,12 @@
<div class="block">Marks the column as allowing null values.</div>
</td>
</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/kudu/ColumnSchema.ColumnSchemaBuilder.html" title="class in org.apache.kudu">ColumnSchema.ColumnSchemaBuilder</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnSchema.ColumnSchemaBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnSchema.ColumnSchemaBuilder.html#typeAttributes-org.apache.kudu.ColumnTypeAttributes-">typeAttributes</a></span>(<a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</code>
+<div class="block">Set the column type attributes for this column.</div>
+</td>
+</tr>
</tbody>
</table>
</li>
@@ -192,6 +198,6 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/class-use/ColumnSchema.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/class-use/ColumnSchema.html b/apidocs/org/apache/kudu/class-use/ColumnSchema.html
index abda5a8..d8de885 100644
--- a/apidocs/org/apache/kudu/class-use/ColumnSchema.html
+++ b/apidocs/org/apache/kudu/class-use/ColumnSchema.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.kudu.ColumnSchema (Kudu 1.6.0 API)</title>
+<title>Uses of Class org.apache.kudu.ColumnSchema (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.kudu.ColumnSchema (Kudu 1.6.0 API)";
+ parent.document.title="Uses of Class org.apache.kudu.ColumnSchema (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -202,13 +202,21 @@
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
+<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-java.math.BigDecimal-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
+ <a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> value)</code>
+<div class="block">Creates a new comparison predicate on a Decimal column.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-boolean-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
boolean value)</code>
<div class="block">Creates a new <code>KuduPredicate</code> on a boolean column.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-byte:A-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
@@ -216,7 +224,7 @@
<div class="block">Creates a new comparison predicate on a binary column.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-double-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
@@ -224,7 +232,7 @@
<div class="block">Creates a new comparison predicate on a double column.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-float-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
@@ -232,7 +240,7 @@
<div class="block">Creates a new comparison predicate on a float column.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-long-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
@@ -240,7 +248,7 @@
<div class="block">Creates a new comparison predicate on an integer or timestamp column.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newComparisonPredicate-org.apache.kudu.ColumnSchema-org.apache.kudu.client.KuduPredicate.ComparisonOp-java.lang.String-">newComparisonPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="../../../../org/apache/kudu/client/KuduPredicate.ComparisonOp.html" title="enum in org.apache.kudu.client">KuduPredicate.ComparisonOp</a> op,
@@ -248,20 +256,20 @@
<div class="block">Creates a new comparison predicate on a string column.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <T> <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newInListPredicate-org.apache.kudu.ColumnSchema-java.util.List-">newInListPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><T> values)</code>
<div class="block">Creates a new IN list predicate.</div>
</td>
</tr>
-<tr class="altColor">
+<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newIsNotNullPredicate-org.apache.kudu.ColumnSchema-">newIsNotNullPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column)</code>
<div class="block">Creates a new <code>IS NOT NULL</code> predicate.</div>
</td>
</tr>
-<tr class="rowColor">
+<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/kudu/client/KuduPredicate.html" title="class in org.apache.kudu.client">KuduPredicate</a></code></td>
<td class="colLast"><span class="typeNameLabel">KuduPredicate.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduPredicate.html#newIsNullPredicate-org.apache.kudu.ColumnSchema-">newIsNullPredicate</a></span>(<a href="../../../../org/apache/kudu/ColumnSchema.html" title="class in org.apache.kudu">ColumnSchema</a> column)</code>
<div class="block">Creates a new <code>IS NULL</code> predicate.</div>
@@ -335,6 +343,6 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html b/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html
new file mode 100644
index 0000000..698a037
--- /dev/null
+++ b/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html
@@ -0,0 +1,173 @@
+<!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>Uses of Class org.apache.kudu.ColumnTypeAttributes.ColumnTypeAttributesBuilder (Kudu 1.7.0 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="Uses of Class org.apache.kudu.ColumnTypeAttributes.ColumnTypeAttributesBuilder (Kudu 1.7.0 API)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+</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><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">Class</a></li>
+<li class="navBarCell1Rev">Use</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>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/kudu/class-use/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" target="_top">Frames</a></li>
+<li><a href="ColumnTypeAttributes.ColumnTypeAttributesBuilder.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>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.kudu.ColumnTypeAttributes.ColumnTypeAttributesBuilder" class="title">Uses of Class<br>org.apache.kudu.ColumnTypeAttributes.ColumnTypeAttributesBuilder</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">ColumnTypeAttributes.ColumnTypeAttributesBuilder</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.kudu">org.apache.kudu</a></td>
+<td class="colLast"> </td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.kudu">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">ColumnTypeAttributes.ColumnTypeAttributesBuilder</a> in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a> that return <a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">ColumnTypeAttributes.ColumnTypeAttributesBuilder</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">ColumnTypeAttributes.ColumnTypeAttributesBuilder</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnTypeAttributes.ColumnTypeAttributesBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html#precision-int-">precision</a></span>(int precision)</code>
+<div class="block">Set the precision.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">ColumnTypeAttributes.ColumnTypeAttributesBuilder</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnTypeAttributes.ColumnTypeAttributesBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html#scale-int-">scale</a></span>(int scale)</code>
+<div class="block">Set the scale.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= 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><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" title="class in org.apache.kudu">Class</a></li>
+<li class="navBarCell1Rev">Use</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>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/kudu/class-use/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html" target="_top">Frames</a></li>
+<li><a href="ColumnTypeAttributes.ColumnTypeAttributesBuilder.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>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.html b/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.html
new file mode 100644
index 0000000..9619e8e
--- /dev/null
+++ b/apidocs/org/apache/kudu/class-use/ColumnTypeAttributes.html
@@ -0,0 +1,200 @@
+<!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>Uses of Class org.apache.kudu.ColumnTypeAttributes (Kudu 1.7.0 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="Uses of Class org.apache.kudu.ColumnTypeAttributes (Kudu 1.7.0 API)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+</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><a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">Class</a></li>
+<li class="navBarCell1Rev">Use</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>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/kudu/class-use/ColumnTypeAttributes.html" target="_top">Frames</a></li>
+<li><a href="ColumnTypeAttributes.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>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.kudu.ColumnTypeAttributes" class="title">Uses of Class<br>org.apache.kudu.ColumnTypeAttributes</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.kudu">org.apache.kudu</a></td>
+<td class="colLast"> </td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.kudu">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a> that return <a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnTypeAttributes.ColumnTypeAttributesBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnTypeAttributes.ColumnTypeAttributesBuilder.html#build--">build</a></span>()</code>
+<div class="block">Builds a <a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu"><code>ColumnTypeAttributes</code></a> using the passed parameters.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnSchema.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnSchema.html#getTypeAttributes--">getTypeAttributes</a></span>()</code>
+<div class="block">Return the column type attributes for the column, or null if it is not known.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a> with parameters of type <a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>org.apache.kudu.Common.DataType</code></td>
+<td class="colLast"><span class="typeNameLabel">Type.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/Type.html#getDataType-org.apache.kudu.ColumnTypeAttributes-">getDataType</a></span>(<a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</code>
+<div class="block">Get the data type from the common's pb</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><span class="typeNameLabel">Type.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/Type.html#getSize-org.apache.kudu.ColumnTypeAttributes-">getSize</a></span>(<a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</code>
+<div class="block">The size of this type on the wire</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/kudu/ColumnSchema.ColumnSchemaBuilder.html" title="class in org.apache.kudu">ColumnSchema.ColumnSchemaBuilder</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnSchema.ColumnSchemaBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnSchema.ColumnSchemaBuilder.html#typeAttributes-org.apache.kudu.ColumnTypeAttributes-">typeAttributes</a></span>(<a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">ColumnTypeAttributes</a> typeAttributes)</code>
+<div class="block">Set the column type attributes for this column.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= 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><a href="../../../../org/apache/kudu/ColumnTypeAttributes.html" title="class in org.apache.kudu">Class</a></li>
+<li class="navBarCell1Rev">Use</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>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/kudu/class-use/ColumnTypeAttributes.html" target="_top">Frames</a></li>
+<li><a href="ColumnTypeAttributes.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>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/class-use/Schema.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/class-use/Schema.html b/apidocs/org/apache/kudu/class-use/Schema.html
index c766f8c..ac3a56d 100644
--- a/apidocs/org/apache/kudu/class-use/Schema.html
+++ b/apidocs/org/apache/kudu/class-use/Schema.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.kudu.Schema (Kudu 1.6.0 API)</title>
+<title>Uses of Class org.apache.kudu.Schema (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.kudu.Schema (Kudu 1.6.0 API)";
+ parent.document.title="Uses of Class org.apache.kudu.Schema (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -150,14 +150,14 @@
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/kudu/Schema.html" title="class in org.apache.kudu">Schema</a></code></td>
-<td class="colLast"><span class="typeNameLabel">KuduTable.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduTable.html#getSchema--">getSchema</a></span>()</code>
-<div class="block">Get this table's schema, as of the moment this instance was created.</div>
+<td class="colLast"><span class="typeNameLabel">RowResult.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/RowResult.html#getSchema--">getSchema</a></span>()</code>
+<div class="block">Get the schema associated with this result.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/kudu/Schema.html" title="class in org.apache.kudu">Schema</a></code></td>
-<td class="colLast"><span class="typeNameLabel">RowResult.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/RowResult.html#getSchema--">getSchema</a></span>()</code>
-<div class="block">Get the schema associated with this result.</div>
+<td class="colLast"><span class="typeNameLabel">KuduTable.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/KuduTable.html#getSchema--">getSchema</a></span>()</code>
+<div class="block">Get this table's schema, as of the moment this instance was created.</div>
</td>
</tr>
</tbody>
@@ -298,6 +298,6 @@
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/class-use/Type.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/class-use/Type.html b/apidocs/org/apache/kudu/class-use/Type.html
index 4533c1e..dafbfbc 100644
--- a/apidocs/org/apache/kudu/class-use/Type.html
+++ b/apidocs/org/apache/kudu/class-use/Type.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Uses of Class org.apache.kudu.Type (Kudu 1.6.0 API)</title>
+<title>Uses of Class org.apache.kudu.Type (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Uses of Class org.apache.kudu.Type (Kudu 1.6.0 API)";
+ parent.document.title="Uses of Class org.apache.kudu.Type (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -133,6 +133,21 @@ the order they are declared.</div>
</tr>
</tbody>
</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a> with parameters of type <a href="../../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a></span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><span class="typeNameLabel">ColumnTypeAttributes.</span><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/ColumnTypeAttributes.html#toStringForType-org.apache.kudu.Type-">toStringForType</a></span>(<a href="../../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a> type)</code>
+<div class="block">Return a string representation appropriate for `type`.</div>
+</td>
+</tr>
+</tbody>
+</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../org/apache/kudu/package-summary.html">org.apache.kudu</a> with parameters of type <a href="../../../../org/apache/kudu/Type.html" title="enum in org.apache.kudu">Type</a></span><span class="tabEnd"> </span></caption>
<tr>
@@ -257,6 +272,6 @@ the order they are declared.</div>
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AbstractKuduScannerBuilder.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AbstractKuduScannerBuilder.html b/apidocs/org/apache/kudu/client/AbstractKuduScannerBuilder.html
index 5e2ea00..cb41b93 100644
--- a/apidocs/org/apache/kudu/client/AbstractKuduScannerBuilder.html
+++ b/apidocs/org/apache/kudu/client/AbstractKuduScannerBuilder.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AbstractKuduScannerBuilder (Kudu 1.6.0 API)</title>
+<title>AbstractKuduScannerBuilder (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AbstractKuduScannerBuilder (Kudu 1.6.0 API)";
+ parent.document.title="AbstractKuduScannerBuilder (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -437,7 +437,11 @@ public <a href="../../../../org/apache/kudu/client/AbstractKuduScannerBuild
<h4>limit</h4>
<pre>public <a href="../../../../org/apache/kudu/client/AbstractKuduScannerBuilder.html" title="type parameter in AbstractKuduScannerBuilder">S</a> limit(long limit)</pre>
<div class="block">Sets a limit on the number of rows that will be returned by the scanner. There's no limit
- by default.</div>
+ by default.
+
+ WARNING: Currently setting the limit has no effect.
+ See <a href="https://issues.apache.org/jira/browse/KUDU-16">KUDU-16</a> for more
+ information.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>limit</code> - a positive long</dd>
@@ -687,6 +691,6 @@ public <a href="../../../../org/apache/kudu/client/AbstractKuduScannerBuild
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AlterTableOptions.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AlterTableOptions.html b/apidocs/org/apache/kudu/client/AlterTableOptions.html
index e2fbf78..ca63437 100644
--- a/apidocs/org/apache/kudu/client/AlterTableOptions.html
+++ b/apidocs/org/apache/kudu/client/AlterTableOptions.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AlterTableOptions (Kudu 1.6.0 API)</title>
+<title>AlterTableOptions (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AlterTableOptions (Kudu 1.6.0 API)";
+ parent.document.title="AlterTableOptions (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -740,6 +740,6 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AlterTableResponse.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AlterTableResponse.html b/apidocs/org/apache/kudu/client/AlterTableResponse.html
index 823d179..5ffb219 100644
--- a/apidocs/org/apache/kudu/client/AlterTableResponse.html
+++ b/apidocs/org/apache/kudu/client/AlterTableResponse.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AlterTableResponse (Kudu 1.6.0 API)</title>
+<title>AlterTableResponse (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AlterTableResponse (Kudu 1.6.0 API)";
+ parent.document.title="AlterTableResponse (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -282,6 +282,6 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AsyncKuduClient.AsyncKuduClientBuilder.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AsyncKuduClient.AsyncKuduClientBuilder.html b/apidocs/org/apache/kudu/client/AsyncKuduClient.AsyncKuduClientBuilder.html
index 32aa35d..bf660bf 100644
--- a/apidocs/org/apache/kudu/client/AsyncKuduClient.AsyncKuduClientBuilder.html
+++ b/apidocs/org/apache/kudu/client/AsyncKuduClient.AsyncKuduClientBuilder.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AsyncKuduClient.AsyncKuduClientBuilder (Kudu 1.6.0 API)</title>
+<title>AsyncKuduClient.AsyncKuduClientBuilder (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AsyncKuduClient.AsyncKuduClientBuilder (Kudu 1.6.0 API)";
+ parent.document.title="AsyncKuduClient.AsyncKuduClientBuilder (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -477,6 +477,6 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AsyncKuduClient.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AsyncKuduClient.html b/apidocs/org/apache/kudu/client/AsyncKuduClient.html
index 68a1684..532ddf2 100644
--- a/apidocs/org/apache/kudu/client/AsyncKuduClient.html
+++ b/apidocs/org/apache/kudu/client/AsyncKuduClient.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AsyncKuduClient (Kudu 1.6.0 API)</title>
+<title>AsyncKuduClient (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,13 +12,13 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AsyncKuduClient (Kudu 1.6.0 API)";
+ parent.document.title="AsyncKuduClient (Kudu 1.7.0 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,"i23":10,"i24":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,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -120,36 +120,173 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?
implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></pre>
<div class="block">A fully asynchronous and thread-safe client for Kudu.
<p>
- This client should be
- instantiated only once. You can use it with any number of tables at the
- same time. The only case where you should have multiple instances is when
- you want to use multiple different clusters at the same time.
+ A single Kudu client instance corresponds to a single remote Kudu cluster.
+ and can be used to read or write any number of tables within that cluster.
+ Separate client instances should be used in the case that a single
+ application needs to access multiple distinct Kudu clusters.
+
+ <h1>Creating a client instance</h1> An <a href="../../../../org/apache/kudu/client/AsyncKuduClient.html" title="class in org.apache.kudu.client"><code>AsyncKuduClient</code></a> instance may
+ be created using the <a href="../../../../org/apache/kudu/client/AsyncKuduClient.AsyncKuduClientBuilder.html" title="class in org.apache.kudu.client"><code>AsyncKuduClient.AsyncKuduClientBuilder</code></a> class. If
+ a synchronous API is preferred, <a href="../../../../org/apache/kudu/client/KuduClient.KuduClientBuilder.html" title="class in org.apache.kudu.client"><code>KuduClient.KuduClientBuilder</code></a> may be
+ used instead. See the documentation on these classes for more details on
+ client configuration options.
+
+ <h1>Authenticating to a secure cluster</h1> A Kudu cluster may be configured
+ such that it requires clients to connect using strong authentication. Clients
+ can authenticate to such clusters using either of two methods:
+ <ol>
+ <li><em>Kerberos credentials</em></li>
+ <li><em>Authentication tokens</em></li>
+ </ol>
+
+ In a typical environment, Kerberos credentials are used for non-distributed
+ client applications and for applications which <em>spawn</em> distributed
+ jobs. Tokens are used for the <em>tasks</em> of distributed jobs, since those
+ tasks do not have access to the user's Kerberos credentials.
+
+ <h2>Authenticating using Kerberos credentials</h2>
+
+ In order to integrate with Kerberos, Kudu uses the standard <em>Java
+ Authentication and Authorization Service</em> (JAAS) API provided by the JDK.
+ JAAS provides a common way for applications to initialize Kerberos
+ credentials, store these credentials in a <a href="http://docs.oracle.com/javase/7/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth"><code>Subject</code></a>
+ instance, and associate the Subject the current thread of execution. The Kudu
+ client then accesses the Kerberos credentials in the
+ <a href="http://docs.oracle.com/javase/7/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth"><code>Subject</code></a> and uses them to authenticate to the
+ remote cluster as necessary.
<p>
- If you play by the rules, this client is completely
- thread-safe. Read the documentation carefully to know what the requirements
- are for this guarantee to apply.
+ Kerberos credentials are typically obtained in one of two ways:
+ <ol>
+ <li>The <em>Kerberos ticket cache</em></li>
+ <li>A <em>keytab</em> file</li>
+ </ol>
+
+ <h3>Authenticating from the Kerberos ticket cache</h3>
+
+ The Kerberos <em>ticket cache</em> is a file stored on the local file system
+ which is automatically initialized when a user runs <em>kinit</em> at the
+ command line. This is the predominant method for authenticating users in
+ interactive applications: the user is expected to have run <em>kinit</em>
+ recently, and the application will find the appropriate credentials in the
+ ticket cache.
<p>
+ In the case of the Kudu client, Kudu will automatically look for credentials
+ in the standard system-configured ticket cache location. No additional code
+ needs to be written to enable this behavior.
+ <p>
+ Kudu will automatically detect if the ticket it has obtained from the ticket
+ cache is about to expire. When that is the case, it will attempt to re-read
+ the ticket cache to obtain a new ticket with a later expiration time. So, if
+ an application needs to run for longer than the lifetime of a single ticket,
+ the user must ensure that the ticket cache is periodically refreshed, for
+ example by re-running 'kinit' once each day.
+
+ <h3>Authenticating from a keytab</h3>
+
+ Long-running applications typically obtain Kerberos credentials from a
+ Kerberos <em>keytab</em> file. A keytab is essentially a saved password, and
+ allows the application to obtain new Kerberos tickets whenever the prior
+ ticket is about to expire.
+ <p>
+ The Kudu client does not provide any utility code to facilitate logging in
+ from a keytab. Instead, applications should invoke the JAAS APIs directly,
+ and then ensure that the resulting <a href="http://docs.oracle.com/javase/7/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth"><code>Subject</code></a>
+ instance is associated with the current thread's
+ <a href="http://docs.oracle.com/javase/7/docs/api/java/security/AccessControlContext.html?is-external=true" title="class or interface in java.security"><code>AccessControlContext</code></a> when instantiating the Kudu client
+ instance for the first time. The <a href="http://docs.oracle.com/javase/7/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth"><code>Subject</code></a> instance
+ will be stored and used whenever Kerberos authentication is required.
+ <p>
+ <b>Note</b>: if the Kudu client is instantiated with a
+ <a href="http://docs.oracle.com/javase/7/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth"><code>Subject</code></a> as described above, it will <em>not</em>
+ make any attempt to re-login from the keytab. Instead, the application should
+ arrange to periodically re-initiate the login process and update the
+ credentials stored in the same Subject instance as was provided when the
+ client was instantiated.
+ <p>
+ In the context of the Hadoop ecosystem, the <code>UserGroupInformation</code>
+ class provides utility methods to login from a keytab and then run code as
+ the resulting <a href="http://docs.oracle.com/javase/7/docs/api/javax/security/auth/Subject.html?is-external=true" title="class or interface in javax.security.auth"><code>Subject</code></a>: <code><pre>
+ UserGroupInformation.loginUserFromKeytab("my-app", "/path/to/app.keytab");
+ KuduClient c = UserGroupInformation.getLoginUser().doAs(
+ new PrivilegedExceptionAction<KuduClient>() {
+ @Override
+ public KuduClient run() throws Exception {
+ return myClientBuilder.build();
+ }
+ }
+ );
+ </pre></code> The <code>UserGroupInformation</code> class will also automatically
+ start a thread to periodically re-login from the keytab.
+
+ <h3>Debugging Kudu's usage of Kerberos credentials</h3>
+
+ The Kudu client emits DEBUG-level logs under the
+ <code>org.apache.kudu.client.SecurityContext</code> slf4j category. Enabling DEBUG
+ logging for this class may help you understand which credentials are being
+ obtained by the Kudu client when it is instantiated. Additionally, if the
+ Java system property <code>kudu.jaas.debug</code> is set to <code>true</code>, Kudu
+ will enable the <code>debug</code> option when configuring <code>Krb5LoginModule</code>
+ when it attempts to log in from a ticket cache. JDK-specific system properties
+ such as <code>sun.security.krb5.debug</code> may also be useful in troubleshooting
+ Kerberos authentication failures.
+
+ <h2>Authenticating using tokens</h2>
+
+ In the case of distributed applications, the worker tasks often do not have
+ access to Kerberos credentials such as ticket caches or keytabs.
+ Additionally, there may be hundreds or thousands of workers with relatively
+ short life-times, and if each task attempted to authenticate using Kerberos,
+ the amount of load on the Kerberos infrastructure could be substantial enough
+ to cause instability. To solve this issue, Kudu provides support for
+ <em>authentication tokens</em>.
+ <p>
+ An authentication token is a time-limited credential which can be obtained by
+ an application which has already authenticated via Kerberos. The token is
+ represented by an opaque byte string, and it can be passed from one client to
+ another to transfer credentials.
+ <p>
+ A token may be generated using the
+ <a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#exportAuthenticationCredentials--"><code>exportAuthenticationCredentials()</code></a> API, and then
+ imported to another client using
+ <a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#importAuthenticationCredentials-byte:A-"><code>importAuthenticationCredentials(byte[])</code></a>.
+
+ <h2>Authentication in Spark jobs</h2>
+
+ Note that the Spark integration provided by the <em>kudu-spark</em> package
+ automatically handles the interaction with Kerberos and the passing of tokens
+ from the Spark driver to tasks. Refer to the Kudu documentation for details
+ on how to submit a Spark job on a secure cluster.
+
+ <h1>API Compatibility</h1>
+
+ Note that some methods in the Kudu client implementation are public but
+ annotated with the <code>InterfaceAudience.Private</code> annotation. This
+ annotation indicates that, despite having <code>public</code> visibility, the
+ method is not part of the public API and there is no guarantee that its
+ existence or behavior will be maintained in subsequent versions of the Kudu
+ client library.
+
+ Other APIs are annotated with the <code>InterfaceStability.Unstable</code> annotation.
+ These APIs are meant for public consumption but may change between minor releases.
+ Note that the asynchronous client is currently considered unstable.
+
+ <h1>Thread Safety</h1>
+
+ The Kudu client instance itself is thread-safe; however, not all associated
+ classes are themselves thread-safe. For example, neither
+ <a href="../../../../org/apache/kudu/client/AsyncKuduSession.html" title="class in org.apache.kudu.client"><code>AsyncKuduSession</code></a> nor its synchronous wrapper <a href="../../../../org/apache/kudu/client/KuduSession.html" title="class in org.apache.kudu.client"><code>KuduSession</code></a> is
+ thread-safe. Refer to the documentation for each individual class for more
+ details.
+
+ <h1>Asynchronous usage</h1>
+
This client is fully non-blocking, any blocking operation will return a
<code>Deferred</code> instance to which you can attach a <code>Callback</code> chain
that will execute when the asynchronous operation completes.
-
- <h1>Note regarding <code>KuduRpc</code> instances passed to this class</h1>
- Every <code>KuduRpc</code> passed to a method of this class should not be
- changed or re-used until the <code>Deferred</code> returned by that method
- calls you back. <strong>Changing or re-using any <code>KuduRpc</code> for
- an RPC in flight will lead to <em>unpredictable</em> results and voids
- your warranty</strong>.
-
- <h1><code>throws</code> clauses</h1>
- None of the asynchronous methods in this API are expected to throw an
- exception. But the <code>Deferred</code> object they return to you can carry an
- exception that you should handle (using "errbacks", see the javadoc of
- <code>Deferred</code>). In order to be able to do proper asynchronous error
- handling, you need to know what types of exceptions you're expected to face
- in your errbacks. In order to document that, the methods of this API use
- javadoc's <code>@throws</code> to spell out the exception types you should
- handle in your errback. Asynchronous exceptions will be indicated as such
- in the javadoc with "(deferred)".</div>
+ <p>
+ The asynchronous calls themselves typically do not throw exceptions. Instead,
+ an <code>errback</code> should be attached which will be called with the Exception
+ that occurred.</div>
</li>
</ul>
</div>
@@ -310,72 +447,78 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoClose
</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/kudu/client/AsyncKuduClient.html#hasLastPropagatedTimestamp--">hasLastPropagatedTimestamp</a></span>()</code>
+<div class="block">Checks if the client received any timestamps from a server.</div>
+</td>
+</tr>
+<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#importAuthenticationCredentials-byte:A-">importAuthenticationCredentials</a></span>(byte[] authnData)</code>
<div class="block">Import data allowing this client to authenticate to the cluster.</div>
</td>
</tr>
-<tr id="i14" class="altColor">
+<tr id="i15" class="rowColor">
<td class="colFirst"><code>com.stumbleupon.async.Deferred<<a href="../../../../org/apache/kudu/client/IsAlterTableDoneResponse.html" title="class in org.apache.kudu.client">IsAlterTableDoneResponse</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#isAlterTableDone-java.lang.String-">isAlterTableDone</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Check whether a previously issued alterTable() is done.</div>
</td>
</tr>
-<tr id="i15" class="rowColor">
+<tr id="i16" class="altColor">
<td class="colFirst"><code>com.stumbleupon.async.Deferred<<a href="../../../../org/apache/kudu/client/IsCreateTableDoneResponse.html" title="class in org.apache.kudu.client">IsCreateTableDoneResponse</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#isCreateTableDone-java.lang.String-">isCreateTableDone</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Check whether a previously issued createTable() is done.</div>
</td>
</tr>
-<tr id="i16" class="altColor">
+<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#isStatisticsEnabled--">isStatisticsEnabled</a></span>()</code>
<div class="block">Check if statistics collection is enabled for this client.</div>
</td>
</tr>
-<tr id="i17" class="rowColor">
+<tr id="i18" class="altColor">
<td class="colFirst"><code>com.stumbleupon.async.Deferred<<a href="../../../../org/apache/kudu/client/ListTabletServersResponse.html" title="class in org.apache.kudu.client">ListTabletServersResponse</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#listTabletServers--">listTabletServers</a></span>()</code>
<div class="block">Get the list of running tablet servers.</div>
</td>
</tr>
-<tr id="i18" class="altColor">
+<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html" title="class in org.apache.kudu.client">AsyncKuduScanner.AsyncKuduScannerBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#newScannerBuilder-org.apache.kudu.client.KuduTable-">newScannerBuilder</a></span>(<a href="../../../../org/apache/kudu/client/KuduTable.html" title="class in org.apache.kudu.client">KuduTable</a> table)</code>
<div class="block">Creates a new <a href="../../../../org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html" title="class in org.apache.kudu.client"><code>AsyncKuduScanner.AsyncKuduScannerBuilder</code></a> for a particular table.</div>
</td>
</tr>
-<tr id="i19" class="rowColor">
+<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/kudu/client/AsyncKuduSession.html" title="class in org.apache.kudu.client">AsyncKuduSession</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#newSession--">newSession</a></span>()</code>
<div class="block">Create a new session for interacting with the cluster.</div>
</td>
</tr>
-<tr id="i20" class="altColor">
+<tr id="i21" class="rowColor">
<td class="colFirst"><code>com.stumbleupon.async.Deferred<<a href="../../../../org/apache/kudu/client/KuduTable.html" title="class in org.apache.kudu.client">KuduTable</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#openTable-java.lang.String-">openTable</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Open the table with the given name.</div>
</td>
</tr>
-<tr id="i21" class="rowColor">
+<tr id="i22" class="altColor">
<td class="colFirst"><code>com.stumbleupon.async.Deferred<<a href="http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#shutdown--">shutdown</a></span>()</code>
<div class="block">Performs a graceful shutdown of this instance.</div>
</td>
</tr>
-<tr id="i22" class="altColor">
+<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/kudu/client/KuduClient.html" title="class in org.apache.kudu.client">KuduClient</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#syncClient--">syncClient</a></span>()</code>
<div class="block">Returns a synchronous <a href="../../../../org/apache/kudu/client/KuduClient.html" title="class in org.apache.kudu.client"><code>KuduClient</code></a> which wraps this asynchronous client.</div>
</td>
</tr>
-<tr id="i23" class="rowColor">
+<tr id="i24" class="altColor">
<td class="colFirst"><code>com.stumbleupon.async.Deferred<<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#tableExists-java.lang.String-">tableExists</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Test if a table exists.</div>
</td>
</tr>
-<tr id="i24" class="altColor">
+<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduClient.html#updateLastPropagatedTimestamp-long-">updateLastPropagatedTimestamp</a></span>(long lastPropagatedTimestamp)</code>
<div class="block">Updates the last timestamp received from a server.</div>
@@ -512,6 +655,21 @@ implements <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoClose
</dl>
</li>
</ul>
+<a name="hasLastPropagatedTimestamp--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hasLastPropagatedTimestamp</h4>
+<pre>public boolean hasLastPropagatedTimestamp()</pre>
+<div class="block">Checks if the client received any timestamps from a server. Used for
+ CLIENT_PROPAGATED external consistency.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>true if last propagated timestamp has been set</dd>
+</dl>
+</li>
+</ul>
<a name="syncClient--">
<!-- -->
</a>
@@ -968,6 +1126,6 @@ public void importAuthenticationCredentials(byte[] authnData)</pr
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html b/apidocs/org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html
index cff7dfe..c9b3526 100644
--- a/apidocs/org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html
+++ b/apidocs/org/apache/kudu/client/AsyncKuduScanner.AsyncKuduScannerBuilder.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AsyncKuduScanner.AsyncKuduScannerBuilder (Kudu 1.6.0 API)</title>
+<title>AsyncKuduScanner.AsyncKuduScannerBuilder (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AsyncKuduScanner.AsyncKuduScannerBuilder (Kudu 1.6.0 API)";
+ parent.document.title="AsyncKuduScanner.AsyncKuduScannerBuilder (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -262,6 +262,6 @@ extends <a href="../../../../org/apache/kudu/client/AbstractKuduScannerBuilder.h
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
http://git-wip-us.apache.org/repos/asf/kudu-site/blob/09800f53/apidocs/org/apache/kudu/client/AsyncKuduScanner.ReadMode.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/kudu/client/AsyncKuduScanner.ReadMode.html b/apidocs/org/apache/kudu/client/AsyncKuduScanner.ReadMode.html
index 7c2db00..1a8be89 100644
--- a/apidocs/org/apache/kudu/client/AsyncKuduScanner.ReadMode.html
+++ b/apidocs/org/apache/kudu/client/AsyncKuduScanner.ReadMode.html
@@ -4,7 +4,7 @@
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>AsyncKuduScanner.ReadMode (Kudu 1.6.0 API)</title>
+<title>AsyncKuduScanner.ReadMode (Kudu 1.7.0 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
@@ -12,7 +12,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="AsyncKuduScanner.ReadMode (Kudu 1.6.0 API)";
+ parent.document.title="AsyncKuduScanner.ReadMode (Kudu 1.7.0 API)";
}
}
catch(err) {
@@ -156,6 +156,12 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is
the time the request was received.</div>
</td>
</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/kudu/client/AsyncKuduScanner.ReadMode.html#READ_YOUR_WRITES">READ_YOUR_WRITES</a></span></code>
+<div class="block">When @c READ_YOUR_WRITES is specified, the client will perform a read
+ such that it follows all previously known writes and reads from this client.</div>
+</td>
+</tr>
</table>
</li>
</ul>
@@ -232,7 +238,7 @@ the order they are declared.</div>
<a name="READ_AT_SNAPSHOT">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>READ_AT_SNAPSHOT</h4>
<pre>public static final <a href="../../../../org/apache/kudu/client/AsyncKuduScanner.ReadMode.html" title="enum in org.apache.kudu.client">AsyncKuduScanner.ReadMode</a> READ_AT_SNAPSHOT</pre>
@@ -253,6 +259,25 @@ the order they are declared.</div>
In these cases Isolation may degenerate to mode "Read Committed". See KUDU-430.</div>
</li>
</ul>
+<a name="READ_YOUR_WRITES">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>READ_YOUR_WRITES</h4>
+<pre>public static final <a href="../../../../org/apache/kudu/client/AsyncKuduScanner.ReadMode.html" title="enum in org.apache.kudu.client">AsyncKuduScanner.ReadMode</a> READ_YOUR_WRITES</pre>
+<div class="block">When @c READ_YOUR_WRITES is specified, the client will perform a read
+ such that it follows all previously known writes and reads from this client.
+ Specifically this mode:
+ (1) ensures read-your-writes and read-your-reads session guarantees,
+ (2) minimizes latency caused by waiting for outstanding write
+ transactions to complete.
+
+ Reads in this mode are not repeatable: two READ_YOUR_WRITES reads, even if
+ they provide the same propagated timestamp bound, can execute at different
+ timestamps and thus may return different results.</div>
+</li>
+</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
@@ -372,6 +397,6 @@ not permitted.)</div>
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
-<p class="legalCopy"><small>Copyright © 2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+<p class="legalCopy"><small>Copyright © 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>