public class LDAPSyncQueryExecution extends Object implements ResultSetExecution
Constructor and Description |
---|
LDAPSyncQueryExecution(Select query,
LDAPExecutionFactory factory,
ExecutionContext context,
LdapContext ldapCtx)
Constructor
|
public LDAPSyncQueryExecution(Select query, LDAPExecutionFactory factory, ExecutionContext context, LdapContext ldapCtx)
executionMode
- the execution mode.ctx
- the execution context.logger
- the ConnectorLoggerldapCtx
- the LDAP Contextpublic void execute() throws TranslatorException
execute
in interface Execution
query
- the query object.maxBatchSize
- the max batch size.TranslatorException
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
public void close()
Execution
public List<?> next() throws TranslatorException
next
in interface ResultSetExecution
TranslatorException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.