Package org.tmatesoft.sqljet.core.schema
Interface ISqlJetSchema
- All Known Implementing Classes:
SqlJetSchema
public interface ISqlJetSchema
Database schema interface.
-
Method Summary
Modifier and TypeMethodDescriptionGet index definition by name.getIndexes
(String tableName) Get indices related with table.Get indices names.Get table definition by name.Get tables names.getTrigger
(String name) Get trigger definition by name.Get view definition by name.getVirtualTable
(String name)
-
Method Details
-
getTableNames
Get tables names.- Returns:
- tables names.
- Throws:
SqlJetException
-
getTable
Get table definition by name.- Parameters:
name
- table name- Returns:
- table definition
- Throws:
SqlJetException
-
getIndexNames
Get indices names.- Returns:
- indices names.
- Throws:
SqlJetException
-
getIndex
Get index definition by name.- Parameters:
name
- index name- Returns:
- index definition
- Throws:
SqlJetException
-
getIndexes
Get indices related with table.- Parameters:
tableName
- table name- Returns:
- indices of table
- Throws:
SqlJetException
-
getVirtualTableNames
- Returns:
- Set of virtual table names defined in this schema.
- Throws:
SqlJetException
-
getVirtualTable
- Parameters:
name
-- Returns:
- definition of the virtual table
name
. - Throws:
SqlJetException
-
getView
Get view definition by name.- Parameters:
name
- view name- Returns:
- view definition
- Throws:
SqlJetException
-
getViewNames
- Returns:
- Set of view names defined in this schema.
- Throws:
SqlJetException
-
getTrigger
Get trigger definition by name.- Parameters:
name
- trigger name- Returns:
- trigger definition
- Throws:
SqlJetException
-
getTriggerNames
- Returns:
- Set of trigger names defined in this schema.
- Throws:
SqlJetException
-