public class LDAPQueryExecution extends Object implements ResultSetExecution
| Constructor and Description |
|---|
LDAPQueryExecution(LdapContext ldapContext,
LDAPSearchDetails search,
SearchControls searchControls,
LDAPExecutionFactory factory,
ExecutionContext context)
Constructor
|
public LDAPQueryExecution(LdapContext ldapContext, LDAPSearchDetails search, SearchControls searchControls, LDAPExecutionFactory factory, ExecutionContext context)
executionMode - the execution mode.ctx - the execution context.logger - the ConnectorLoggerconnection - the LDAP Contextpublic void execute()
throws TranslatorException
execute in interface Executionquery - the query object.maxBatchSize - the max batch size.TranslatorExceptionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic void close()
Executionpublic List<?> next() throws TranslatorException
next in interface ResultSetExecutionTranslatorExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.