|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Column
| 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 KeyMembers 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 KeyMembers 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 |
setMaxValue(double newMax)
|
void |
setMinValue(double newMin)
|
void |
setNumberOfMissingValues(int newNumber)
|
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, setNotNew |
| Method Detail |
|---|
Column copyColToCS(Columnset cs)
throws M4Exception
Column that belongs to the given Columnset.
cs - A Columnset
M4Exception
void setBaseAttribute(BaseAttribute ba)
throws M4Exception
ba - The new BaseAttribute.
M4Exception
BaseAttribute getTheBaseAttribute()
throws M4Exception
M4Exceptionvoid setSQLDefinition(java.lang.String sqlDefinition)
sqlDefinition - the new definitionjava.lang.String getSQLDefinition()
java.lang.String getSQLPlusLocation()
schema.table.sql)void setColumnDataType(long type)
type - the new column data typelong getColumnDataType()
void setColumnDataTypeName(java.lang.String dtname)
throws DbConnectionClosed,
M4Exception
dtname - the new name
DbConnectionClosed
M4Exception
java.lang.String getColumnDataTypeName()
throws M4Exception
M4Exception
java.util.Collection getPrimaryKeyMembers()
throws M4Exception
KeyMembers referencing this object
as their primary key.
Collection of KeyMember objects
M4Exception
java.util.Collection getForeignKeyMembers()
throws M4Exception
KeyMembers referencing this object
as their foreign key.
Collection of KeyMember objects
M4Exception
java.util.Collection getBasicColStats()
throws M4Exception
Collection of ColumnStatistics1 objects
M4Exception
java.util.Collection getDistributionStatistics()
throws M4Exception
Collection of ColumnStatistics2 objects
M4Exception
void setDistributionStatistics(java.util.Collection dStats)
throws M4Exception
dStats - a Collection of ColumnStatistics2 objects.
M4Exception
void setMaxValue(double newMax)
throws M4Exception
M4Exception
void setMinValue(double newMin)
throws M4Exception
M4Exception
int getNumberOfUniqueValues()
throws M4Exception
M4Exception
int getNumberOfMissingValues()
throws M4Exception
M4Exception
void setNumberOfMissingValues(int newNumber)
throws M4Exception
M4Exception
java.lang.String getMinValue()
throws M4Exception
M4Exception
java.lang.String getMaxValue()
throws M4Exception
M4Exception
java.lang.String getMedianValue()
throws M4Exception
M4Exception
java.lang.String getModalValue()
throws M4Exception
M4Exception
java.lang.String getAverageValue()
throws M4Exception
M4Exception
java.lang.String getStandardDeviation()
throws M4Exception
M4Exception
java.lang.String getVariance()
throws M4Exception
M4ExceptionColumnset getColumnset()
void setColumnset(Columnset cs)
throws M4Exception
cs - The new ColumnSet
M4Exception
java.lang.String readOrComputeMinimum()
throws M4Exception
M4Exception
java.lang.String readOrComputeAverage()
throws M4Exception
M4Exception
java.lang.String readOrComputeStdDev()
throws M4Exception
M4Exception
java.lang.String readOrComputeMaximum()
throws M4Exception
M4Exception
int readOrComputeNumMissingValues()
throws M4Exception
M4Exception
int readOrComputeUniqueValues()
throws M4Exception
M4Exception
void updateStatistics()
throws M4Exception
M4Exception
void clearStatistics()
throws M4Exception
M4Exception
void storeLocal()
throws M4Exception
BaseAttribute, which is still realized by a cross-table
(BA_COLUMN_T).
M4Exception
void removeBaseAttribute()
throws M4Exception
M4Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||