Package org.teiid.translator.ldap
Class LDAPDirectCreateUpdateDeleteQueryExecution
- java.lang.Object
-
- org.teiid.translator.ldap.LDAPDirectCreateUpdateDeleteQueryExecution
-
- All Implemented Interfaces:
Execution,ProcedureExecution,ResultSetExecution
public class LDAPDirectCreateUpdateDeleteQueryExecution extends Object implements ProcedureExecution
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutionContextexecutionContextprotected LDAPExecutionFactoryexecutionFactoryprotected LdapContextldapConnection
-
Constructor Summary
Constructors Constructor Description LDAPDirectCreateUpdateDeleteQueryExecution(List<Argument> arguments, LDAPExecutionFactory factory, ExecutionContext executionContext, LdapContext connection, String query, boolean returnsArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidclose()voidexecute()List<?>getOutputParameterValues()List<?>next()
-
-
-
Field Detail
-
ldapConnection
protected LdapContext ldapConnection
-
executionFactory
protected LDAPExecutionFactory executionFactory
-
executionContext
protected ExecutionContext executionContext
-
-
Constructor Detail
-
LDAPDirectCreateUpdateDeleteQueryExecution
public LDAPDirectCreateUpdateDeleteQueryExecution(List<Argument> arguments, LDAPExecutionFactory factory, ExecutionContext executionContext, LdapContext connection, String query, boolean returnsArray)
-
-
Method Detail
-
execute
public void execute() throws TranslatorException- Specified by:
executein interfaceExecution- Throws:
TranslatorException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws TranslatorException
- Specified by:
getOutputParameterValuesin interfaceProcedureExecution- Throws:
TranslatorException
-
next
public List<?> next() throws TranslatorException, DataNotAvailableException
- Specified by:
nextin interfaceResultSetExecution- Throws:
TranslatorExceptionDataNotAvailableException
-
cancel
public void cancel() throws TranslatorException- Specified by:
cancelin interfaceExecution- Throws:
TranslatorException
-
-