Package org.teiid.translator.ldap
Class LDAPQueryExecution
- java.lang.Object
-
- org.teiid.translator.ldap.LDAPQueryExecution
-
- All Implemented Interfaces:
org.teiid.translator.Execution,org.teiid.translator.ResultSetExecution
public class LDAPQueryExecution extends Object implements org.teiid.translator.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, org.teiid.translator.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, org.teiid.translator.ExecutionContext context)
-
-
Method Detail
-
execute
public void execute() throws org.teiid.translator.TranslatorException- Specified by:
executein interfaceorg.teiid.translator.Execution- Throws:
org.teiid.translator.TranslatorException
-
cancel
public void cancel() throws org.teiid.translator.TranslatorException- Specified by:
cancelin interfaceorg.teiid.translator.Execution- Throws:
org.teiid.translator.TranslatorException
-
close
public void close()
- Specified by:
closein interfaceorg.teiid.translator.Execution
-
next
public List<?> next() throws org.teiid.translator.TranslatorException
Fetch the next batch of data from the LDAP searchEnumerationr result.- Specified by:
nextin interfaceorg.teiid.translator.ResultSetExecution- Returns:
- the next Batch of results.
- Throws:
org.teiid.translator.TranslatorException
-
-