Class CustomWrapperConfiguration
java.lang.Object
com.denodo.vdb.engine.customwrapper.CustomWrapperConfiguration
Encapsulates the following configuration properties:
delegateProjections: SeesetDelegateProjections(boolean)andisDelegateProjections(). This property takestrueas its default value.delegateOrConditions: SeesetDelegateOrConditions(boolean)andisDelegateOrConditions(). This property takesfalseas its default value.delegateNotConditions: SeesetDelegateNotConditions(boolean)andisDelegateNotConditions(). This property takesfalseas its default value.delegateArrayLiterals: SeesetDelegateArrayLiterals(boolean)andisDelegateArrayLiterals(). This property takesfalseas its default value.delegateRegisterLiterals: SeesetDelegateRegisterLiterals(boolean)andisDelegateRegisterLiterals(). This property takesfalseas its default value.delegateLeftLiterals: SeesetDelegateLeftLiterals(boolean)andisDelegateLeftLiterals(). This property takesfalseas its default value.delegateRightFields: SeesetDelegateRightFields(boolean)andisDelegateRightFields(). This property takesfalseas its default value.delegateRightLiterals: SeesetDelegateRightLiterals(boolean)andisDelegateRightLiterals(). This property takestrueas its default value.delegateOrderBy: SeesetDelegateOrderBy(boolean)andisDelegateOrderBy(). This property takesfalseas its default value.allowedOperators: SeesetAllowedOperators(java.lang.String[])andgetAllowedOperators(). This property takes aString[]containingCustomWrapperCondition.OPERATOR_EQas its default value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]The value of the propertyallowedOperatorsdefines what operators are allowed in the conditions passed to a Custom Wrapper.booleanThe value of the propertydelegateArrayLiteralsdefines whether a Custom Wrapper can deal with conditions containing arrays (as inMY_INT_ARRAY = [10, 20, 30, 40]).booleanDeprecated.This method is deprecated and it may be removed in future major versions of the Denodo Platform.booleanThe value of the propertydelegateLeftLiteralsdefines whether a Custom Wrapper can deal with conditions with literals in their left side (as in100 = FIELD).booleanThe value of the propertydelegateNotConditionsdefines whether a Custom Wrapper can deal with NOT conditions (as inWHERE NOT (F1 = 10)inSQL).booleanThe value of the propertydelegateOrConditionsdefines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20inSQL).booleanThe value of the propertydelegateOrderBydefines whether a Custom Wrapper can deal with 'order by' clauses.booleanThe value of the propertydelegateProjectionsdefines whether a Custom Wrapper can deal with projected fields.booleanThe value of the propertydelegateRegisterLiteralsdefines whether a Custom Wrapper can deal with conditions containing registers (as inMY_REGISTER = ROW( 1, 'A' )).booleanThe value of the propertydelegateRightFieldsdefines whether a Custom Wrapper can deal with conditions with fields in their right side (as inFIELD1 = FIELD2).booleanThe value of the propertydelegateRightFieldsdefines whether a Custom Wrapper can deal with conditions with literals in their right side (as inFIELD1 = 100).voidsetAllowedOperators(String[] allowedOperators) The value of the propertyallowedOperatorsdefines what operators are allowed in the conditions passed to a Custom Wrapper.voidsetDelegateArrayLiterals(boolean delegateArrayLiterals) The value of the propertydelegateArrayLiteralsdefines whether a Custom Wrapper can deal with conditions containing arrays (as inMY_INT_ARRAY = { ROW( 1 ), ROW( 2 ) }).voidsetDelegateCompoundFieldProjections(boolean delegateCompoundFieldProjections) Deprecated.This method is deprecated and it may be removed in future major versions of the Denodo Platform.voidsetDelegateLeftLiterals(boolean delegateLeftLiterals) The value of the propertydelegateLeftLiteralsdefines whether a Custom Wrapper can deal with conditions with literals in their left side (as in100 = FIELD).voidsetDelegateNotConditions(boolean delegateNotConditions) The value of the propertydelegateNotConditionsdefines whether a Custom Wrapper can deal with NOT conditions (as inWHERE NOT (F1 = 10)inSQL).voidsetDelegateOrConditions(boolean delegateOrConditions) The value of the propertydelegateOrConditionsdefines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20inSQL).voidsetDelegateOrderBy(boolean delegateOrderBy) The value of the propertydelegateOrderBydefines whether a Custom Wrapper can deal with 'order by' clauses.voidsetDelegateProjections(boolean delegateProjections) The value of the propertydelegateProjectionsdefines whether a Custom Wrapper can deal with projected fields.voidsetDelegateRegisterLiterals(boolean delegateRegisterLiterals) The value of the propertydelegateRegisterLiteralsdefines whether a Custom Wrapper can deal with conditions containing registers (as inMY_REGISTER = ROW( 1, 'A' )).voidsetDelegateRightFields(boolean delegateRightFields) The value of the propertydelegateRightFieldsdefines whether a Custom Wrapper can deal with conditions with fields in their right side (as inFIELD1 = FIELD2).voidsetDelegateRightLiterals(boolean delegateRightLiterals) The value of the propertydelegateRightFieldsdefines 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 propertydelegateProjectionsdefines 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 propertydelegateProjectionsdefines 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 propertydelegateOrConditionsdefines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20inSQL).- Returns:
- the value of the property
delegateOrConditions
-
setDelegateOrConditions
public void setDelegateOrConditions(boolean delegateOrConditions) The value of the propertydelegateOrConditionsdefines whether a Custom Wrapper can deal with OR conditions (as inWHERE F1 = 10 OR F2 = 20inSQL).- Parameters:
delegateOrConditions- the value for the propertydelegateOrConditions
-
isDelegateNotConditions
public boolean isDelegateNotConditions()The value of the propertydelegateNotConditionsdefines 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 propertydelegateNotConditionsdefines 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 propertydelegateArrayLiteralsdefines 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 propertydelegateArrayLiteralsdefines 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 propertydelegateRegisterLiteralsdefines 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 propertydelegateRegisterLiteralsdefines 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 propertydelegateLeftLiteralsdefines 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 propertydelegateLeftLiteralsdefines 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 propertydelegateRightFieldsdefines 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 propertydelegateRightFieldsdefines 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 propertydelegateRightFieldsdefines 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 propertydelegateRightFieldsdefines 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 propertydelegateOrderBydefines 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 propertydelegateOrderBydefines whether a Custom Wrapper can deal with 'order by' clauses.- Parameters:
delegateOrderBy- the value of the propertydelegateOrderBy
-
getAllowedOperators
The value of the propertyallowedOperatorsdefines 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_BETWEENCustomWrapperCondition.OPERATOR_EQCustomWrapperCondition.OPERATOR_GECustomWrapperCondition.OPERATOR_GTCustomWrapperCondition.OPERATOR_INCustomWrapperCondition.OPERATOR_ISCONTAINED(deprecated)CustomWrapperCondition.OPERATOR_ISFALSECustomWrapperCondition.OPERATOR_ISNOTNULLCustomWrapperCondition.OPERATOR_ISNULLCustomWrapperCondition.OPERATOR_ISSIMILARTOCustomWrapperCondition.OPERATOR_ISTRUECustomWrapperCondition.OPERATOR_LECustomWrapperCondition.OPERATOR_LIKECustomWrapperCondition.OPERATOR_LTCustomWrapperCondition.OPERATOR_NECustomWrapperCondition.OPERATOR_REGEXPLIKE
- Returns:
- the value of the property
allowedOperators
-
setAllowedOperators
The value of the propertyallowedOperatorsdefines 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_BETWEENCustomWrapperCondition.OPERATOR_EQCustomWrapperCondition.OPERATOR_GECustomWrapperCondition.OPERATOR_GTCustomWrapperCondition.OPERATOR_INCustomWrapperCondition.OPERATOR_ISCONTAINED(deprecated)CustomWrapperCondition.OPERATOR_ISFALSECustomWrapperCondition.OPERATOR_ISNOTNULLCustomWrapperCondition.OPERATOR_ISNULLCustomWrapperCondition.OPERATOR_ISSIMILARTOCustomWrapperCondition.OPERATOR_ISTRUECustomWrapperCondition.OPERATOR_LECustomWrapperCondition.OPERATOR_LIKECustomWrapperCondition.OPERATOR_LTCustomWrapperCondition.OPERATOR_NECustomWrapperCondition.OPERATOR_REGEXPLIKE
- Parameters:
allowedOperators- the value for the propertyallowedOperators
-