public final class ExpressionBasedFeatureConfig extends FeatureConfig
<feature name>: {
def: <feature expression>
type: <feature type>
default: <default value>
}
<feature name>: {
def.sqlExpr: <feature expression>
type: <feature type>
default: <default value>
}
AGGREGATION, DECAY, DEF, DEF_MVEL, DEF_SQL_EXPR, DEFAULT, EMBEDDING_SIZE, FILTER, FILTER_MVEL, GROUPBY, LIMIT, PARAMETERS, SIZE, SLIDING_INTERVAL, TYPE, WEIGHT, WINDOW, WINDOW_PARAMETERS| Constructor and Description |
|---|
ExpressionBasedFeatureConfig(java.lang.String featureExpr,
ExprType exprType,
FeatureType featureType,
java.lang.String defaultValue)
Deprecated.
|
ExpressionBasedFeatureConfig(java.lang.String featureExpr,
ExprType exprType,
java.lang.String defaultValue,
FeatureTypeConfig featureTypeConfig)
Constructor with full parameters
|
ExpressionBasedFeatureConfig(java.lang.String featureExpr,
FeatureTypeConfig featureTypeConfig)
Deprecated.
|
ExpressionBasedFeatureConfig(java.lang.String featureExpr,
java.lang.String defaultValue,
FeatureTypeConfig featureTypeConfig)
Deprecated.
|
ExpressionBasedFeatureConfig(java.lang.String featureExpr,
java.lang.String featureType,
java.lang.String defaultValue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<java.lang.String> |
getDefaultValue() |
ExprType |
getExprType() |
java.lang.String |
getFeatureExpr() |
java.util.Optional<java.lang.String> |
getFeatureType()
Deprecated.
Please use
getFeatureTypeConfig() |
java.util.Optional<FeatureTypeConfig> |
getFeatureTypeConfig() |
int |
hashCode() |
java.lang.String |
toString() |
getParameterspublic ExpressionBasedFeatureConfig(java.lang.String featureExpr,
ExprType exprType,
java.lang.String defaultValue,
FeatureTypeConfig featureTypeConfig)
featureExpr - An expression for the featureexprType - expression type of ExprTypedefaultValue - A default value for the featurefeatureTypeConfig - A detailed feature type information for the feature@Deprecated
public ExpressionBasedFeatureConfig(java.lang.String featureExpr,
java.lang.String featureType,
java.lang.String defaultValue)
ExpressionBasedFeatureConfig(String, ExprType, String, FeatureTypeConfig) insteadfeatureExpr - An MVEL expression for the featurefeatureType - The type of the featuredefaultValue - A default value for the feature@Deprecated
public ExpressionBasedFeatureConfig(java.lang.String featureExpr,
FeatureTypeConfig featureTypeConfig)
ExpressionBasedFeatureConfig(String, ExprType, String, FeatureTypeConfig) insteadfeatureExpr - An MVEL expression for the featurefeatureTypeConfig - A detailed feature type information for the feature@Deprecated
public ExpressionBasedFeatureConfig(java.lang.String featureExpr,
java.lang.String defaultValue,
FeatureTypeConfig featureTypeConfig)
ExpressionBasedFeatureConfig(String, ExprType, String, FeatureTypeConfig) insteadfeatureExpr - An MVEL expression for the featuredefaultValue - A default value for the featurefeatureTypeConfig - A detailed feature type information for the feature@Deprecated
public ExpressionBasedFeatureConfig(java.lang.String featureExpr,
ExprType exprType,
FeatureType featureType,
java.lang.String defaultValue)
ExpressionBasedFeatureConfig(String, ExprType, String, FeatureTypeConfig) insteadfeatureExpr - An MVEL expression for the featureexprType - expression type of ExprTypefeatureType - The type of the featuredefaultValue - A default value for the featurepublic java.lang.String getFeatureExpr()
public ExprType getExprType()
@Deprecated public java.util.Optional<java.lang.String> getFeatureType()
getFeatureTypeConfig()public java.util.Optional<java.lang.String> getDefaultValue()
getDefaultValue in class FeatureConfigpublic java.util.Optional<FeatureTypeConfig> getFeatureTypeConfig()
getFeatureTypeConfig in class FeatureConfigpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object