kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject [kafka-site] branch asf-site updated: MINOR: fix omitted 'next.' in interactive queries documentation (#247)
Date Wed, 19 Feb 2020 18:23:28 GMT
This is an automated email from the ASF dual-hosted git repository.

guozhang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/kafka-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new e5389b6  MINOR: fix omitted 'next.' in interactive queries documentation (#247)
e5389b6 is described below

commit e5389b65fc48d7cb1c64b641dc0b0e55d9b58489
Author: Lee Dongjin <dongjin@apache.org>
AuthorDate: Thu Feb 20 03:23:18 2020 +0900

    MINOR: fix omitted 'next.' in interactive queries documentation (#247)
    
    Reviewers: Guozhang Wang <wangguoz@gmail.com>
---
 22/streams/developer-guide/interactive-queries.html | 4 ++--
 23/streams/developer-guide/interactive-queries.html | 4 ++--
 24/streams/developer-guide/interactive-queries.html | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/22/streams/developer-guide/interactive-queries.html b/22/streams/developer-guide/interactive-queries.html
index e590a52..0701517 100644
--- a/22/streams/developer-guide/interactive-queries.html
+++ b/22/streams/developer-guide/interactive-queries.html
@@ -158,14 +158,14 @@
 <span class="n">KeyValueIterator</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">range</span> <span class="o">=</span>
<span class="n">keyValueStore</span><span class="o">.</span><span
class="na">range</span><span class="o">(</span><span class="s">&quot;all&quot;</span><span
class="o">,</span> <span class="s">&quot;streams&quot;</span><span
class="o">);</span>
 <span class="k">while</span> <span class="o">(</span><span class="n">range</span><span
class="o">.</span><span class="na">hasNext</span><span class="o">())</span>
<span class="o">{</span>
   <span class="n">KeyValue</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">next</span> <span class="o">=</span>
<span class="n">range</span><span class="o">.</span><span class="na">next</span><span
class="o">();</span>
-  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">value</span><span class="o">);</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">next</span><span class="o">.</span><span
class="na">value</span><span class=" [...]
 <span class="o">}</span>
 
 <span class="c1">// Get the values for all of the keys available in this application
instance</span>
 <span class="n">KeyValueIterator</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">range</span> <span class="o">=</span>
<span class="n">keyValueStore</span><span class="o">.</span><span
class="na">all</span><span class="o">();</span>
 <span class="k">while</span> <span class="o">(</span><span class="n">range</span><span
class="o">.</span><span class="na">hasNext</span><span class="o">())</span>
<span class="o">{</span>
   <span class="n">KeyValue</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">next</span> <span class="o">=</span>
<span class="n">range</span><span class="o">.</span><span class="na">next</span><span
class="o">();</span>
-  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">value</span><span class="o">);</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">next</span><span class="o">.</span><span
class="na">value</span><span class=" [...]
 <span class="o">}</span>
 </pre></div>
                 </div>
diff --git a/23/streams/developer-guide/interactive-queries.html b/23/streams/developer-guide/interactive-queries.html
index e590a52..0701517 100644
--- a/23/streams/developer-guide/interactive-queries.html
+++ b/23/streams/developer-guide/interactive-queries.html
@@ -158,14 +158,14 @@
 <span class="n">KeyValueIterator</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">range</span> <span class="o">=</span>
<span class="n">keyValueStore</span><span class="o">.</span><span
class="na">range</span><span class="o">(</span><span class="s">&quot;all&quot;</span><span
class="o">,</span> <span class="s">&quot;streams&quot;</span><span
class="o">);</span>
 <span class="k">while</span> <span class="o">(</span><span class="n">range</span><span
class="o">.</span><span class="na">hasNext</span><span class="o">())</span>
<span class="o">{</span>
   <span class="n">KeyValue</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">next</span> <span class="o">=</span>
<span class="n">range</span><span class="o">.</span><span class="na">next</span><span
class="o">();</span>
-  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">value</span><span class="o">);</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">next</span><span class="o">.</span><span
class="na">value</span><span class=" [...]
 <span class="o">}</span>
 
 <span class="c1">// Get the values for all of the keys available in this application
instance</span>
 <span class="n">KeyValueIterator</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">range</span> <span class="o">=</span>
<span class="n">keyValueStore</span><span class="o">.</span><span
class="na">all</span><span class="o">();</span>
 <span class="k">while</span> <span class="o">(</span><span class="n">range</span><span
class="o">.</span><span class="na">hasNext</span><span class="o">())</span>
<span class="o">{</span>
   <span class="n">KeyValue</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">next</span> <span class="o">=</span>
<span class="n">range</span><span class="o">.</span><span class="na">next</span><span
class="o">();</span>
-  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">value</span><span class="o">);</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">next</span><span class="o">.</span><span
class="na">value</span><span class=" [...]
 <span class="o">}</span>
 </pre></div>
                 </div>
diff --git a/24/streams/developer-guide/interactive-queries.html b/24/streams/developer-guide/interactive-queries.html
index e590a52..0701517 100644
--- a/24/streams/developer-guide/interactive-queries.html
+++ b/24/streams/developer-guide/interactive-queries.html
@@ -158,14 +158,14 @@
 <span class="n">KeyValueIterator</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">range</span> <span class="o">=</span>
<span class="n">keyValueStore</span><span class="o">.</span><span
class="na">range</span><span class="o">(</span><span class="s">&quot;all&quot;</span><span
class="o">,</span> <span class="s">&quot;streams&quot;</span><span
class="o">);</span>
 <span class="k">while</span> <span class="o">(</span><span class="n">range</span><span
class="o">.</span><span class="na">hasNext</span><span class="o">())</span>
<span class="o">{</span>
   <span class="n">KeyValue</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">next</span> <span class="o">=</span>
<span class="n">range</span><span class="o">.</span><span class="na">next</span><span
class="o">();</span>
-  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">value</span><span class="o">);</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">next</span><span class="o">.</span><span
class="na">value</span><span class=" [...]
 <span class="o">}</span>
 
 <span class="c1">// Get the values for all of the keys available in this application
instance</span>
 <span class="n">KeyValueIterator</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">range</span> <span class="o">=</span>
<span class="n">keyValueStore</span><span class="o">.</span><span
class="na">all</span><span class="o">();</span>
 <span class="k">while</span> <span class="o">(</span><span class="n">range</span><span
class="o">.</span><span class="na">hasNext</span><span class="o">())</span>
<span class="o">{</span>
   <span class="n">KeyValue</span><span class="o">&lt;</span><span
class="n">String</span><span class="o">,</span> <span class="n">Long</span><span
class="o">&gt;</span> <span class="n">next</span> <span class="o">=</span>
<span class="n">range</span><span class="o">.</span><span class="na">next</span><span
class="o">();</span>
-  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">value</span><span class="o">);</span>
+  <span class="n">System</span><span class="o">.</span><span class="na">out</span><span
class="o">.</span><span class="na">println</span><span class="o">(</span><span
class="s">&quot;count for &quot;</span> <span class="o">+</span>
<span class="n">next</span><span class="o">.</span><span class="na">key</span>
<span class="o">+</span> <span class="s">&quot;: &quot;</span>
<span class="o">+</span> <span class="n">next</span><span class="o">.</span><span
class="na">value</span><span class=" [...]
 <span class="o">}</span>
 </pre></div>
                 </div>


Mime
View raw message