Class CustomWrapperConfiguration

java.lang.Object
com.denodo.vdb.engine.customwrapper.CustomWrapperConfiguration

public final class CustomWrapperConfiguration extends Object
Encapsulates the following configuration properties:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The value of the property allowedOperators defines what operators are allowed in the conditions passed to a Custom Wrapper.
    boolean
    The value of the property delegateArrayLiterals defines whether a Custom Wrapper can deal with conditions containing arrays (as in MY_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 property delegateLeftLiterals defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in 100 = FIELD).
    boolean
    The value of the property delegateNotConditions defines whether a Custom Wrapper can deal with NOT conditions (as in WHERE NOT (F1 = 10) in SQL).
    boolean
    The value of the property delegateOrConditions defines whether a Custom Wrapper can deal with OR conditions (as in WHERE F1 = 10 OR F2 = 20 in SQL).
    boolean
    The value of the property delegateOrderBy defines whether a Custom Wrapper can deal with 'order by' clauses.
    boolean
    The value of the property delegateProjections defines whether a Custom Wrapper can deal with projected fields.
    boolean
    The value of the property delegateRegisterLiterals defines whether a Custom Wrapper can deal with conditions containing registers (as in MY_REGISTER = ROW( 1, 'A' )).
    boolean
    The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with fields in their right side (as in FIELD1 = FIELD2).
    boolean
    The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with literals in their right side (as in FIELD1 = 100).
    void
    setAllowedOperators(String[] allowedOperators)
    The value of the property allowedOperators defines what operators are allowed in the conditions passed to a Custom Wrapper.
    void
    setDelegateArrayLiterals(boolean delegateArrayLiterals)
    The value of the property delegateArrayLiterals defines whether a Custom Wrapper can deal with conditions containing arrays (as in MY_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 property delegateLeftLiterals defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in 100 = FIELD).
    void
    setDelegateNotConditions(boolean delegateNotConditions)
    The value of the property delegateNotConditions defines whether a Custom Wrapper can deal with NOT conditions (as in WHERE NOT (F1 = 10) in SQL).
    void
    setDelegateOrConditions(boolean delegateOrConditions)
    The value of the property delegateOrConditions defines whether a Custom Wrapper can deal with OR conditions (as in WHERE F1 = 10 OR F2 = 20 in SQL).
    void
    setDelegateOrderBy(boolean delegateOrderBy)
    The value of the property delegateOrderBy defines whether a Custom Wrapper can deal with 'order by' clauses.
    void
    setDelegateProjections(boolean delegateProjections)
    The value of the property delegateProjections defines whether a Custom Wrapper can deal with projected fields.
    void
    setDelegateRegisterLiterals(boolean delegateRegisterLiterals)
    The value of the property delegateRegisterLiterals defines whether a Custom Wrapper can deal with conditions containing registers (as in MY_REGISTER = ROW( 1, 'A' )).
    void
    setDelegateRightFields(boolean delegateRightFields)
    The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with fields in their right side (as in FIELD1 = FIELD2).
    void
    setDelegateRightLiterals(boolean delegateRightLiterals)
    The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with literals in their right side (as in FIELD1 = 100).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomWrapperConfiguration

      public CustomWrapperConfiguration()
  • Method Details

    • isDelegateProjections

      public boolean isDelegateProjections()
      The value of the property delegateProjections 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 property delegateProjections defines whether a Custom Wrapper can deal with projected fields.
      Parameters:
      delegateProjections - the value for the property delegateProjections
    • isDelegateCompoundFieldProjections

      @Deprecated public boolean 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 property delegateOrConditions defines whether a Custom Wrapper can deal with OR conditions (as in WHERE F1 = 10 OR F2 = 20 in SQL).
      Returns:
      the value of the property delegateOrConditions
    • setDelegateOrConditions

      public void setDelegateOrConditions(boolean delegateOrConditions)
      The value of the property delegateOrConditions defines whether a Custom Wrapper can deal with OR conditions (as in WHERE F1 = 10 OR F2 = 20 in SQL).
      Parameters:
      delegateOrConditions - the value for the property delegateOrConditions
    • isDelegateNotConditions

      public boolean isDelegateNotConditions()
      The value of the property delegateNotConditions defines whether a Custom Wrapper can deal with NOT conditions (as in WHERE NOT (F1 = 10) in SQL).
      Returns:
      the value of the property delegateNotConditions
    • setDelegateNotConditions

      public void setDelegateNotConditions(boolean delegateNotConditions)
      The value of the property delegateNotConditions defines whether a Custom Wrapper can deal with NOT conditions (as in WHERE NOT (F1 = 10) in SQL).
      Parameters:
      delegateNotConditions - the value for the property delegateNotConditions
    • isDelegateArrayLiterals

      public boolean isDelegateArrayLiterals()
      The value of the property delegateArrayLiterals defines whether a Custom Wrapper can deal with conditions containing arrays (as in MY_INT_ARRAY = [10, 20, 30, 40]).
      Returns:
      the value of the property delegateArrayLiterals
    • setDelegateArrayLiterals

      public void setDelegateArrayLiterals(boolean delegateArrayLiterals)
      The value of the property delegateArrayLiterals defines whether a Custom Wrapper can deal with conditions containing arrays (as in MY_INT_ARRAY = { ROW( 1 ), ROW( 2 ) }).
      Parameters:
      delegateArrayLiterals - the value for the property delegateArrayLiterals
    • isDelegateRegisterLiterals

      public boolean isDelegateRegisterLiterals()
      The value of the property delegateRegisterLiterals defines whether a Custom Wrapper can deal with conditions containing registers (as in MY_REGISTER = ROW( 1, 'A' )).
      Returns:
      the value of the property delegateRegisterLiterals
    • setDelegateRegisterLiterals

      public void setDelegateRegisterLiterals(boolean delegateRegisterLiterals)
      The value of the property delegateRegisterLiterals defines whether a Custom Wrapper can deal with conditions containing registers (as in MY_REGISTER = ROW( 1, 'A' )).
      Parameters:
      delegateRegisterLiterals - the value for the property delegateRegisterLiterals
    • isDelegateLeftLiterals

      public boolean isDelegateLeftLiterals()
      The value of the property delegateLeftLiterals defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in 100 = FIELD).
      Returns:
      the value of the property delegateLeftLiterals
    • setDelegateLeftLiterals

      public void setDelegateLeftLiterals(boolean delegateLeftLiterals)
      The value of the property delegateLeftLiterals defines whether a Custom Wrapper can deal with conditions with literals in their left side (as in 100 = FIELD).
      Parameters:
      delegateLeftLiterals - the value for the property delegateLeftLiterals
    • isDelegateRightFields

      public boolean isDelegateRightFields()
      The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with fields in their right side (as in FIELD1 = FIELD2).
      Returns:
      the value of the property delegateRightFields
    • setDelegateRightFields

      public void setDelegateRightFields(boolean delegateRightFields)
      The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with fields in their right side (as in FIELD1 = FIELD2).
      Parameters:
      delegateRightFields - the value for the property delegateRightFields
    • isDelegateRightLiterals

      public boolean isDelegateRightLiterals()
      The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with literals in their right side (as in FIELD1 = 100).
      Returns:
      the value of the property delegateRightLiterals
    • setDelegateRightLiterals

      public void setDelegateRightLiterals(boolean delegateRightLiterals)
      The value of the property delegateRightFields defines whether a Custom Wrapper can deal with conditions with literals in their right side (as in FIELD1 = 100).
      Parameters:
      delegateRightLiterals - the value for the property delegateRightLiterals
    • isDelegateOrderBy

      public boolean isDelegateOrderBy()
      The value of the property delegateOrderBy 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 property delegateOrderBy defines whether a Custom Wrapper can deal with 'order by' clauses.
      Parameters:
      delegateOrderBy - the value of the property delegateOrderBy
    • getAllowedOperators

      public String[] getAllowedOperators()
      Returns:
      the value of the property allowedOperators
    • setAllowedOperators

      public void setAllowedOperators(String[] allowedOperators)
      Parameters:
      allowedOperators - the value for the property allowedOperators