Comments (3)
By removing object mapper the amount of pojos can be reduced to one.
Also with Cassandra 4 available the object mapper solution won't be compatible.
from cassitory.
The idea here is to only have a DTO with the cassitory annotations and then generate another repo that only use statements and that use CQL queries instead of Pojo to persist. It should bring more compatibility to more projects that are not using Mapper Manager.
from cassitory.
One way to do this is by adding a new annotation that will generate a repo without using the Mapper manager.
Having said that this will be almost as complex as the current implementation because I can imagine having a Query Creator build from Mapping annotations and then use this Query Creator from the new Base Repository to create the statements.
from cassitory.
Related Issues (18)
- find another way to get the Array of Classes from the annotation
- Adding generation of repository driven by annotation
- Adding update and delete operation to the base repository.
- Add to the annotation an optional paramater to define the destination package where all the classes will be generated.
- Support for different field names in the derived classes by Supporting multiple Map annotation for the same field
- support to define whether to make sync or async calls for the Cassandra statements
- generate jar file and test it in another project. HOT 2
- support in the Map annotation for transformer when the field is a different type in the derived table
- Support for queries
- use default dto field name to map to derived tables
- allow to configure consistency level and tracing for the statements HOT 1
- Migration of data from across all tables
- Add validation or lazy initiation against Cassandra
- support for writing to sub set of tables driven by configuration
- support for reading operations HOT 1
- Parameters Creator should pass the dot as parameter at method level as oppose to Constructor
- Generation of Integration test for the code generated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassitory.