You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/apis/java-client.md
-63Lines changed: 0 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,9 +170,6 @@ List<User> users = List.of(
170
170
);
171
171
```
172
172
173
-
**Note:** Data in Fluss is written in the form of `rows`. You can either manually convert your POJO to `GenericRow` or use the `PojoToRowConverter` utility for automatic conversion.
The POJO converter supports automatic numeric type widening following Java's safe widening rules. This means you can use smaller numeric types in your POJOs even when the table schema specifies larger types.
**Note:** The `PojoToRowConverter` is primarily designed for converting POJOs to Fluss rows (for writing). For reading (deserializing rows to POJOs), you'll need to manually extract fields from the `InternalRow` as shown in the examples above.
206
-
207
-
##### Numeric Type Widening for POJO Converters
208
-
209
-
When using `PojoToRowConverter` for serialization, the converter supports automatic numeric type widening following Java's safe widening rules. This allows you to use smaller numeric types in your POJOs even when the table schema specifies larger types.
0 commit comments