Package org.teiid.translator.ldap
Class LDAPDirectSearchQueryExecution
- java.lang.Object
-
- org.teiid.translator.ldap.LDAPSyncQueryExecution
-
- org.teiid.translator.ldap.LDAPDirectSearchQueryExecution
-
- All Implemented Interfaces:
Execution
,ProcedureExecution
,ResultSetExecution
public class LDAPDirectSearchQueryExecution extends LDAPSyncQueryExecution implements ProcedureExecution
-
-
Field Summary
-
Fields inherited from class org.teiid.translator.ldap.LDAPSyncQueryExecution
delegate, executionContext, executionFactory, ldapConnection
-
-
Constructor Summary
Constructors Constructor Description LDAPDirectSearchQueryExecution(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 void
execute()
method to execute the supplied queryList<?>
getOutputParameterValues()
Get the output parameter values.List<?>
next()
Retrieves the next row of the resultset.-
Methods inherited from class org.teiid.translator.ldap.LDAPSyncQueryExecution
cancel, close, createSearchContext
-
-
-
-
Constructor Detail
-
LDAPDirectSearchQueryExecution
public LDAPDirectSearchQueryExecution(List<Argument> arguments, LDAPExecutionFactory factory, ExecutionContext executionContext, LdapContext connection, String query, boolean returnsArray)
-
-
Method Detail
-
execute
public void execute() throws TranslatorException
Description copied from class:LDAPSyncQueryExecution
method to execute the supplied query- Specified by:
execute
in interfaceExecution
- Overrides:
execute
in classLDAPSyncQueryExecution
- Throws:
TranslatorException
-
next
public List<?> next() throws TranslatorException, DataNotAvailableException
Description copied from interface:ResultSetExecution
Retrieves the next row of the resultset.- Specified by:
next
in interfaceResultSetExecution
- Overrides:
next
in classLDAPSyncQueryExecution
- Returns:
- the next row or null indicating that there are no more results
- Throws:
TranslatorException
DataNotAvailableException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws TranslatorException
Description copied from interface:ProcedureExecution
Get the output parameter values. Results should place the return parameter first if it is present, then the IN/OUT and OUT parameters should follow in the order they appeared in the command.- Specified by:
getOutputParameterValues
in interfaceProcedureExecution
- Throws:
TranslatorException
- If an error occurs while retrieving the output value
-
-