exa-SebastianB
Team Exasol
Team Exasol

About the project

Exasol's BucketFS is a distributed file system that automatically synchronizes files uploaded on one cluster node to all other nodes. It is intended for providing shared configuration, scripts and libraries used in User Defined Functions (UDF), mainly.

This project provides a library that abstracts access to Exasol's BucketFS. That allows using BucketFS features programmatically without having to deal with the underlying protocol.

Version 1.0.0

In this version we extracted the library from Exasol Testcontainers. You can list bucket contents, upload and download files. You can also directly upload and download string contents which makes generating configuration files that need to be placed in a bucket easy in Java.

Here's a small sneak peek of how to use this library:

 

import com.exasol.bucketfs.ReadOnlyBucket;
import com.exasol.bucketfs.ReadEnabledBucket;

// ...
final ReadOnlyBucket bucket = ReadEnabledBucket.builder()//
        .ipAddress(ipAddress) //
        .httpPort(port) //
        .serviceName(serviceName) //
        .name(bucketName) //
        .readPassword(readPassword) //
        .build();
bucket.downloadFile(source, destination);

 

Find out more

Learn more about the release on GitHub and check the user guide.