Class SetTenantStatementBuilder.SetTenantStatement
java.lang.Object
com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder.AbstractStatement
com.tangosol.coherence.dslquery.queryplus.SetTenantStatementBuilder.SetTenantStatement
- All Implemented Interfaces:
Statement
- Enclosing class:
SetTenantStatementBuilder
public class SetTenantStatementBuilder.SetTenantStatement
extends AbstractQueryPlusStatementBuilder.AbstractStatement
The implementation of the QueryPlus "ALTER SESSION SET DOMAIN PARTITION" statement.
- Since:
- 12.2.1
- Author:
- jk 2014.09.04
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSetTenantStatement
(String sTenant) Construct a SetTenantStatement that will set the current tenant used by the QueryPlus session to the specified tenant. -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ExecutionContext ctx) Set the current tenant to be used by the CohQL session.Methods inherited from class com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder.AbstractStatement
getExecutionConfirmation, sanityCheck, showPlan
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.coherence.dslquery.Statement
executeAsync, isManagingTimeout
-
Field Details
-
f_sTenant
The name of the tenant to set as the current tenant.
-
-
Constructor Details
-
SetTenantStatement
Construct a SetTenantStatement that will set the current tenant used by the QueryPlus session to the specified tenant.- Parameters:
sTenant
- the name of the tenant to set as the current tenant
-
-
Method Details
-
execute
Set the current tenant to be used by the CohQL session.- Parameters:
ctx
- thecontext
to use- Returns:
- Always returns
StatementResult.NULL_RESULT
-