lbruand / cql2plantuml Goto Github PK
View Code? Open in Web Editor NEWTurn any Cassandra CQL schema into a graphical representation.
License: Apache License 2.0
Turn any Cassandra CQL schema into a graphical representation.
License: Apache License 2.0
The tool is cool :) I didn't find analogous of it
But could also scan and print to plum PK of tables?
Idea of the style :
https://blog.ippon.fr/2015/08/11/modelisation-cassandra-factures-et-commandes/
Comments starting with //!
are passed as is into the plantuml files.
This allows for the creation of relation inside the CQL file without impeding its utility inside cqlsh.
@lbruand , This implementation is a really nice idea! I am trying to use it for a project and was not able to execute the jar file successfully. Please see the error below:
~: java -jar cql2plantuml-assembly-1.0.jar gf_is_rollup.cql
gf_is_rollup.cql gfroll.puml
Exception in thread "main" scala.MatchError: [1.1] failure: string matching regex (?i)\QCREATE TYPE\E' expected but
�' found
^ (of class scala.util.parsing.combinator.Parsers$Failure)
at net.deeppay.cqlAST2puml.Main$.main(Main.scala:48)
at net.deeppay.cqlAST2puml.Main.main(Main.scala)
It is creating a puml file of 0 bytes because of this error. Can you please advice a workaround or correct this?
Add an option to include iuml file from the commandline. Create the FileBegin.iuml and FileEnd.iuml if they don't exist.
@startuml
!include FileBegin.iuml
List <|.. ArrayList
!include FileEnd.iuml
@enduml
Error while parsing: [386.23] failure: Input doesn't match filter: frozen
field list<frozen<field>>
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.