Data Writing
Application | Recommended Method | Description |
---|---|---|
Uploading variables | DBConnection.upload |
Uploading variables of all data types, with flexible type conversion |
Calling functions with arguments | DBConnection.run |
Uploaded as an argument, applicable to all types |
Writing data in batches | AutoFitTableAppender PartitionedTableAppender AutoFitTableUpsert |
Automatic data type conversion |
Writing streaming data | MultithreadedTableWriter |
Write streaming data in batches with automatic data type conversion |
AutoFitTableUpsert
shares the same feature of updating tables with
MultithreadedTableWriter
(when mode=Mode.M_Upsert). The
difference is that the former uses a single thread while the latter writes with multiple
threads.