|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
clearStatistics()
If data changes in the database, e.g. a DB Concept is edited, then this method allows to delete the deprecated statistics objects without running a garbage collection. |
Column |
copyColToCS(Columnset cs)
Makes a copy of this Column that belongs to the given Columnset . |
java.lang.String |
getAverageValue()
|
java.util.Collection |
getBasicColStats()
Active getter for all basic statistics tuples pointing to this Columm. |
long |
getColumnDataType()
|
java.lang.String |
getColumnDataTypeName()
|
Columnset |
getColumnset()
|
java.util.Collection |
getDistributionStatistics()
Active getter for all distribution statistics tuples pointing to this Columm. |
java.util.Collection |
getForeignKeyMembers()
Active getter for the KeyMember s referencing this object
as their foreign key. |
java.lang.String |
getMaxValue()
|
java.lang.String |
getMedianValue()
|
java.lang.String |
getMinValue()
|
java.lang.String |
getModalValue()
|
int |
getNumberOfMissingValues()
|
int |
getNumberOfUniqueValues()
|
java.util.Collection |
getPrimaryKeyMembers()
Active getter for the KeyMember s referencing this object
as their primary key. |
java.lang.String |
getSQLDefinition()
|
java.lang.String |
getSQLPlusLocation()
|
java.lang.String |
getStandardDeviation()
|
BaseAttribute |
getTheBaseAttribute()
Get this column's BaseAtttribute. |
java.lang.String |
getVariance()
|
java.lang.String |
readOrComputeAverage()
Reads, or computes the average value of this column and returns it as a string. |
java.lang.String |
readOrComputeMaximum()
Reads, or computes the maximum value of this column and returns it as a string. |
java.lang.String |
readOrComputeMinimum()
Reads, or computes the minimum value of this column and returns it as a string. |
int |
readOrComputeNumMissingValues()
Reads, or computes the number of missing values for this column and returns it as an int. |
java.lang.String |
readOrComputeStdDev()
Reads, or computes the standard deviation of this column and returns the result as a string. |
int |
readOrComputeUniqueValues()
Reads, or computes the number of unique values for this column and returns it as an int. |
void |
removeBaseAttribute()
Disassociates the BaseAttrbute from this colum. |
void |
setBaseAttribute(BaseAttribute ba)
Set this column's BaseAttribute. |
void |
setColumnDataType(long type)
Set the column data type for this column. |
void |
setColumnDataTypeName(java.lang.String dtname)
Set the name of this column's column data type. |
void |
setColumnset(Columnset cs)
Sets the ColumnSet for this column. |
void |
setDistributionStatistics(java.util.Collection dStats)
Sets the distribution statistics collection at once to the specified collection. |
void |
setSQLDefinition(java.lang.String sqlDefinition)
Set the sql definition of this column. |
void |
storeLocal()
This method stores the pseudo foreign key reference to this objects's BaseAttribute , which is still realized by a cross-table
(BA_COLUMN_T). |
void |
updateStatistics()
Calculates statistics for the specified column and stores it in the M4 tables COLSTATIST1/2. |
Methods inherited from interface edu.udo.cs.miningmart.m4.M4Data |
deleteSoon, getDocumentation, getValidName, isDirty, isWaitingForDelete, setDocumentation |
Methods inherited from interface edu.udo.cs.miningmart.m4.M4Object |
doPrint, doPrint, equals, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getCasePrintObject, getId, getM4Db, getM4ObjectFromCache, getName, getNextM4SequenceValue, isNew, load, print, putM4ObjectToCache, replaceSpacesInName, setId, setName |
Method Detail |
public Column copyColToCS(Columnset cs) throws M4Exception
Column
that belongs to the given Columnset
.
cs
- A Columnset
M4Exception
public void setBaseAttribute(BaseAttribute ba) throws M4Exception
ba
- The new BaseAttribute.
M4Exception
public BaseAttribute getTheBaseAttribute() throws M4Exception
M4Exception
public void setSQLDefinition(java.lang.String sqlDefinition)
sqlDefinition
- the new definitionpublic java.lang.String getSQLDefinition()
public java.lang.String getSQLPlusLocation()
schema.table.sql
)public void setColumnDataType(long type)
type
- the new column data typepublic long getColumnDataType()
public void setColumnDataTypeName(java.lang.String dtname) throws DbConnectionClosed, M4Exception
dtname
- the new name
DbConnectionClosed
M4Exception
public java.lang.String getColumnDataTypeName() throws DbConnectionClosed, M4Exception
DbConnectionClosed
M4Exception
public java.util.Collection getPrimaryKeyMembers() throws M4Exception
KeyMember
s referencing this object
as their primary key.
Collection
of KeyMember
objects
M4Exception
public java.util.Collection getForeignKeyMembers() throws M4Exception
KeyMember
s referencing this object
as their foreign key.
Collection
of KeyMember
objects
M4Exception
public java.util.Collection getBasicColStats() throws M4Exception
Collection
of ColumnStatistics1
objects
M4Exception
public java.util.Collection getDistributionStatistics() throws M4Exception
Collection
of ColumnStatistics2
objects
M4Exception
public void setDistributionStatistics(java.util.Collection dStats) throws M4Exception
dStats
- a Collection
of ColumnStatistics2
objects.
M4Exception
public int getNumberOfUniqueValues() throws M4Exception
M4Exception
public int getNumberOfMissingValues() throws M4Exception
M4Exception
public java.lang.String getMinValue() throws M4Exception
M4Exception
public java.lang.String getMaxValue() throws M4Exception
M4Exception
public java.lang.String getMedianValue() throws M4Exception
M4Exception
public java.lang.String getModalValue() throws M4Exception
M4Exception
public java.lang.String getAverageValue() throws M4Exception
M4Exception
public java.lang.String getStandardDeviation() throws M4Exception
M4Exception
public java.lang.String getVariance() throws M4Exception
M4Exception
public Columnset getColumnset()
public void setColumnset(Columnset cs) throws M4Exception
cs
- The new ColumnSet
M4Exception
public java.lang.String readOrComputeMinimum() throws M4Exception
M4Exception
public java.lang.String readOrComputeAverage() throws M4Exception
M4Exception
public java.lang.String readOrComputeStdDev() throws M4Exception
M4Exception
public java.lang.String readOrComputeMaximum() throws M4Exception
M4Exception
public int readOrComputeNumMissingValues() throws M4Exception
M4Exception
public int readOrComputeUniqueValues() throws M4Exception
M4Exception
public void updateStatistics() throws M4Exception
M4Exception
public void clearStatistics() throws M4Exception
M4Exception
public void storeLocal() throws M4Exception
BaseAttribute
, which is still realized by a cross-table
(BA_COLUMN_T).
M4Exception
public void removeBaseAttribute() throws M4Exception
M4Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |