INNER CODE UNIT · Java
tableTypes
goldmansachs/obevo · obevo-dbmetadata-impl/src/main/java/schemacrawler/schemacrawler/LimitOptionsBuilderFixed.java:264
public LimitOptionsBuilderFixed tableTypes(final Collection<String> tableTypes) {
if (tableTypes == null) {
this.tableTypes = Optional.empty();
} else if (tableTypes.isEmpty()) {
this.tableTypes = Optional.of(Collections.emptySet());
} else {
this.tableTypes = Optional.of(new HashSet<>(tableTypes));
}
return this;
}
/**
* Sets table types requested for output from a comma-separated list of table
* types. For example: TABLE,VIEW,SYSTEM_TABLE,GLOBAL TEMPORARY,ALIAS,SYNONYM
*
* @param tableTypesString Comma-separated list of table types. Can be null if all supported table
* types are requested.
*/