edu.udo.cs.miningmart.m4.core
Class ColumnStatistics1
java.lang.Object
edu.udo.cs.miningmart.m4.core.M4Object
edu.udo.cs.miningmart.m4.core.M4Data
edu.udo.cs.miningmart.m4.core.ColumnStatistics1
- All Implemented Interfaces:
- ColumnStatistics1, java.lang.Comparable, M4Object, M4Table, java.io.Serializable, XmlInfo
- public class ColumnStatistics1
- extends M4Data
- implements XmlInfo, ColumnStatistics1
- Version:
- $Id: ColumnStatistics1.java,v 1.3 2006/04/11 14:10:14 euler Exp $
- Author:
- Martin Scholz
- See Also:
- Serialized Form
Fields inherited from interface edu.udo.cs.miningmart.m4.utils.M4Table |
NOT_NULL |
Methods inherited from class edu.udo.cs.miningmart.m4.core.M4Data |
deleteLocal, deleteSoon, exportLocal, genericGetter, genericSetter, getDependentObjects, getDocumentation, getObjectsReferencingMe, getObjectsReferencingMe, getObjectTag, getValidName, getXmlIdTag, getXmlVersion, hasDeleteStatus, importLocal, isDirty, isWaitingForDelete, primitiveGetDocObject, primitiveSetDocObject, readFromDb, readFromDbLocal, removeDocObject, removeFromDb, removeSetFromDb, setDirty, setDocumentation, setId, setName, storeLocal, updateObjectsFromTable |
Methods inherited from class edu.udo.cs.miningmart.m4.core.M4Object |
compareTo, doPrint, doPrint, equals, executeBusinessSingleValueSqlRead, executeBusinessSingleValueSqlReadL, executeBusinessSqlRead, executeBusinessSqlWrite, executeM4SingleValueSqlRead, executeM4SingleValueSqlReadL, executeM4SqlRead, executeM4SqlWrite, getCasePrintObject, getId, getM4Db, getM4ObjectFromCache, getName, getNextM4SequenceValue, isNew, load, putM4ObjectToCache, replaceSpacesInName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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, putM4ObjectToCache, replaceSpacesInName, setId, setName |
M4_TABLE_NAME
public static final java.lang.String M4_TABLE_NAME
- See Also:
- Constant Field Values
ATTRIB_COLSTAT_ID
public static final java.lang.String ATTRIB_COLSTAT_ID
- See Also:
- Constant Field Values
ATTRIB_COLST1_COLID
public static final java.lang.String ATTRIB_COLST1_COLID
- See Also:
- Constant Field Values
ATTRIB_COLST1_UNIQUE
public static final java.lang.String ATTRIB_COLST1_UNIQUE
- See Also:
- Constant Field Values
ATTRIB_COLST1_MISSING
public static final java.lang.String ATTRIB_COLST1_MISSING
- See Also:
- Constant Field Values
ATTRIB_COLST1_MIN
public static final java.lang.String ATTRIB_COLST1_MIN
- See Also:
- Constant Field Values
ATTRIB_COLST1_MAX
public static final java.lang.String ATTRIB_COLST1_MAX
- See Also:
- Constant Field Values
ATTRIB_COLST1_AVG
public static final java.lang.String ATTRIB_COLST1_AVG
- See Also:
- Constant Field Values
ATTRIB_COLST1_STDDEV
public static final java.lang.String ATTRIB_COLST1_STDDEV
- See Also:
- Constant Field Values
ATTRIB_COLST1_VAR
public static final java.lang.String ATTRIB_COLST1_VAR
- See Also:
- Constant Field Values
ATTRIB_COLST1_MEDIAN
public static final java.lang.String ATTRIB_COLST1_MEDIAN
- See Also:
- Constant Field Values
ATTRIB_COLST1_MODAL
public static final java.lang.String ATTRIB_COLST1_MODAL
- See Also:
- Constant Field Values
m4Info
public static M4Info m4Info
- Cache for getM4Info()
ColumnStatistics1
public ColumnStatistics1(DB db)
getM4TableName
public java.lang.String getM4TableName()
- Specified by:
getM4TableName
in interface M4Table
- See Also:
M4Table.getM4TableName()
getIdAttributeName
public java.lang.String getIdAttributeName()
- Specified by:
getIdAttributeName
in interface M4Table
- See Also:
M4Table.getIdAttributeName()
getM4Info
public M4Info getM4Info()
- Specified by:
getM4Info
in interface M4Table
- See Also:
M4Table.getM4Info()
getXmlInfo
public M4Info getXmlInfo()
- Specified by:
getXmlInfo
in interface XmlInfo
- Returns:
- a
M4Info
object with the information
of all XML fields of this
object. - See Also:
XmlInfo.getXmlInfo()
getObjectsInNamespace
protected java.util.Collection getObjectsInNamespace(java.lang.Class typeOfObjects)
throws M4Exception
- Description copied from class:
M4Data
- This method returns the objects of the specified type that
form a namespace in the scope of this M4Data object. For example,
a Concept's namespace for the type BaseAttribute is the Collection
of all BaseAttributes for this Concept. Many M4Data objects never
have a namespace, they return
null
. If a namespace could
exist but doesn't, an empty Collection is returned.
- Specified by:
getObjectsInNamespace
in class M4Data
- Parameters:
typeOfObjects
- the type of objects that form the namespace
- Returns:
- a Collection of objects of type
typeOfObjects
,
or null
.
- Throws:
M4Exception
- See Also:
M4Data.getObjectsInNamespace(Class)
getNrOfUniqueValuesI
public java.lang.Integer getNrOfUniqueValuesI()
- Specified by:
getNrOfUniqueValuesI
in interface ColumnStatistics1
setNrOfUniqueValues
public void setNrOfUniqueValues(java.lang.Integer nrOfUniqueValues)
- Specified by:
setNrOfUniqueValues
in interface ColumnStatistics1
getNrOfMissingValuesI
public java.lang.Integer getNrOfMissingValuesI()
- Specified by:
getNrOfMissingValuesI
in interface ColumnStatistics1
setNrOfMissingValues
public void setNrOfMissingValues(java.lang.Integer nrOfMissingValues)
- Specified by:
setNrOfMissingValues
in interface ColumnStatistics1
getMinimum
public java.lang.String getMinimum()
- Specified by:
getMinimum
in interface ColumnStatistics1
setMinimum
public void setMinimum(java.lang.String minimum)
- Specified by:
setMinimum
in interface ColumnStatistics1
getMaximum
public java.lang.String getMaximum()
- Specified by:
getMaximum
in interface ColumnStatistics1
setMaximum
public void setMaximum(java.lang.String maximum)
- Specified by:
setMaximum
in interface ColumnStatistics1
getAverageD
public java.lang.Double getAverageD()
- Specified by:
getAverageD
in interface ColumnStatistics1
setAverage
public void setAverage(java.lang.Double average)
- Specified by:
setAverage
in interface ColumnStatistics1
getStandardDeviationD
public java.lang.Double getStandardDeviationD()
- Specified by:
getStandardDeviationD
in interface ColumnStatistics1
setStandardDeviation
public void setStandardDeviation(java.lang.Double standardDeviation)
- Specified by:
setStandardDeviation
in interface ColumnStatistics1
getVarianceD
public java.lang.Double getVarianceD()
- Specified by:
getVarianceD
in interface ColumnStatistics1
setVariance
public void setVariance(java.lang.Double variance)
- Specified by:
setVariance
in interface ColumnStatistics1
getMedian
public java.lang.String getMedian()
- Specified by:
getMedian
in interface ColumnStatistics1
setMedian
public void setMedian(java.lang.String median)
- Specified by:
setMedian
in interface ColumnStatistics1
getModal
public java.lang.String getModal()
- Specified by:
getModal
in interface ColumnStatistics1
setModal
public void setModal(java.lang.String modal)
- Specified by:
setModal
in interface ColumnStatistics1
getTheColumn
public Column getTheColumn()
- Specified by:
getTheColumn
in interface ColumnStatistics1
setTheColumn
public void setTheColumn(Column column)
throws M4Exception
- Specified by:
setTheColumn
in interface ColumnStatistics1
- Throws:
M4Exception
primitiveSetColumn
public void primitiveSetColumn(Column column)
print
public void print()
- Print the information about this column statistics.
- Specified by:
print
in interface M4Object
- Specified by:
print
in class M4Object
removeAllM4References
public void removeAllM4References()
throws M4Exception
- Remove the Column reference of this statistic object.
- Specified by:
removeAllM4References
in class M4Data
- Throws:
M4Exception
Copyright © 2001-2005