Package wt.query

Class CompositeQuerySpec

java.lang.Object
wt.query.CompositeQuerySpec
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, StatementSpec, wt.query.CloneableStatementSpec, wt.query.CompoundComponentStatementSpec

public class CompositeQuerySpec extends Object implements wt.query.CloneableStatementSpec, wt.query.CompoundComponentStatementSpec, Externalizable
This class is a query statement specification that consists of multiple QuerySpecs that are executed as a single queru. Note that this may be implemented as mutliple database queries, as necessary.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • isAdvancedQueryEnabled

      public boolean isAdvancedQueryEnabled()
      Gets the value of the attribute: advancedQueryEnabled; Indicates if advanced query capabilities are enabled. By design, this attribute is transient and its value is not passed between Java Virtual Machine (JVM) processes. The value should be set within the same JVM process that executes the statement.

      Supported API: true
      Specified by:
      isAdvancedQueryEnabled in interface StatementSpec
      Returns:
      boolean
    • setAdvancedQueryEnabled

      public void setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
      Sets the value of the attribute: advancedQueryEnabled; Indicates if advanced query capabilities are enabled. By design, this attribute is transient and its value is not passed between Java Virtual Machine (JVM) processes. The value should be set within the same JVM process that executes the statement.

      Supported API: true
      Specified by:
      setAdvancedQueryEnabled in interface StatementSpec
      Parameters:
      a_AdvancedQueryEnabled -
    • addComponent

      public void addComponent(StatementSpec a_statementSpec)
      This method adds a component statement.

      Supported API: true
      Parameters:
      a_statementSpec - Component statement to add
    • isUseBind

      public boolean isUseBind()
      Gets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement.

      Supported API: true
      Specified by:
      isUseBind in interface StatementSpec
      Returns:
      boolean
    • setUseBind

      public void setUseBind(boolean a_UseBind) throws WTPropertyVetoException
      Sets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement.

      Supported API: true
      Specified by:
      setUseBind in interface StatementSpec
      Parameters:
      a_UseBind -
      Throws:
      WTPropertyVetoException