public class LDAPQueryExecution extends Object implements ResultSetExecution
| Constructor and Description |
|---|
LDAPQueryExecution(LdapContext ldapContext,
LDAPSearchDetails search,
SearchControls searchControls,
LDAPExecutionFactory factory,
ExecutionContext context)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
method to execute the supplied query
|
List<?> |
next()
Fetch the next batch of data from the LDAP searchEnumerationr result.
|
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 © 2016 JBoss by Red Hat. All rights reserved.