Package chemaxon.jchem.db
Class TableStatistics
- java.lang.Object
-
- chemaxon.jchem.db.TableStatistics
-
@PublicAPI public class TableStatistics extends Object
Class for collecting table statistics.- Since:
- JChem 3.1.6
-
-
Constructor Summary
Constructors Constructor Description TableStatistics()
TableStatistics(boolean indexTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectStatisitcs(ConnectionHandler conh, String tableName)
String
getPrintableStats(ConnectionHandler conh, String tableName)
Get printable statistics for the JChem table specified.
-
-
-
Method Detail
-
collectStatisitcs
public void collectStatisitcs(ConnectionHandler conh, String tableName) throws SQLException, chemaxon.jchem.base.storage.PersistenceException
- 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
-
-