Class CustomWrapperFieldExpression
java.lang.Object
com.denodo.vdb.engine.customwrapper.expression.CustomWrapperExpression
com.denodo.vdb.engine.customwrapper.expression.CustomWrapperFieldExpression
Represents a field (or a field's sub-field) in Custom Wrapper conditions.
- See Also:
-
Field Summary
Fields inherited from class CustomWrapperExpression
ARRAY_TYPE, CONDITION_TYPE, CONTAINS_TYPE, FIELD_TYPE, FUNCTION_TYPE, REGISTER_TYPE, SIMPLE_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionCustomWrapperFieldExpression(int index) Creates an instance ofCustomWrapperFieldExpressionwhich is an index.Creates an instance ofCustomWrapperFieldExpressionwith a name.CustomWrapperFieldExpression(String name, List<CustomWrapperFieldExpression> subFields) Deprecated. -
Method Summary
Methods inherited from class CustomWrapperExpression
equals, hashCode, isArrayExpression, isConditionExpression, isContainsExpression, isFieldExpression, isFunctionExpression, isRegisterExpression, isSimpleExpression
-
Constructor Details
-
CustomWrapperFieldExpression
Creates an instance ofCustomWrapperFieldExpressionwith a name.Users do not need to instantiate this class.
- Parameters:
name- this field's name
-
CustomWrapperFieldExpression
@Deprecated public CustomWrapperFieldExpression(String name, List<CustomWrapperFieldExpression> subFields) Deprecated.Creates an instance ofCustomWrapperFieldExpressionwith a list of sub-fields.Users do not need to instantiate this class.
- Parameters:
name- this field's namesubFields- a list of sub-fields for this field
-
CustomWrapperFieldExpression
public CustomWrapperFieldExpression(int index) Creates an instance ofCustomWrapperFieldExpressionwhich is an index. This kind of fields are intended to be sub-fields of fields which correspond to an array in the Custom Wrapper's schema.Users do not need to instantiate this class.
- Parameters:
index- this sub-field's index
-
-
Method Details
-
getName
- Returns:
- this field's name
-
getStringRepresentation
- Returns:
- this field's
Stringrepresentation. This representation is generated using the field's sub-fields, if there are any. For example:myfield,myfield.mysubfield,myarray[2],myfield.myarray[10].myinteger
-
getSubFields
Deprecated.This method is deprecated and it may be removed in future releases of the Denodo Platform.- Returns:
- a list containing all the sub-fields of this field
-
hasSubFields
Deprecated.This method is deprecated and it may be removed in future releases of the Denodo Platform.- Returns:
trueif this field has any sub-fields,falseotherwise.
-
getExpressionType
protected int getExpressionType()- Specified by:
getExpressionTypein classCustomWrapperExpression
-
toString
- Specified by:
toStringin classCustomWrapperExpression
-