[
https://issues.apache.org/jira/browse/BEAM-7700?focusedWorklogId=282489&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-282489
]
ASF GitHub Bot logged work on BEAM-7700:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jul/19 06:51
Start Date: 25/Jul/19 06:51
Worklog Time Spent: 10m
Work Description: robinyqiu commented on pull request #9129: [BEAM-7700]
Java transform catalog
URL: https://github.com/apache/beam/pull/9129#discussion_r307137566
##########
File path: website/src/documentation/transforms/java/index.md
##########
@@ -0,0 +1,82 @@
+---
+layout: section
+title: "Java transform catalog overview"
+permalink: /documentation/transforms/java/overview/
+section_menu: section-menu/documentation.html
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Java transform catalog overview
+
+## Element-wise
+
+<table class="table-bordered table-striped">
+ <tr><th>Transform</th><th>Description</th></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/filter">Filter</a></td><td>Given a
predicate, filter out all elements that don't satisfy the predicate.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/flatmapelements">FlatMapElements</a></td><td>Applies
a function that returns a collection to every element in the input and
+ outputs all resulting elements.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/keys">Keys</a></td><td>Extracts
the key from each element in a collection of key-value pairs.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/kvswap">KvSwap</a></td><td>Swaps
the key and value of each element in a collection of key-value pairs.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/mapelements">MapElements</a></td><td>Applies
a function to every element in the input and outputs the result.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/pardo">ParDo</a></td><td>The
most-general mechanism for applying a user-defined <code>DoFn</code> to every
element
+ in the input collection.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/partition">Partition</a></td><td>Routes
each input element to a specific output collection based on some partition
+ function.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/regex">Regex</a></td><td>Filters
input string elements based on a regex. May also transform them based on the
matching groups.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/reify">Reify</a></td><td>Transforms
for converting between explicit and implicit form of various Beam
values.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/tostring">ToString</a></td><td>Transforms
every element in an input collection to a string.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/withkeys">WithKeys</a></td><td>Produces
a collection containing each element from the input collection converted to a
key-value pair, with a key selected by applying a function to the input
element.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/withtimestamps">WithTimestamps</a></td><td>Applies
a function to determine a timestamp to each element in the output collection,
+ and updates the implicit timestamp associated with each input. Note that it
is only safe to adjust timestamps forwards.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/elementwise/values">Values</a></td><td>Extracts
the value from each element in a collection of key-value pairs.</td></tr>
+</table>
+
+
+
+## Aggregation
+<table class="table-bordered table-striped">
+ <tr><th>Transform</th><th>Description</th></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/approximatequantiles">ApproximateQuantiles</a></td><td>Uses
an approximation algorithm to estimate the data distribution within each
aggregation using a specified number of quantiles.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/approximateunique">ApproximateUnique</a></td><td>Uses
an approximation algorithm to estimate the number of unique elements within
each aggregation.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/cogroupbykey/">CoGroupByKey</a></td><td>Takes
several keyed collections of elements and produces a collection where each
element
+ consists of a key and all values associated with that key.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/combine">Combine</a></td><td>Transforms
to combine elements.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/combinewithcontext">CombineWithContext</a></td><td>An
extended version of Combine which allows accessing side-inputs and other
context.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/count">Count</a></td><td>Counts
the number of elements within each aggregation.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/distinct">Distinct</a></td><td>Produces
a collection containing distinct elements from the input collection.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/groupbykey">GroupByKey</a></td><td>Takes
a keyed collection of elements and produces a collection where each element
+ consists of a key and all values associated with that key.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/groupintobatches">GroupIntoBatches</a></td><td>Batches
values associated with keys into <code>Iterable</code> batches of some size.
Each batch contains elements associated with a specific key.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/latest">Latest</a></td><td>Selects
the latest element within each aggregation according to the implicit
timestamp.</td></tr>
+ <tr><td><a href="{{ site.baseurl
}}/documentation/transforms/java/aggregation/mean">Max</a></td><td>Outputs the
maximum element within each aggregation.</td></tr>
Review comment:
Wrong link to mean.md
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 282489)
Time Spent: 3h 40m (was: 3.5h)
> Java transform catalog
> ----------------------
>
> Key: BEAM-7700
> URL: https://issues.apache.org/jira/browse/BEAM-7700
> Project: Beam
> Issue Type: Improvement
> Components: website
> Reporter: Rose Nguyen
> Assignee: Rose Nguyen
> Priority: Minor
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> Create catalog of core transforms (Java)
> -Java transforms overview
> -Links to Javadocs
> -Brief description
> -Related transforms
> -Links to programming guide
> -Examples section to integrate Colab notebooks
>
> See BEAM-7464 for Python.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)