{"repo":"bytefish/PgBulkInsert","free":true,"listed":false,"github":"https://github.com/bytefish/PgBulkInsert","clone":"git clone https://github.com/bytefish/PgBulkInsert.git","description":"Java library for efficient Bulk Inserts to PostgreSQL using the Binary COPY Protocol.","language":"Java","stars":181,"topics":["postgresql","bulk-inserts"],"license":"MIT","category":"databases-storage","readme_excerpt":"PgBulkInsert # [MIT License]: https://opensource.org/licenses/MIT [COPY command]: http://www.postgresql.org/docs/current/static/sql-copy.html [PgBulkInsert]: https://github.com/bytefish/PgBulkInsert [Npgsql]: https://github.com/npgsql/npgsql PgBulkInsert is a Java library for Bulk Inserts to PostgreSQL using the Binary COPY Protocol. It provides a wrapper around the PostgreSQL [COPY command]: The [COPY command] is a PostgreSQL specific feature, which allows efficient bulk import or export of data to and from a table. This is a much faster way of getting data in and out of a table than using INSERT and SELECT. This project wouldn't be possible without the great [Npgsql] library, which has a beautiful implementation of the Postgres protocol. Setup ## [PgBulkInsert] is available in the Central Maven Repository. You can add the following dependencies to your pom.xml to include [PgBulkInsert] in your project. The library is a single file, so you can also copy and paste the file into your project, without taking an additional dependency. PgBulkInsert 9: Modern, Functional API ## PgBulkInsert 9.0.0 comes with a new API, that's functional and type-safe to work with. Quick Start ## The new API separates the What (Structure and Mapping) from the How (Execution and Configuration). 1. Define your Data Model ### The library works with Java Records, POJOs, or any other data carrier. 2. Define your Mapping ### The PgMapper is the heart of the library. It is stateless and thread-safe. 3. Con","default_branch":null,"files":null,"tree":[],"storefront":"/r/bytefish","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bytefish/PgBulkInsert/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}