|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EstimatedStatistics
| Field Summary | |
|---|---|
static java.lang.String |
VALUE_DISCRETE_UNKNOWN
|
static double |
VALUE_DOUBLE_UNKNOWN
|
static int |
VALUE_INT_UNKNOWN
|
| 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. |
| Field Detail |
|---|
static final java.lang.String VALUE_DISCRETE_UNKNOWN
static final double VALUE_DOUBLE_UNKNOWN
static final int VALUE_INT_UNKNOWN
| Method Detail |
|---|
Concept getConcept()
java.util.Vector getValueList(java.lang.String nameOfAttribute)
nameOfAttribute -
boolean readAvailableStatisticsFromDb()
throws M4Exception
M4Exception
void removeValue(java.lang.String value,
java.lang.String nameOfAttribute)
value - nameOfAttribute - int getNumberOfMissingValues(java.lang.String nameOfAttribute)
void setNumberOfMissingValues(java.lang.String nameOfAttribute,
int number)
double getBiggestValue(java.lang.String nameOfAttribute)
void setBiggestValue(java.lang.String nameOfAttribute,
double value)
double getLowestValue(java.lang.String nameOfAttribute)
void setLowestValue(java.lang.String nameOfAttribute,
double value)
long getNumberOfRows()
void setNumberOfRows(long numberOfRows)
int getNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value)
void setNumberOfOccurrences(java.lang.String nameOfAttribute,
java.lang.String value,
int number)
void setValueList(java.lang.String nameOfAttribute,
java.util.Vector theValues)
nameOfAttribute - theValues - a Vector with Strings
void copyValueList(java.lang.String nameOfDestinationAttribute,
EstimatedStatistics from,
java.lang.String nameOfSourceAttribute)
nameOfSourceAttributefrom
the given EstimatedStatistics object to this object, to the
attribute with name nameOfDestinationAttribute.
nameOfDestinationAttribute - name of attribute to which to set
the copied listfrom - the given EstimatedStatistics objectnameOfSourceAttribute - name of attribute from which to copy
EstimatedStatistics copy(Concept toConcept)
throws M4Exception
M4Exceptionvoid addAttribute(java.lang.String nameOfAttribute)
void addValueInformation(java.lang.String nameOfAttribute,
java.lang.String value,
int noOfOccurrences)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||