caelcs / cassitory Goto Github PK
View Code? Open in Web Editor NEWHandles redundancy tables in Cassandra
License: MIT License
Handles redundancy tables in Cassandra
License: MIT License
Evaluate the possibility of supporting queries and populate the DTO with the result coming from the target table.
In the case of migration of tables... it would be nice to have a way to decide whether to write to both tables and then later on write to one driven only by config...
Eventually when the old tables is ready to be deleted then the reference can be removed from Cassitory annotations.
With the base repository available now the processor can generate automatically the repository for the DTO.
Two topics very related each other.
First one is to provide a way to validate that the parameters and query are correct against cassandra.
Second is to support lazy initialisation to create the prepared statements knowing that the session can or not be available. This is particularly useful when you use a DI framework and your session is not ready when the application context has finished but you don't want you application not to start because of it.
Have in mind the option of converting this project to a multi module project.
It would be nice to generate integration test for the Repository and see if there is any typo in the queries or mapping.
One way to do this is by using test annotation processor that would generate all the tests but it would need Cassandra unit as dependency.
In the scenario where your DTO and the cassandra entities has the same field name then Mapping annotation should take that as default unless that we define something else.
The goal here is for the repository to provide a way to run queries an populate the pojo again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.