|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.miningmart.m4.core.EstimatedStatistics
public class EstimatedStatistics
EstimatedStatistics| Field Summary |
|---|
| Fields inherited from interface edu.udo.cs.miningmart.m4.EstimatedStatistics |
|---|
VALUE_DISCRETE_UNKNOWN, VALUE_DOUBLE_UNKNOWN, VALUE_INT_UNKNOWN |
| Constructor Summary | |
|---|---|
EstimatedStatistics(Concept theConcept)
This constructor creates an EstimatedStatistics object for the given Concept. |
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String nameOfAttribute)
|
void |
addValueInformation(java.lang.String nameOfAttribute,
java.lang.String value,
int noOfOccurrences)
|
EstimatedStatistics |
copy(Concept toConcept)
|
void |
copyValueList(java.lang.String nameOfDestinationAttribute,
EstimatedStatistics from,
java.lang.String nameOfSourceAttribute)
Copy the list of values (with their number of occurrences) of the attribute with name nameOfSourceAttributefrom
the given EstimatedStatistics object to this object, to the
attribute with name nameOfDestinationAttribute. |
double |
getBiggestValue(java.lang.String nameOfAttribute)
|
Concept |
getConcept()
Returns the concept this EstimatedStatistics object applies to. |
double |
getLowestValue(java.lang.String nameOfAttribute)
|
int |
getNumberOfMissingValues(java.lang.String nameOfAttribute)
|
int |
getNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value)
|
long |
getNumberOfRows()
|
java.util.Vector |
getValueList(java.lang.String nameOfAttribute)
Returns a Vector with the values this attribute takes. |
boolean |
readAvailableStatisticsFromDb()
If the concept that these ES belong to is of type MINING, it may happen that some statistics have been computed for the columnset that may be attached to it. |
void |
removeValue(java.lang.String value,
java.lang.String nameOfAttribute)
Removes the given value from the list of values of the given attribute. |
void |
setBiggestValue(java.lang.String nameOfAttribute,
double value)
|
void |
setLowestValue(java.lang.String nameOfAttribute,
double value)
|
void |
setNumberOfMissingValues(java.lang.String nameOfAttribute,
int number)
|
void |
setNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value,
int number)
|
void |
setNumberOfRows(long numberOfRows)
|
void |
setValueList(java.lang.String nameOfAttribute,
java.util.Vector theValues)
Sets the list of occurring values of the given attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EstimatedStatistics(Concept theConcept)
throws M4Exception
M4Exception| Method Detail |
|---|
public Concept getConcept()
getConcept in interface EstimatedStatisticspublic java.util.Vector getValueList(java.lang.String nameOfAttribute)
EstimatedStatistics
getValueList in interface EstimatedStatisticsEstimatedStatistics.getValueList(String)
public void setValueList(java.lang.String nameOfAttribute,
java.util.Vector theValues)
EstimatedStatistics
setValueList in interface EstimatedStatisticstheValues - a Vector with Strings
public void copyValueList(java.lang.String nameOfDestinationAttribute,
EstimatedStatistics from,
java.lang.String nameOfSourceAttribute)
EstimatedStatisticsnameOfSourceAttributefrom
the given EstimatedStatistics object to this object, to the
attribute with name nameOfDestinationAttribute.
copyValueList in interface EstimatedStatisticsnameOfDestinationAttribute - name of attribute to which to set
the copied listfrom - the given EstimatedStatistics objectnameOfSourceAttribute - name of attribute from which to copy
public void removeValue(java.lang.String value,
java.lang.String nameOfAttribute)
EstimatedStatistics
removeValue in interface EstimatedStatisticsEstimatedStatistics.removeValue(String, String)public int getNumberOfMissingValues(java.lang.String nameOfAttribute)
getNumberOfMissingValues in interface EstimatedStatisticsEstimatedStatistics.getNumberOfMissingValues(String)
public void setNumberOfMissingValues(java.lang.String nameOfAttribute,
int number)
setNumberOfMissingValues in interface EstimatedStatisticsEstimatedStatistics.setNumberOfMissingValues(String, int)public double getBiggestValue(java.lang.String nameOfAttribute)
getBiggestValue in interface EstimatedStatisticsEstimatedStatistics.getBiggestValue(String)
public void setBiggestValue(java.lang.String nameOfAttribute,
double value)
setBiggestValue in interface EstimatedStatisticsEstimatedStatistics.setBiggestValue(String, double)
public void setLowestValue(java.lang.String nameOfAttribute,
double value)
setLowestValue in interface EstimatedStatisticsEstimatedStatistics.setLowestValue(String, double)public double getLowestValue(java.lang.String nameOfAttribute)
getLowestValue in interface EstimatedStatisticsEstimatedStatistics.getLowestValue(String)
public boolean readAvailableStatisticsFromDb()
throws M4Exception
EstimatedStatistics
readAvailableStatisticsFromDb in interface EstimatedStatisticsM4ExceptionEstimatedStatistics.readAvailableStatisticsFromDb()public long getNumberOfRows()
getNumberOfRows in interface EstimatedStatisticsEstimatedStatistics.getNumberOfRows()public void setNumberOfRows(long numberOfRows)
setNumberOfRows in interface EstimatedStatisticsedu.udo.cs.miningmart.m4.EstimatedStatistics#setNumberOfRows(int)
public void setNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value,
int number)
setNumberOfOccurrences in interface EstimatedStatistics
public int getNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value)
getNumberOfOccurrences in interface EstimatedStatistics
public EstimatedStatistics copy(Concept toConcept)
throws M4Exception
copy in interface EstimatedStatisticsM4Exception
public void addValueInformation(java.lang.String nameOfAttribute,
java.lang.String value,
int noOfOccurrences)
addValueInformation in interface EstimatedStatisticspublic void addAttribute(java.lang.String nameOfAttribute)
addAttribute in interface EstimatedStatistics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||