2727 * @param check_constraints CHECK constraint expressions.
2828 * @param primary_key_constraints column-index groups forming the primary key.
2929 * @param foreign_key_constraints IPC-encoded foreign-key constraint definitions.
30- * @param supports_insert whether the table supports INSERT.
31- * @param supports_update whether the table supports UPDATE.
32- * @param supports_delete whether the table supports DELETE.
33- * @param supports_returning whether DML supports RETURNING.
30+ * @param write_result_modes maximum result mode per supported operation.
3431 * @param supports_column_statistics whether per-column statistics are available.
3532 * @param scan_function IPC-encoded scan function descriptor, or {@code null}.
3633 * @param insert_function IPC-encoded insert function descriptor, or {@code null}.
@@ -68,10 +65,7 @@ public record TableInfo(
6865 List <String > check_constraints ,
6966 @ ArrowField (ArrowFieldType .INT32 ) List <List <Integer >> primary_key_constraints ,
7067 List <byte []> foreign_key_constraints ,
71- boolean supports_insert ,
72- boolean supports_update ,
73- boolean supports_delete ,
74- boolean supports_returning ,
68+ Map <String , String > write_result_modes ,
7569 boolean supports_column_statistics ,
7670 // Nullable binary columns; this SDK sends "no such function" as empty
7771 // bytes rather than null.
@@ -91,15 +85,13 @@ public TableInfo(String comment, Map<String, String> tags, String name, String s
9185 byte [] columns , List <Integer > not_null_constraints ,
9286 List <List <Integer >> unique_constraints , List <String > check_constraints ,
9387 List <List <Integer >> primary_key_constraints , List <byte []> foreign_key_constraints ,
94- boolean supports_insert , boolean supports_update , boolean supports_delete ,
95- boolean supports_returning , boolean supports_column_statistics , byte [] scan_function ,
88+ Map <String , String > write_result_modes , boolean supports_column_statistics , byte [] scan_function ,
9689 byte [] insert_function , byte [] update_function , byte [] delete_function ,
9790 Long cardinality_estimate , Long cardinality_max , byte [] column_statistics ,
9891 byte [] bind_result , List <List <String >> required_filters ) {
9992 this (comment , tags , name , List .of (schema_name ), columns , not_null_constraints ,
10093 unique_constraints , check_constraints , primary_key_constraints ,
101- foreign_key_constraints , supports_insert , supports_update , supports_delete ,
102- supports_returning , supports_column_statistics , scan_function , insert_function ,
94+ foreign_key_constraints , write_result_modes , supports_column_statistics , scan_function , insert_function ,
10395 update_function , delete_function , cardinality_estimate , cardinality_max ,
10496 column_statistics , bind_result , required_filters );
10597 }
0 commit comments