Git Product home page Git Product logo

query-to-file's Introduction

Query-to-File

Polypheny Query-to-File lets you materialize the result of an arbitrary query as a file system (set of files in a folder). All files that are materialized in the mounted folder are kept in memory. Multimedia files are initially empty. As you open a multimedia file, the content will be fetched from Polypheny-DB, loaded into memory and then returned. This can lead to waiting times, and your file explorer might not react during this moment.

In addition to executing and materializing an arbitrary query, it is also possible to provide a schema and table name (schema.table). The whole table will then be fetched and materialized. The files can be opened, edited. It is also possible to copy the files to a different location. Missing column files can be added (make sure to use the correct filename, the extension does not matter).

Query-to-File supports transactions. All changes (edited files) are executed in one transaction by clicking the commit button. Uncommitted changes are lost when executing another query.

Setup

In order to use the tool, you need to have FUSE installed on your computer. See this installation guide for more information. Furthermore, you need to have Java version 11 or higher installed on your system.

After setting up the FUSE library, configure the path to the fuse binary in the config.properties file. The file already contains some typical locations for different operating systems. In the config file, you can also configure the hostname and port of the Polypheny-DB instance.

Limitations

This software is still considered beta. There are still some major limitations:

  • Windows is not yet supported (macOS and Linux are working fine). See issue.
  • No support for DELETE and INSERT operations. See issue.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

We highly welcome your contributions. If you would like to contribute, please fork the repository and submit your changes as a pull request. Please consult our Admin Repository and our Website for guidelines and additional information.

Please note that we have a code of conduct. Please follow it in all your interactions with the project.

Credits

Polypheny Query-to-File builds upon the great work of several other open source projects:

  • Apache Commons: A bunch of useful Java utility classes.
  • GSON: Convert Java Objects into their JSON representation and vice versa.
  • Java-WebSocket: WebSocket server and client implementation for Java.
  • JNR Fuse: A FUSE implementation in java using Java Native Runtime (JNR).
  • Log4j: Fast and flexible logging framework for Java.
  • OpenJFX: A framework for creating desktop applications.
  • Project Lombok: A library providing compiler annotations for tedious tasks.
  • SLF4J: Provides a logging API by means of a facade pattern.
  • Unirest: A lightweight HTTP client library.

Query-to-File uses icons made by dmitri13 from flaticon.com.

License

The Apache 2.0 License

query-to-file's People

Contributors

vogti avatar nilshansen94 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.