private void markTableFilteredOut(final Table table) { table.setAttribute("schemacrawler.table.filtered_out", true); if (options.isGrepOnlyMatching()) { table.setAttribute("schemacrawler.table.no_grep_match", true); } }
private void markTableFilteredOut(final Table table) { table.setAttribute("schemacrawler.table.filtered_out", true); if (options.isGrepOnlyMatching()) { table.setAttribute("schemacrawler.table.no_grep_match", true); } }
static void addWeakAssociationToTable(final Table table, final WeakAssociationForeignKey weakAssociation) { if (table != null && weakAssociation != null) { final SortedSet<WeakAssociationForeignKey> tableWeakAssociations = table .getAttribute(WEAK_ASSOCIATIONS_KEY, new TreeSet<WeakAssociationForeignKey>()); tableWeakAssociations.add(weakAssociation); table.setAttribute(WEAK_ASSOCIATIONS_KEY, tableWeakAssociations); } }
static void addRowCountToTable(final Table table, final long rowCount) { if (table != null) { if (rowCount >= 0) { table.setAttribute(TABLE_ROW_COUNT_KEY, rowCount); } else { table.removeAttribute(TABLE_ROW_COUNT_KEY); } } }
private void markTableFilteredOut(final Table table) { table.setAttribute("schemacrawler.table.filtered_out", true); if (options.isGrepOnlyMatching()) { table.setAttribute("schemacrawler.table.no_grep_match", true); } }
private void markTableFilteredOut(final Table table) { table.setAttribute("schemacrawler.table.filtered_out", true); if (options.isGrepOnlyMatching()) { table.setAttribute("schemacrawler.table.no_grep_match", true); } }
static void addWeakAssociationToTable(final Table table, final WeakAssociationForeignKey weakAssociation) { if (table != null && weakAssociation != null) { final SortedSet<WeakAssociationForeignKey> tableWeakAssociations = table .getAttribute(WEAK_ASSOCIATIONS_KEY, new TreeSet<WeakAssociationForeignKey>()); tableWeakAssociations.add(weakAssociation); table.setAttribute(WEAK_ASSOCIATIONS_KEY, tableWeakAssociations); } }
static void addWeakAssociationToTable(final Table table, final WeakAssociationForeignKey weakAssociation) { if (table != null && weakAssociation != null) { final SortedSet<WeakAssociationForeignKey> tableWeakAssociations = table .getAttribute(WEAK_ASSOCIATIONS_KEY, new TreeSet<WeakAssociationForeignKey>()); tableWeakAssociations.add(weakAssociation); table.setAttribute(WEAK_ASSOCIATIONS_KEY, tableWeakAssociations); } }
static void addRowCountToTable(final Table table, final long rowCount) { if (table != null) { if (rowCount >= 0) { table.setAttribute(TABLE_ROW_COUNT_KEY, rowCount); } else { table.removeAttribute(TABLE_ROW_COUNT_KEY); } } }
static void addRowCountToTable(final Table table, final long rowCount) { if (table != null) { if (rowCount >= 0) { table.setAttribute(TABLE_ROW_COUNT_KEY, rowCount); } else { table.removeAttribute(TABLE_ROW_COUNT_KEY); } } }