You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by hs...@apache.org on 2015/10/20 22:59:04 UTC
flink git commit: [FLINK-2872] [Documentation] Update the
documentation for Scala part to add
ExecutionEnvironment.readFileOfPrimitives.
Repository: flink
Updated Branches:
refs/heads/master f760b616a -> 8b2d4f8c7
[FLINK-2872] [Documentation] Update the documentation for Scala part to add ExecutionEnvironment.readFileOfPrimitives.
Add the missing Scala part for ExecutionEnvironment.readFileOfPrimitives API doc in the
programming guide.
Author: Henry Saputra <hs...@apache.org>
Closes #1268 from hsaputra/add_readFileOfPrimitives_scala_guide and squashes the following commits:
f543436 [Henry Saputra] Add variant of ExecutionEnvironment.readFileOfPrimitives in Java with additional delimiter.
1209019 [Henry Saputra] [FLINK-2872] [Documentation] Update the documentation for Scala part to add readFileOfPrimitives.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/8b2d4f8c
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/8b2d4f8c
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/8b2d4f8c
Branch: refs/heads/master
Commit: 8b2d4f8c74a351458b4c2e6c68b131c67f450aab
Parents: f760b61
Author: Henry Saputra <hs...@apache.org>
Authored: Tue Oct 20 13:58:58 2015 -0700
Committer: Henry Saputra <hs...@apache.org>
Committed: Tue Oct 20 13:58:58 2015 -0700
----------------------------------------------------------------------
docs/apis/programming_guide.md | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/8b2d4f8c/docs/apis/programming_guide.md
----------------------------------------------------------------------
diff --git a/docs/apis/programming_guide.md b/docs/apis/programming_guide.md
index 895d19f..aa88ce9 100644
--- a/docs/apis/programming_guide.md
+++ b/docs/apis/programming_guide.md
@@ -1721,7 +1721,11 @@ File-based:
Returns a DataSet of tuples or POJOs. Supports the basic java types and their Value counterparts as field
types.
-- `readFileOfPrimitives(path, Class)` / `PrimitiveInputFormat` - Parses files of new-line (or another char sequence) delimited primitive data types such as `String` or `Integer`.
+- `readFileOfPrimitives(path, Class)` / `PrimitiveInputFormat` - Parses files of new-line (or another char sequence)
+ delimited primitive data types such as `String` or `Integer`.
+
+- `readFileOfPrimitives(path, delimiter, Class)` / `PrimitiveInputFormat` - Parses files of new-line (or another char sequence)
+ delimited primitive data types such as `String` or `Integer` using the given delimiter.
Collection-based:
@@ -1856,6 +1860,9 @@ File-based:
Returns a DataSet of tuples, case class objects, or POJOs. Supports the basic java types and their Value counterparts as field
types.
+- `readFileOfPrimitives(path, delimiter)` / `PrimitiveInputFormat` - Parses files of new-line (or another char sequence)
+ delimited primitive data types such as `String` or `Integer` using the given delimiter.
+
Collection-based:
- `fromCollection(Seq)` - Creates a data set from a Seq. All elements