Package overit.geocall.sql
Class PooledConnection.Metadata
java.lang.Object
overit.geocall.sql.PooledConnection.Metadata
- Enclosing class:
PooledConnection
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the default tablespace nameRetrieve the whole tablesRetrieve the whole tablespacesbooleanisTableDefined(String table) Check if a table exists or not
-
Constructor Details
-
Metadata
public Metadata()
-
-
Method Details
-
getTables
Retrieve the whole tables- Returns:
- a list of all DB tables or empty collection if there's none
- Throws:
SQLException- in the case of any sql error- See Also:
-
isTableDefined
Check if a table exists or not- Parameters:
table- the table's name to be checked- Returns:
trueif the table exists orfalseotherwise- Throws:
SQLException- if a database access error occurs;- See Also:
-
getTableSpaces
Retrieve the whole tablespaces- Returns:
- a list of all DB tablespaces or empty collection if there's none
- Throws:
SQLException- in the case of any sql error- See Also:
-
getDefaultTableSpace
Retrieve the default tablespace name- Returns:
- the default tablespace name or null if there's none
- See Also:
-