Package chemaxon.jchem.db
Class TableStatistics
java.lang.Object
chemaxon.jchem.db.TableStatistics
Class for collecting table statistics.
- Since:
- JChem 3.1.6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collectStatistics
(ConnectionHandler conh, String tableName) For internal use only.getPrintableStats
(ConnectionHandler conh, String tableName) Get printable statistics for the JChem table specified.
-
Constructor Details
-
TableStatistics
public TableStatistics(boolean indexTable) -
TableStatistics
public TableStatistics()
-
-
Method Details
-
collectStatistics
public void collectStatistics(ConnectionHandler conh, String tableName) throws SQLException, chemaxon.jchem.base.storage.PersistenceException For internal use only.- Throws:
SQLException
chemaxon.jchem.base.storage.PersistenceException
-
getPrintableStats
public String getPrintableStats(ConnectionHandler conh, String tableName) throws SQLException, chemaxon.jchem.base.storage.PersistenceException Get printable statistics for the JChem table specified.- Parameters:
conh
- the ConnectionHandler instance to use.tableName
- the table for which the statistics needs to be collected.- Returns:
- the statistics output as String
- Throws:
SQLException
- if an sql exception occurschemaxon.jchem.base.storage.PersistenceException
- if processing encounters a problem
-