Class CustomWrapperConfiguration
java.lang.Object
com.denodo.vdb.engine.customwrapper.CustomWrapperConfiguration
Encapsulates the following configuration properties:
delegateProjections
: SeesetDelegateProjections(boolean)
andisDelegateProjections()
. This property takestrue
as its default value.delegateOrConditions
: SeesetDelegateOrConditions(boolean)
andisDelegateOrConditions()
. This property takesfalse
as its default value.delegateNotConditions
: SeesetDelegateNotConditions(boolean)
andisDelegateNotConditions()
. This property takesfalse
as its default value.delegateArrayLiterals
: SeesetDelegateArrayLiterals(boolean)
andisDelegateArrayLiterals()
. This property takesfalse
as its default value.delegateRegisterLiterals
: SeesetDelegateRegisterLiterals(boolean)
andisDelegateRegisterLiterals()
. This property takesfalse
as its default value.delegateLeftLiterals
: SeesetDelegateLeftLiterals(boolean)
andisDelegateLeftLiterals()
. This property takesfalse
as its default value.delegateRightFields
: SeesetDelegateRightFields(boolean)
andisDelegateRightFields()
. This property takesfalse
as its default value.delegateRightLiterals
: SeesetDelegateRightLiterals(boolean)
andisDelegateRightLiterals()
. This property takestrue
as its default value.delegateOrderBy
: SeesetDelegateOrderBy(boolean)
andisDelegateOrderBy()
. This property takesfalse
as its default value.allowedOperators
: SeesetAllowedOperators(java.lang.String[])
andgetAllowedOperators()
. This property takes aString[]
containingCustomWrapperCondition.OPERATOR_EQ
as its default value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
The value of the propertyallowedOperators
defines what operators are allowed in the conditions passed to a Custom Wrapper.boolean
The value of the propertydelegateArrayLiterals
defines whether a Custom Wrapper can deal with conditions containing arrays (as inMY_INT_ARRAY = [10, 20, 30, 40]
).boolean
Deprecated.This method is deprecated and it may be removed in future major versions of the Denodo Platform.boolean
The value of the propertydelegateLeftLiterals
defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in100 = FIELD
).boolean
The value of the propertydelegateNotConditions
defines whether a Custom Wrapper can deal with NOT conditions (as inWHERE NOT (F1 = 10)
inSQL
).boolean
The value of the propertydelegateOrConditions
defines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20
inSQL
).boolean
The value of the propertydelegateOrderBy
defines whether a Custom Wrapper can deal with 'order by' clauses.boolean
The value of the propertydelegateProjections
defines whether a Custom Wrapper can deal with projected fields.boolean
The value of the propertydelegateRegisterLiterals
defines whether a Custom Wrapper can deal with conditions containing registers (as inMY_REGISTER = ROW( 1, 'A' )
).boolean
The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with fields in their right side (as inFIELD1 = FIELD2
).boolean
The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with literals in their right side (as inFIELD1 = 100
).void
setAllowedOperators
(String[] allowedOperators) The value of the propertyallowedOperators
defines what operators are allowed in the conditions passed to a Custom Wrapper.void
setDelegateArrayLiterals
(boolean delegateArrayLiterals) The value of the propertydelegateArrayLiterals
defines whether a Custom Wrapper can deal with conditions containing arrays (as inMY_INT_ARRAY = { ROW( 1 ), ROW( 2 ) }
).void
setDelegateCompoundFieldProjections
(boolean delegateCompoundFieldProjections) Deprecated.This method is deprecated and it may be removed in future major versions of the Denodo Platform.void
setDelegateLeftLiterals
(boolean delegateLeftLiterals) The value of the propertydelegateLeftLiterals
defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in100 = FIELD
).void
setDelegateNotConditions
(boolean delegateNotConditions) The value of the propertydelegateNotConditions
defines whether a Custom Wrapper can deal with NOT conditions (as inWHERE NOT (F1 = 10)
inSQL
).void
setDelegateOrConditions
(boolean delegateOrConditions) The value of the propertydelegateOrConditions
defines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20
inSQL
).void
setDelegateOrderBy
(boolean delegateOrderBy) The value of the propertydelegateOrderBy
defines whether a Custom Wrapper can deal with 'order by' clauses.void
setDelegateProjections
(boolean delegateProjections) The value of the propertydelegateProjections
defines whether a Custom Wrapper can deal with projected fields.void
setDelegateRegisterLiterals
(boolean delegateRegisterLiterals) The value of the propertydelegateRegisterLiterals
defines whether a Custom Wrapper can deal with conditions containing registers (as inMY_REGISTER = ROW( 1, 'A' )
).void
setDelegateRightFields
(boolean delegateRightFields) The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with fields in their right side (as inFIELD1 = FIELD2
).void
setDelegateRightLiterals
(boolean delegateRightLiterals) The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with literals in their right side (as inFIELD1 = 100
).
-
Constructor Details
-
CustomWrapperConfiguration
public CustomWrapperConfiguration()
-
-
Method Details
-
isDelegateProjections
public boolean isDelegateProjections()The value of the propertydelegateProjections
defines whether a Custom Wrapper can deal with projected fields.- Returns:
- the value of the property
delegateProjections
-
setDelegateProjections
public void setDelegateProjections(boolean delegateProjections) The value of the propertydelegateProjections
defines whether a Custom Wrapper can deal with projected fields.- Parameters:
delegateProjections
- the value for the propertydelegateProjections
-
isDelegateCompoundFieldProjections
Deprecated.This method is deprecated and it may be removed in future major versions of the Denodo Platform. This method is maintained for binary compatibility. -
setDelegateCompoundFieldProjections
@Deprecated public void setDelegateCompoundFieldProjections(boolean delegateCompoundFieldProjections) Deprecated.This method is deprecated and it may be removed in future major versions of the Denodo Platform. This method is maintained for binary compatibility but it does not perform any action. -
isDelegateOrConditions
public boolean isDelegateOrConditions()The value of the propertydelegateOrConditions
defines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20
inSQL
).- Returns:
- the value of the property
delegateOrConditions
-
setDelegateOrConditions
public void setDelegateOrConditions(boolean delegateOrConditions) The value of the propertydelegateOrConditions
defines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20
inSQL
).- Parameters:
delegateOrConditions
- the value for the propertydelegateOrConditions
-
isDelegateNotConditions
public boolean isDelegateNotConditions()The value of the propertydelegateNotConditions
defines whether a Custom Wrapper can deal with NOT conditions (as inWHERE NOT (F1 = 10)
inSQL
).- Returns:
- the value of the property
delegateNotConditions
-
setDelegateNotConditions
public void setDelegateNotConditions(boolean delegateNotConditions) The value of the propertydelegateNotConditions
defines whether a Custom Wrapper can deal with NOT conditions (as inWHERE NOT (F1 = 10)
inSQL
).- Parameters:
delegateNotConditions
- the value for the propertydelegateNotConditions
-
isDelegateArrayLiterals
public boolean isDelegateArrayLiterals()The value of the propertydelegateArrayLiterals
defines whether a Custom Wrapper can deal with conditions containing arrays (as inMY_INT_ARRAY = [10, 20, 30, 40]
).- Returns:
- the value of the property
delegateArrayLiterals
-
setDelegateArrayLiterals
public void setDelegateArrayLiterals(boolean delegateArrayLiterals) The value of the propertydelegateArrayLiterals
defines whether a Custom Wrapper can deal with conditions containing arrays (as inMY_INT_ARRAY = { ROW( 1 ), ROW( 2 ) }
).- Parameters:
delegateArrayLiterals
- the value for the propertydelegateArrayLiterals
-
isDelegateRegisterLiterals
public boolean isDelegateRegisterLiterals()The value of the propertydelegateRegisterLiterals
defines whether a Custom Wrapper can deal with conditions containing registers (as inMY_REGISTER = ROW( 1, 'A' )
).- Returns:
- the value of the property
delegateRegisterLiterals
-
setDelegateRegisterLiterals
public void setDelegateRegisterLiterals(boolean delegateRegisterLiterals) The value of the propertydelegateRegisterLiterals
defines whether a Custom Wrapper can deal with conditions containing registers (as inMY_REGISTER = ROW( 1, 'A' )
).- Parameters:
delegateRegisterLiterals
- the value for the propertydelegateRegisterLiterals
-
isDelegateLeftLiterals
public boolean isDelegateLeftLiterals()The value of the propertydelegateLeftLiterals
defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in100 = FIELD
).- Returns:
- the value of the property
delegateLeftLiterals
-
setDelegateLeftLiterals
public void setDelegateLeftLiterals(boolean delegateLeftLiterals) The value of the propertydelegateLeftLiterals
defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in100 = FIELD
).- Parameters:
delegateLeftLiterals
- the value for the propertydelegateLeftLiterals
-
isDelegateRightFields
public boolean isDelegateRightFields()The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with fields in their right side (as inFIELD1 = FIELD2
).- Returns:
- the value of the property
delegateRightFields
-
setDelegateRightFields
public void setDelegateRightFields(boolean delegateRightFields) The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with fields in their right side (as inFIELD1 = FIELD2
).- Parameters:
delegateRightFields
- the value for the propertydelegateRightFields
-
isDelegateRightLiterals
public boolean isDelegateRightLiterals()The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with literals in their right side (as inFIELD1 = 100
).- Returns:
- the value of the property
delegateRightLiterals
-
setDelegateRightLiterals
public void setDelegateRightLiterals(boolean delegateRightLiterals) The value of the propertydelegateRightFields
defines whether a Custom Wrapper can deal with conditions with literals in their right side (as inFIELD1 = 100
).- Parameters:
delegateRightLiterals
- the value for the propertydelegateRightLiterals
-
isDelegateOrderBy
public boolean isDelegateOrderBy()The value of the propertydelegateOrderBy
defines whether a Custom Wrapper can deal with 'order by' clauses.- Returns:
- the value of the property
delegateOrderBy
-
setDelegateOrderBy
public void setDelegateOrderBy(boolean delegateOrderBy) The value of the propertydelegateOrderBy
defines whether a Custom Wrapper can deal with 'order by' clauses.- Parameters:
delegateOrderBy
- the value of the propertydelegateOrderBy
-
getAllowedOperators
The value of the propertyallowedOperators
defines what operators are allowed in the conditions passed to a Custom Wrapper. Any of the following operators may be included in the allowed operators:CustomWrapperCondition.OPERATOR_BETWEEN
CustomWrapperCondition.OPERATOR_EQ
CustomWrapperCondition.OPERATOR_GE
CustomWrapperCondition.OPERATOR_GT
CustomWrapperCondition.OPERATOR_IN
CustomWrapperCondition.OPERATOR_ISCONTAINED
(deprecated)CustomWrapperCondition.OPERATOR_ISFALSE
CustomWrapperCondition.OPERATOR_ISNOTNULL
CustomWrapperCondition.OPERATOR_ISNULL
CustomWrapperCondition.OPERATOR_ISSIMILARTO
CustomWrapperCondition.OPERATOR_ISTRUE
CustomWrapperCondition.OPERATOR_LE
CustomWrapperCondition.OPERATOR_LIKE
CustomWrapperCondition.OPERATOR_LT
CustomWrapperCondition.OPERATOR_NE
CustomWrapperCondition.OPERATOR_REGEXPLIKE
- Returns:
- the value of the property
allowedOperators
-
setAllowedOperators
The value of the propertyallowedOperators
defines what operators are allowed in the conditions passed to a Custom Wrapper. Any of the following operators may be included in the allowed operators:CustomWrapperCondition.OPERATOR_BETWEEN
CustomWrapperCondition.OPERATOR_EQ
CustomWrapperCondition.OPERATOR_GE
CustomWrapperCondition.OPERATOR_GT
CustomWrapperCondition.OPERATOR_IN
CustomWrapperCondition.OPERATOR_ISCONTAINED
(deprecated)CustomWrapperCondition.OPERATOR_ISFALSE
CustomWrapperCondition.OPERATOR_ISNOTNULL
CustomWrapperCondition.OPERATOR_ISNULL
CustomWrapperCondition.OPERATOR_ISSIMILARTO
CustomWrapperCondition.OPERATOR_ISTRUE
CustomWrapperCondition.OPERATOR_LE
CustomWrapperCondition.OPERATOR_LIKE
CustomWrapperCondition.OPERATOR_LT
CustomWrapperCondition.OPERATOR_NE
CustomWrapperCondition.OPERATOR_REGEXPLIKE
- Parameters:
allowedOperators
- the value for the propertyallowedOperators
-