Skip to content

Commit

Permalink
[FLINK-2872] [Documentation] Update the documentation for Scala part …
Browse files Browse the repository at this point in the history
…to add ExecutionEnvironment.readFileOfPrimitives.

Add the missing Scala part for ExecutionEnvironment.readFileOfPrimitives API doc in the
programming guide.

Author: Henry Saputra <[email protected]>

Closes apache#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.
  • Loading branch information
hsaputra committed Oct 20, 2015
1 parent f760b61 commit 8b2d4f8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/apis/programming_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8b2d4f8

Please sign in to comment.