Package org.teiid.translator.ldap
Class LDAPQueryExecution
- java.lang.Object
-
- org.teiid.translator.ldap.LDAPQueryExecution
-
- All Implemented Interfaces:
Execution,ResultSetExecution
public class LDAPQueryExecution extends Object implements ResultSetExecution
LDAPSyncQueryExecution is responsible for executing an LDAP search corresponding to a read-only "select" query.
-
-
Constructor Summary
Constructors Constructor Description LDAPQueryExecution(LdapContext ldapContext, LDAPSearchDetails search, SearchControls searchControls, LDAPExecutionFactory factory, ExecutionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidclose()voidexecute()List<?>next()Fetch the next batch of data from the LDAP searchEnumerationr result.
-
-
-
Constructor Detail
-
LDAPQueryExecution
public LDAPQueryExecution(LdapContext ldapContext, LDAPSearchDetails search, SearchControls searchControls, LDAPExecutionFactory factory, ExecutionContext context)
-
-
Method Detail
-
execute
public void execute() throws TranslatorException- Specified by:
executein interfaceExecution- Throws:
TranslatorException
-
cancel
public void cancel() throws TranslatorException- Specified by:
cancelin interfaceExecution- Throws:
TranslatorException
-
next
public List<?> next() throws TranslatorException
Fetch the next batch of data from the LDAP searchEnumerationr result.- Specified by:
nextin interfaceResultSetExecution- Returns:
- the next Batch of results.
- Throws:
TranslatorException
-
-