|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.profile.AbstractProfileResult<SQLTable>
ca.sqlpower.architect.profile.TableProfileResult
public class TableProfileResult
Holds profile results that pertain to a particular table. Instances of this class are normally created and populated via a ProfileManager, but it is also possible to obtain one by using a TableProfileCreator directly.
| Field Summary | |
|---|---|
static java.lang.String |
TOSTRING_FORMAT
This printf format string is used in our toString() but is also made public for use in UI controls that need an approximation of the format for e.g., sizing a JLabel or other text component |
| Constructor Summary | |
|---|---|
TableProfileResult(SQLTable profiledObject,
ProfileSettings settings)
Creates a profile result which is not yet populated. |
|
| Method Summary | |
|---|---|
void |
addColumnProfileResult(ColumnProfileResult profileResult)
Adds a new column profile result to the end of the result list. |
java.util.Collection<ColumnProfileResult> |
getColumnProfileResult(SQLColumn c)
Returns a collection of column profile results associated with this table. |
java.util.List<ColumnProfileResult> |
getColumnProfileResults()
Returns an unmodifiable list of columnProfileResults that belong to this table. |
DDLGenerator |
getDDLGenerator()
Returns the DDL generator associated with this table profile. |
ca.sqlpower.util.Monitorable |
getProgressMonitor()
Returns the progress monitor that can be polled to track the progress of this profile result being populated. |
int |
getRowCount()
Returns the number of rows in this table. |
void |
setRowCount(int rowCount)
|
java.lang.String |
toString()
|
| Methods inherited from class ca.sqlpower.architect.profile.AbstractProfileResult |
|---|
addProfileResultListener, compareTo, equals, fireProfileCancelled, fireProfileFinished, fireProfileStarted, getCreateEndTime, getCreateStartTime, getException, getProfiledObject, getSettings, getTimeToCreate, hashCode, removeProfileResultListener, setCreateEndTime, setCreateStartTime, setException, setSettings |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TOSTRING_FORMAT
| Constructor Detail |
|---|
public TableProfileResult(SQLTable profiledObject,
ProfileSettings settings)
Note that the profile result will be empty until it has been populated by a ProfileCreator (also taken care of by the ProfileManager that creates this result).
profiledObject - manager - settings - | Method Detail |
|---|
public ca.sqlpower.util.Monitorable getProgressMonitor()
public int getRowCount()
public void setRowCount(int rowCount)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<ColumnProfileResult> getColumnProfileResults()
public java.util.Collection<ColumnProfileResult> getColumnProfileResult(SQLColumn c)
public DDLGenerator getDDLGenerator()
throws ArchitectException
col1 -
ArchitectExceptionpublic void addColumnProfileResult(ColumnProfileResult profileResult)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||