@PublicAPI public class TableStatistics extends java.lang.Object
Constructor and Description |
---|
TableStatistics() |
TableStatistics(boolean indexTable) |
Modifier and Type | Method and Description |
---|---|
void |
collectStatisitcs(ConnectionHandler conh,
java.lang.String tableName) |
java.lang.String |
getPrintableStats(ConnectionHandler conh,
java.lang.String tableName)
Get printable statistics for the JChem table specified.
|
public TableStatistics(boolean indexTable)
public TableStatistics()
public void collectStatisitcs(ConnectionHandler conh, java.lang.String tableName) throws java.sql.SQLException, chemaxon.jchem.base.storage.PersistenceException
java.sql.SQLException
chemaxon.jchem.base.storage.PersistenceException
public java.lang.String getPrintableStats(ConnectionHandler conh, java.lang.String tableName) throws java.sql.SQLException, chemaxon.jchem.base.storage.PersistenceException
conh
- the ConnectionHandler instance to use.tableName
- the table for which the statistics needs to be collected.java.sql.SQLException
- if an sql exception occurschemaxon.jchem.base.storage.PersistenceException
- if processing encounters a problem