public class TableIterableBuilder extends Object implements Iterable<Table>
Database
Iterable/Iterator
for Table
s. By default, normal (non-system, non-linked tables) and
linked tables are included and system tables are not.Constructor and Description |
---|
TableIterableBuilder(Database db) |
Modifier and Type | Method and Description |
---|---|
boolean |
isIncludeLinkedTables() |
boolean |
isIncludeNormalTables() |
boolean |
isIncludeSystemTables() |
Iterator<Table> |
iterator() |
TableIterableBuilder |
setIncludeLinkedTables(boolean includeLinkedTables) |
TableIterableBuilder |
setIncludeNormalTables(boolean includeNormalTables) |
TableIterableBuilder |
setIncludeSystemTables(boolean includeSystemTables) |
Stream<Table> |
stream() |
TableIterableBuilder |
withLocalUserTablesOnly()
Convenience method to set the flags to include only non-linked (local)
user tables.
|
TableIterableBuilder |
withSystemTablesOnly()
Convenience method to set the flags to include only system tables.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public TableIterableBuilder(Database db)
public boolean isIncludeNormalTables()
public boolean isIncludeSystemTables()
public boolean isIncludeLinkedTables()
public TableIterableBuilder setIncludeNormalTables(boolean includeNormalTables)
public TableIterableBuilder setIncludeSystemTables(boolean includeSystemTables)
public TableIterableBuilder setIncludeLinkedTables(boolean includeLinkedTables)
public TableIterableBuilder withLocalUserTablesOnly()
public TableIterableBuilder withSystemTablesOnly()
Copyright © 2005–2024 OpenHMS. All rights reserved.