kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwens...@apache.org
Subject [25/51] [partial] kafka-site git commit: KAFKA-2425: Initial upload of Kafka documentation to git repository with intent to replace SVN
Date Fri, 02 Oct 2015 19:19:23 GMT
http://git-wip-us.apache.org/repos/asf/kafka-site/blob/ba6c994c/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecord.html
----------------------------------------------------------------------
diff --git a/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecord.html b/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecord.html
new file mode 100644
index 0000000..a4b5952
--- /dev/null
+++ b/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecord.html
@@ -0,0 +1,360 @@
+<!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 (version 1.7.0_51) on Fri Feb 13 15:47:44 PST 2015 -->
+<title>ConsumerRecord (clients 0.8.3-SNAPSHOT API)</title>
+<meta name="date" content="2015-02-13">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ConsumerRecord (clients 0.8.3-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a
name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRebalanceCallback.html"
title="interface in org.apache.kafka.clients.consumer"><span class="strong">Prev
Class</span></a></li>
+<li><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="class in org.apache.kafka.clients.consumer"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/kafka/clients/consumer/ConsumerRecord.html"
target="_top">Frames</a></li>
+<li><a href="ConsumerRecord.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.kafka.clients.consumer</div>
+<h2 title="Class ConsumerRecord" class="title">Class ConsumerRecord&lt;K,V&gt;</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.kafka.clients.consumer.ConsumerRecord&lt;K,V&gt;</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public final class <span class="strong">ConsumerRecord&lt;K,V&gt;</span>
+extends java.lang.Object</pre>
+<div class="block">A key/value pair to be received from Kafka. This consists of a topic
name and a partition number, from which the
+ record is being received and an offset that points to the record in a Kafka partition.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor
Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#ConsumerRecord(java.lang.String,
int, long, K, V)">ConsumerRecord</a></strong>(java.lang.String&nbsp;topic,
+              int&nbsp;partition,
+              long&nbsp;offset,
+              <a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">K</a>&nbsp;key,
+              <a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">V</a>&nbsp;value)</code>
+<div class="block">Create a record with no key</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method
Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">K</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#key()">key</a></strong>()</code>
+<div class="block">The key (or null if no key is specified)</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#offset()">offset</a></strong>()</code>
+<div class="block">The position of this record in the corresponding Kafka partition.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#partition()">partition</a></strong>()</code>
+<div class="block">The partition from which this record is received</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#topic()">topic</a></strong>()</code>
+<div class="block">The topic this record is received from</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#toString()">toString</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">V</a></code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html#value()">value</a></strong>()</code>
+<div class="block">The value</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="ConsumerRecord(java.lang.String,int,long,java.lang.Object,java.lang.Object)">
+<!--   -->
+</a><a name="ConsumerRecord(java.lang.String, int, long, K, V)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ConsumerRecord</h4>
+<pre>public&nbsp;ConsumerRecord(java.lang.String&nbsp;topic,
+              int&nbsp;partition,
+              long&nbsp;offset,
+              <a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">K</a>&nbsp;key,
+              <a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">V</a>&nbsp;value)</pre>
+<div class="block">Create a record with no key</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>topic</code>
- The topic this record is received from</dd><dd><code>partition</code>
- The partition of the topic this record is received from</dd><dd><code>offset</code>
- The offset of this record in the corresponding Kafka partition</dd><dd><code>value</code>
- The record contents</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="topic()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>topic</h4>
+<pre>public&nbsp;java.lang.String&nbsp;topic()</pre>
+<div class="block">The topic this record is received from</div>
+</li>
+</ul>
+<a name="partition()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>partition</h4>
+<pre>public&nbsp;int&nbsp;partition()</pre>
+<div class="block">The partition from which this record is received</div>
+</li>
+</ul>
+<a name="key()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>key</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">K</a>&nbsp;key()
+      throws java.lang.Exception</pre>
+<div class="block">The key (or null if no key is specified)</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.Exception</code></dd></dl>
+</li>
+</ul>
+<a name="value()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>value</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="type parameter in ConsumerRecord">V</a>&nbsp;value()
+        throws java.lang.Exception</pre>
+<div class="block">The value</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.Exception</code></dd></dl>
+</li>
+</ul>
+<a name="offset()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>offset</h4>
+<pre>public&nbsp;long&nbsp;offset()</pre>
+<div class="block">The position of this record in the corresponding Kafka partition.</div>
+</li>
+</ul>
+<a name="toString()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a
name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRebalanceCallback.html"
title="interface in org.apache.kafka.clients.consumer"><span class="strong">Prev
Class</span></a></li>
+<li><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="class in org.apache.kafka.clients.consumer"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/kafka/clients/consumer/ConsumerRecord.html"
target="_top">Frames</a></li>
+<li><a href="ConsumerRecord.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/kafka-site/blob/ba6c994c/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecords.html
----------------------------------------------------------------------
diff --git a/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecords.html b/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecords.html
new file mode 100644
index 0000000..90c7901
--- /dev/null
+++ b/090/javadoc/org/apache/kafka/clients/consumer/ConsumerRecords.html
@@ -0,0 +1,315 @@
+<!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 (version 1.7.0_51) on Fri Feb 13 15:47:44 PST 2015 -->
+<title>ConsumerRecords (clients 0.8.3-SNAPSHOT API)</title>
+<meta name="date" content="2015-02-13">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ConsumerRecords (clients 0.8.3-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a
name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/kafka/clients/consumer/KafkaConsumer.html"
title="class in org.apache.kafka.clients.consumer"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/kafka/clients/consumer/ConsumerRecords.html"
target="_top">Frames</a></li>
+<li><a href="ConsumerRecords.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.kafka.clients.consumer</div>
+<h2 title="Class ConsumerRecords" class="title">Class ConsumerRecords&lt;K,V&gt;</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>org.apache.kafka.clients.consumer.ConsumerRecords&lt;K,V&gt;</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.lang.Iterable&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;K,V&gt;&gt;</dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">ConsumerRecords&lt;K,V&gt;</span>
+extends java.lang.Object
+implements java.lang.Iterable&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;K,V&gt;&gt;</pre>
+<div class="block">A container that holds the list <a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer"><code>ConsumerRecord</code></a>
per partition for a
+ particular topic. There is one for every topic returned by a
+ <a href="../../../../../org/apache/kafka/clients/consumer/Consumer.html#poll(long)"><code>Consumer.poll(long)</code></a>
operation.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor
Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html#ConsumerRecords(java.util.Map)">ConsumerRecords</a></strong>(java.util.Map&lt;<a
href="../../../../../org/apache/kafka/common/TopicPartition.html" title="class in org.apache.kafka.common">TopicPartition</a>,java.util.List&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html" title="class in
org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;&gt;&nbsp;records)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method
Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html#count()">count</a></strong>()</code>
+<div class="block">The number of records for all topics</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.util.Iterator&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html" title="type parameter
in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html#iterator()">iterator</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html" title="type parameter
in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html#records(java.lang.String)">records</a></strong>(java.lang.String&nbsp;topic)</code>
+<div class="block">Get just the records for the given topic</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html" title="type parameter
in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html#records(org.apache.kafka.common.TopicPartition)">records</a></strong>(<a
href="../../../../../org/apache/kafka/common/TopicPartition.html" title="class in org.apache.kafka.common">TopicPartition</a>&nbsp;partition)</code>
+<div class="block">Get just the records for the given partition</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="ConsumerRecords(java.util.Map)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ConsumerRecords</h4>
+<pre>public&nbsp;ConsumerRecords(java.util.Map&lt;<a href="../../../../../org/apache/kafka/common/TopicPartition.html"
title="class in org.apache.kafka.common">TopicPartition</a>,java.util.List&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html" title="class in
org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;&gt;&nbsp;records)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="records(org.apache.kafka.common.TopicPartition)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>records</h4>
+<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html" title="type parameter
in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;&nbsp;records(<a
href="../../../../../org/apache/kafka/common/TopicPartition.html" title="class in org.apache.kafka.common">TopicPartition</a>&nbsp;partition)</pre>
+<div class="block">Get just the records for the given partition</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>partition</code>
- The partition to get records for</dd></dl>
+</li>
+</ul>
+<a name="records(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>records</h4>
+<pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html" title="type parameter
in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;&nbsp;records(java.lang.String&nbsp;topic)</pre>
+<div class="block">Get just the records for the given topic</div>
+</li>
+</ul>
+<a name="iterator()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>iterator</h4>
+<pre>public&nbsp;java.util.Iterator&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html" title="type parameter
in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;&nbsp;iterator()</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code>iterator</code>&nbsp;in interface&nbsp;<code>java.lang.Iterable&lt;<a
href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html" title="class in
org.apache.kafka.clients.consumer">ConsumerRecord</a>&lt;<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">K</a>,<a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecords.html"
title="type parameter in ConsumerRecords">V</a>&gt;&gt;</code></dd>
+</dl>
+</li>
+</ul>
+<a name="count()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>count</h4>
+<pre>public&nbsp;int&nbsp;count()</pre>
+<div class="block">The number of records for all topics</div>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a
name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/kafka/clients/consumer/ConsumerRecord.html"
title="class in org.apache.kafka.clients.consumer"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/kafka/clients/consumer/KafkaConsumer.html"
title="class in org.apache.kafka.clients.consumer"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/kafka/clients/consumer/ConsumerRecords.html"
target="_top">Frames</a></li>
+<li><a href="ConsumerRecords.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>


Mime
View raw message