Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arangodb-community/arangodb-java-parquet


https://github.com/arangodb-community/arangodb-java-parquet

Last synced: 6 days ago
JSON representation

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);
```