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 com.denodo.vdb.engine.customwrapper.expression.CustomWrapperExpression
ARRAY_TYPE, CONDITION_TYPE, CONTAINS_TYPE, FIELD_TYPE, FUNCTION_TYPE, REGISTER_TYPE, SIMPLE_TYPE
-
Constructor Summary
ConstructorsConstructorDescriptionCustomWrapperFieldExpression
(int index) Creates an instance ofCustomWrapperFieldExpression
which is an index.Creates an instance ofCustomWrapperFieldExpression
with a name.CustomWrapperFieldExpression
(String name, List<CustomWrapperFieldExpression> subFields) Deprecated. -
Method Summary
Methods inherited from class com.denodo.vdb.engine.customwrapper.expression.CustomWrapperExpression
equals, hashCode, isArrayExpression, isConditionExpression, isContainsExpression, isFieldExpression, isFunctionExpression, isRegisterExpression, isSimpleExpression
-
Constructor Details
-
CustomWrapperFieldExpression
Creates an instance ofCustomWrapperFieldExpression
with 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 ofCustomWrapperFieldExpression
with 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 ofCustomWrapperFieldExpression
which 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
String
representation. 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:
true
if this field has any sub-fields,false
otherwise.
-
getExpressionType
protected int getExpressionType()- Specified by:
getExpressionType
in classCustomWrapperExpression
-
toString
- Specified by:
toString
in classCustomWrapperExpression
-