Class SchemaReader
java.lang.Object
ch.nolix.system.sqlmidschema.schemareader.SchemaReader
- All Implemented Interfaces:
Closeable, CloseStateRequestable, GroupCloseable, ISchemaReader, AutoCloseable
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleancolumnIsEmpty(String tableName, String columnName) static SchemaReaderforDatabaseNameAndSqlConnection(String databaseName, ISqlConnection sqlConnection) intvoidLets the currentGroupCloseablenote a close.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, isClosed
-
Method Details
-
forDatabaseNameAndSqlConnection
public static SchemaReader forDatabaseNameAndSqlConnection(String databaseName, ISqlConnection sqlConnection) -
columnIsEmpty
- Specified by:
columnIsEmptyin interfaceISchemaReader
-
getStoredCloseController
- Specified by:
getStoredCloseControllerin interfaceGroupCloseable- Returns:
- the
ICloseControllerof the currentGroupCloseable.
-
getTableCount
public int getTableCount()- Specified by:
getTableCountin interfaceISchemaReader
-
getSchemaTimestamp
- Specified by:
getSchemaTimestampin interfaceISchemaReader
-
loadTable
- Specified by:
loadTablein interfaceISchemaReader
-
loadTables
- Specified by:
loadTablesin interfaceISchemaReader
-
noteClose
public void noteClose()Lets the currentGroupCloseablenote a close.- Specified by:
noteClosein interfaceGroupCloseable
-