com.rapidminer.operator.preprocessing.filter.attributes
Class AttributeFilterConditions

java.lang.Object
  extended by com.rapidminer.operator.preprocessing.filter.attributes.AttributeFilterConditions

public class AttributeFilterConditions
extends java.lang.Object

This class provides convenient methods for adding parameters providing AttributeConditions and the possibility to register new Parameters

Author:
Sebastian Land

Field Summary
static int CONDITION_ATTRIBUTE_NAME_FILTER
           
static int CONDITION_IS_DATE
           
static int CONDITION_IS_NOMINAL
           
static int CONDITION_IS_NUMERICAL
           
static java.lang.String[] CONDITION_NAMES
           
static int CONDITION_NO_MISSING_VALUES
           
static int CONDITION_NUMERIC_VALUE_FILTER
           
static java.lang.String PARAMETER_CONDITION_NAME
          The parameter name for "Implementation of the condition.
static java.lang.String PARAMETER_PARAMETER_STRING
          TODO: REMOVE only for compatibility with WASAT..The parameter name for "Parameter string for the condition, e.g.
 
Constructor Summary
AttributeFilterConditions()
           
 
Method Summary
static AttributeFilterCondition createCondition(Operator operator)
          Checks if the given name is the short name of a known condition and creates it.
static java.util.List<ParameterType> getParameterTypes(Operator operator)
           
static void registerCondition(java.lang.String name, java.lang.Class conditionClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_CONDITION_NAME

public static final java.lang.String PARAMETER_CONDITION_NAME
The parameter name for "Implementation of the condition."

See Also:
Constant Field Values

PARAMETER_PARAMETER_STRING

public static final java.lang.String PARAMETER_PARAMETER_STRING
TODO: REMOVE only for compatibility with WASAT..The parameter name for "Parameter string for the condition, e.g. 'attribute=value' for the AttributeValueFilter."

See Also:
Constant Field Values

CONDITION_NO_MISSING_VALUES

public static final int CONDITION_NO_MISSING_VALUES
See Also:
Constant Field Values

CONDITION_NUMERIC_VALUE_FILTER

public static final int CONDITION_NUMERIC_VALUE_FILTER
See Also:
Constant Field Values

CONDITION_ATTRIBUTE_NAME_FILTER

public static final int CONDITION_ATTRIBUTE_NAME_FILTER
See Also:
Constant Field Values

CONDITION_IS_NOMINAL

public static final int CONDITION_IS_NOMINAL
See Also:
Constant Field Values

CONDITION_IS_NUMERICAL

public static final int CONDITION_IS_NUMERICAL
See Also:
Constant Field Values

CONDITION_IS_DATE

public static final int CONDITION_IS_DATE
See Also:
Constant Field Values

CONDITION_NAMES

public static java.lang.String[] CONDITION_NAMES
Constructor Detail

AttributeFilterConditions

public AttributeFilterConditions()
Method Detail

registerCondition

public static void registerCondition(java.lang.String name,
                                     java.lang.Class conditionClass)

createCondition

public static AttributeFilterCondition createCondition(Operator operator)
                                                throws UserError
Checks if the given name is the short name of a known condition and creates it. If the name is not known, this method creates a new instance of className which must be an implementation of Condition by calling its two argument constructor passing it the example set and the parameter string

Throws:
UndefinedParameterError
UserError

getParameterTypes

public static final java.util.List<ParameterType> getParameterTypes(Operator operator)


Copyright © 2001-2009 by Rapid-I