public class DotFormatter extends Object
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static DotFormatter |
getInstance() |
boolean |
writeAllRelationships(Database db,
Collection<Table> tables,
boolean compact,
boolean showColumns,
WriteStats stats,
LineWriter dot)
Returns
true if it wrote any implied relationships |
void |
writeAllRelationships(Table table,
boolean twoDegreesOfSeparation,
WriteStats stats,
LineWriter dot)
Write implied relationships associated with the given table
|
void |
writeOrphan(Table table,
LineWriter dot) |
void |
writeRealRelationships(Database db,
Collection<Table> tables,
boolean compact,
boolean showColumns,
WriteStats stats,
LineWriter dot) |
Set<ForeignKeyConstraint> |
writeRealRelationships(Table table,
boolean twoDegreesOfSeparation,
WriteStats stats,
LineWriter dot)
Write real relationships (excluding implied) associated with the given table.
|
public static DotFormatter getInstance()
public Set<ForeignKeyConstraint> writeRealRelationships(Table table, boolean twoDegreesOfSeparation, WriteStats stats, LineWriter dot) throws IOException
Returns a set of the implied constraints that could have been included but weren't.
IOExceptionpublic void writeAllRelationships(Table table, boolean twoDegreesOfSeparation, WriteStats stats, LineWriter dot) throws IOException
IOExceptionpublic void writeRealRelationships(Database db, Collection<Table> tables, boolean compact, boolean showColumns, WriteStats stats, LineWriter dot) throws IOException
IOExceptionpublic boolean writeAllRelationships(Database db, Collection<Table> tables, boolean compact, boolean showColumns, WriteStats stats, LineWriter dot) throws IOException
true if it wrote any implied relationshipsIOExceptionpublic void writeOrphan(Table table, LineWriter dot) throws IOException
IOExceptionCopyright © 2016. All Rights Reserved.