I'm using SchemaCrawler v14.21.02 programmatically in my Java project to generate schema diagrams. I would like to generate a diagram with a reduced set of columns, as done by adding the option -infolevel=standard -command=brief
when running SchemaCrawler from the command line.
My question is: how do I pass this option when running SchemaCrawler programmatically?
I have found the SchemaInfoLevel
and SchemaInfoLevelBuilder
classes in package schemacrawler.schemacrawler
, but the -command=brief
option eludes me.
Please take a look at the example code provided as part of the SchemaCrawler project, at ExecutableExample.java. I have highlighted the relevant parts of the code, if you click on the link.
Sualeh Fatehi, SchemaCrawler