public class LDAPQueryExecution extends Object implements org.teiid.translator.ResultSetExecution
| Constructor and Description |
|---|
LDAPQueryExecution(LdapContext ldapContext,
LDAPSearchDetails search,
SearchControls searchControls,
LDAPExecutionFactory factory,
org.teiid.translator.ExecutionContext context)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
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, org.teiid.translator.ExecutionContext context)
executionMode - the execution mode.ctx - the execution context.logger - the ConnectorLoggerconnection - the LDAP Contextpublic void execute()
throws org.teiid.translator.TranslatorException
execute in interface org.teiid.translator.Executionquery - the query object.maxBatchSize - the max batch size.org.teiid.translator.TranslatorExceptionpublic void cancel()
throws org.teiid.translator.TranslatorException
cancel in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionpublic void close()
close in interface org.teiid.translator.Executionpublic List<?> next() throws org.teiid.translator.TranslatorException
next in interface org.teiid.translator.ResultSetExecutionorg.teiid.translator.TranslatorExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.