public final class CustomWrapperFieldExpression extends CustomWrapperExpression
CustomWrapperCondition
ARRAY_TYPE, CONDITION_TYPE, CONTAINS_TYPE, FIELD_TYPE, FUNCTION_TYPE, REGISTER_TYPE, SIMPLE_TYPE
Constructor and Description |
---|
CustomWrapperFieldExpression(int index)
Creates an instance of
CustomWrapperFieldExpression which is an index. |
CustomWrapperFieldExpression(String name)
Creates an instance of
CustomWrapperFieldExpression with a name. |
CustomWrapperFieldExpression(String name,
List<CustomWrapperFieldExpression> subFields)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getExpressionType() |
String |
getName() |
String |
getStringRepresentation() |
List<CustomWrapperFieldExpression> |
getSubFields()
Deprecated.
This method is deprecated and it may be removed in future releases of the Denodo Platform.
|
boolean |
hasSubFields()
Deprecated.
This method is deprecated and it may be removed in future releases of the Denodo Platform.
|
String |
toString() |
equals, hashCode, isArrayExpression, isConditionExpression, isContainsExpression, isFieldExpression, isFunctionExpression, isRegisterExpression, isSimpleExpression
public CustomWrapperFieldExpression(String name)
CustomWrapperFieldExpression
with a name.Users do not need to instantiate this class.
name
- this field's name@Deprecated public CustomWrapperFieldExpression(String name, List<CustomWrapperFieldExpression> subFields)
CustomWrapperFieldExpression
with a list
of sub-fields.Users do not need to instantiate this class.
name
- this field's namesubFields
- a list of sub-fields for this fieldpublic CustomWrapperFieldExpression(int index)
CustomWrapperFieldExpression
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.
index
- this sub-field's indexpublic String getName()
public String getStringRepresentation()
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
@Deprecated public List<CustomWrapperFieldExpression> getSubFields()
@Deprecated public boolean hasSubFields()
true
if this field has any sub-fields, false
otherwise.protected int getExpressionType()
getExpressionType
in class CustomWrapperExpression
public String toString()
toString
in class CustomWrapperExpression
Copyright © 2023 Denodo Technologies. All rights reserved.