Coder Social home page Coder Social logo

criccomini / twister Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 93 KB

A handy tool that converts Avro and Protobuf data to and from Java POJOs

Home Page: https://twister.dev

License: MIT License

Java 100.00%
avro java proto data-conversion data-inference data-interoperability data-manipulation json open-source pojo

twister's People

Contributors

criccomini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

twister's Issues

Add Kafka Connect struct to Map Facade

Issue Description:
The open source project Twister currently lacks a convenient way to map Kafka Connect structs to a key-value data structure. This issue proposes adding a Map facade to Twister, similar to AvroWrapper and ProtoWrapper, to simplify Kafka Connect struct mapping.

Create ParquetReader for Mapping Parquet Bytes to Java Maps

Issue Description:

Proposal:
Introduce a ParquetReader in Twister to enable the mapping of Parquet bytes to Java Maps, similar to AvroReader and ProtoReader. This reader will provide a convenient way to read Parquet data and extract it as key-value pairs stored in Maps.

Expected Behavior:
The ParquetReader should allow developers to read Parquet bytes and map the data to Java Maps. Each Parquet row will be represented as a Map object, where column names are used as keys and corresponding values are populated.

Benefits:

  1. Simplified Parquet data processing.
  2. Seamless integration with existing Java data structures.
  3. Enhanced performance and efficiency.

Implementation Considerations:
Utilize existing Parquet libraries, such as Apache Parquet, to handle low-level parsing and decoding. Support various data types defined in the Parquet schema and handle nullable fields appropriately.

Contributor Resources:
Refer to the Twister project's contribution guidelines for instructions on setting up the development environment and submitting a pull request.

Environment:

  • Twister version: [Specify the version or commit hash]
  • Operating System: [Specify the OS]
  • Java version: [Specify the Java version]
  • Additional environment details: [Provide any relevant details about the environment]

Add JDBC Row Mapping with Map Facade to Twister

Issue Description:
The open source project Twister currently lacks a convenient way to map JDBC result sets to a key-value data structure. This issue proposes adding a Map facade to Twister, similar to AvroWrapper and ProtoWrapper, to simplify JDBC row mapping.

Proposal:
Introduce a Map facade in Twister to enable developers to easily map JDBC result sets to a Map representation. This will provide a consistent interface for handling different data formats and improve developer productivity.

Expected Behavior:
The Map facade should allow developers to map JDBC result sets to a list of Maps, where each row's columns are represented as key-value pairs.

Benefits:

  1. Simplified JDBC result set mapping.
  2. Consistency across data formats.
  3. Improved developer productivity.

Implementation Considerations:
Utilize existing JDBC APIs, such as ResultSetMetaData, to retrieve column names and values for each row. Handle various data types supported by JDBC and ensure compatibility with popular JDBC drivers.

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.