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
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.pds.StatementSpec
ADVANCED_QUERY_ENABLED, USE_BIND -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(StatementSpec a_statementSpec) This method adds a component statement.booleanGets the value of the attribute: advancedQueryEnabled; Indicates if advanced query capabilities are enabled.booleanGets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement.voidsetAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled) Sets the value of the attribute: advancedQueryEnabled; Indicates if advanced query capabilities are enabled.voidsetUseBind(boolean a_UseBind) Sets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement.
-
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:
isAdvancedQueryEnabledin interfaceStatementSpec- 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:
setAdvancedQueryEnabledin interfaceStatementSpec- Parameters:
a_AdvancedQueryEnabled-
-
addComponent
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:
isUseBindin interfaceStatementSpec- Returns:
- boolean
-
setUseBind
Sets the value of the attribute: useBind; Indicates if bind parameters should be used for this statement.
Supported API: true- Specified by:
setUseBindin interfaceStatementSpec- Parameters:
a_UseBind-- Throws:
WTPropertyVetoException
-