public final class TableTypes extends Object implements Iterable<TableType>
| Modifier and Type | Method and Description |
|---|---|
static TableTypes |
from(Collection<String> tableTypeStrings)
Obtain a collection of tables types from provided list.
|
static TableTypes |
from(Connection connection)
Obtain a collection of tables types for a database system, as returned by the database server
itself.
|
static TableTypes |
from(String... tableTypeStrings) |
static TableTypes |
from(String tableTypesString) |
static TableTypes |
includeAll() |
static TableTypes |
includeNone() |
boolean |
isIncludeAll() |
boolean |
isIncludeNone() |
Iterator<TableType> |
iterator() |
Optional<TableType> |
lookupTableType(String tableTypeString)
Looks up a table type, from the provided string.
|
TableTypes |
subsetFrom(TableTypes tableTypesKeepList)
Filters table types not known to the database system.
|
String[] |
toArray() |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static TableTypes from(Collection<String> tableTypeStrings)
public static TableTypes from(Connection connection)
public static TableTypes from(String... tableTypeStrings)
public static TableTypes from(String tableTypesString)
public static TableTypes includeAll()
public static TableTypes includeNone()
public boolean isIncludeAll()
public boolean isIncludeNone()
public Optional<TableType> lookupTableType(String tableTypeString)
public TableTypes subsetFrom(TableTypes tableTypesKeepList)
tableTypesKeepList - Table types to compare to, and use as a keep list.public String[] toArray()
Copyright © 2000-2024 Sualeh Fatehi. All rights reserved.