public final class TableTypes extends Object
| Constructor and Description |
|---|
TableTypes(Connection connection)
Obtain a collection of tables types for a database system, as
returned by the database server itself.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
filterUnknown(Collection<String> tableTypeStrings)
Filters table types not known to the database system.
|
com.annimon.stream.Optional<TableType> |
lookupTableType(String tableTypeString)
Looks up a table type, from the provided string.
|
String |
toString() |
public TableTypes(Connection connection)
public String[] filterUnknown(Collection<String> tableTypeStrings)
tableTypeStrings - Can be null, which indicates return all table types, or an
empty array, which indicates return no table types.public com.annimon.stream.Optional<TableType> lookupTableType(String tableTypeString)
Copyright © 2000-2017 Sualeh Fatehi. All rights reserved.