Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arangodb-community/arangodb-java-parquet
https://github.com/arangodb-community/arangodb-java-parquet
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arangodb-community/arangodb-java-parquet
- Owner: ArangoDB-Community
- License: apache-2.0
- Created: 2021-06-23T15:22:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-30T14:08:53.000Z (over 3 years ago)
- Last Synced: 2024-05-21T08:01:01.419Z (6 months ago)
- Language: Java
- Size: 76.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ArangoDB Java Parquet Loader
========This project enables the loading of Parquet files into ArangoDB collections.
## Example Usage
Synchronous Upload
```java
ArangoJack arangoJack = new ArangoJack();
ArangoDB arangoDB = new ArangoDB.Builder().serializer(arangoJack).build();
ArangoDatabase db = arangoDB.db("mydb");
ArangoCollection myCol = db.collection("myCol");ParquetArangoLoader loader = new ParquetArangoLoader();
loader.loadParquetFileIntoArango("myParquetFile.parquet", myCol);
```Async Upload
```java
ArangoJack arangoJack = new ArangoJack();
ArangoDBAsync arangoDB = new ArangoDBAsync.Builder().serializer(arangoJack).build();
ArangoDatabaseAsync db = arangoDB.db("mydb");
ArangoCollectionAsync myCol = db.collection("myCol");ParquetArangoLoader loader = new ParquetArangoLoader();
loader.loadParquetFileIntoArangoAsync("myParquetFile.parquet", myCol);
```