Skip to content

Commit

Permalink
Update table-reading.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iSnow committed Dec 2, 2022
1 parent f7b98d8 commit 4c1cc25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/table-reading.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ friction in maintenance, or in a big-data environment where modeling data as Jav
not suitable

The Java-native way is superior if the modeling of data sets to Java classes is possible, as the user
of the library does not have to create Schemas and later convert the row data into Java objecs.
of the library does not have to create Schemas and later convert the row data into Java objecs. It also
allows very precise control over the mapping between CSV/JSON and domain objects.

## Reading tabular data the Java way
Since Java is a strongly typed language, we can derive the data type for each column of a table from a
Expand Down Expand Up @@ -178,4 +179,4 @@ while(iter.hasNext()){
Duration contractLength = (Duration)row[5];
Map info = (Map)row[6];
}
```
```

0 comments on commit 4c1cc25

Please sign in to comment.