Class ColumnMetaData
java.lang.Object
adaa.analytics.rules.data.metadata.ColumnMetaData
- All Implemented Interfaces:
IAttribute
,Serializable
,Cloneable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionColumnMetaData
(String columnName, EColumnType columnType) ColumnMetaData
(String columnName, EColumnType columnType, EColumnRole role, List<String> values, IExampleSet owner) ColumnMetaData
(String columnName, EColumnType columnType, String role, List<String> values, IExampleSet owner) -
Method Summary
Modifier and TypeMethodDescriptionclone()
cloneWithNewOwner
(DataTable newOwner) boolean
getAsString
(double value) getName()
getRole()
double
getStatistic
(EStatisticType statType) int
int
hashCode()
boolean
isDate()
boolean
boolean
void
void
void
void
void
setStatistic
(EStatisticType statType, double value)
-
Constructor Details
-
ColumnMetaData
public ColumnMetaData(@NotNull String columnName, @NotNull EColumnType columnType, @NotNull EColumnRole role, List<String> values, IExampleSet owner) -
ColumnMetaData
public ColumnMetaData(@NotNull String columnName, @NotNull EColumnType columnType, @NotNull String role, List<String> values, IExampleSet owner) -
ColumnMetaData
-
-
Method Details
-
getRole
- Specified by:
getRole
in interfaceIAttribute
-
getName
- Specified by:
getName
in interfaceIAttribute
-
setName
- Specified by:
setName
in interfaceIAttribute
-
getTableIndex
public int getTableIndex()- Specified by:
getTableIndex
in interfaceIAttribute
-
isNominal
public boolean isNominal()- Specified by:
isNominal
in interfaceIAttribute
-
isNumerical
public boolean isNumerical()- Specified by:
isNumerical
in interfaceIAttribute
-
isDate
public boolean isDate()- Specified by:
isDate
in interfaceIAttribute
-
setRole
- Specified by:
setRole
in interfaceIAttribute
-
setStatistic
-
getStatistic
- Specified by:
getStatistic
in interfaceIAttribute
-
recalculateStatistics
public void recalculateStatistics()- Specified by:
recalculateStatistics
in interfaceIAttribute
-
setOwner
-
cloneWithNewOwner
-
clone
- Specified by:
clone
in interfaceIAttribute
- Overrides:
clone
in classObject
-
hashCode
public int hashCode() -
equals
-
getAsString
- Specified by:
getAsString
in interfaceIAttribute
-
getColumnType
- Specified by:
getColumnType
in interfaceIAttribute
-
getMapping
- Specified by:
getMapping
in interfaceIAttribute
-