|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.translator.ldap.LDAPSyncQueryExecution
public class LDAPSyncQueryExecution
LDAPSyncQueryExecution is responsible for executing an LDAP search corresponding to a read-only "select" query from MetaMatrix.
Constructor Summary | |
---|---|
LDAPSyncQueryExecution(Select query,
LDAPExecutionFactory factory,
ExecutionContext context,
LdapContext ldapCtx)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDAPSyncQueryExecution(Select query, LDAPExecutionFactory factory, ExecutionContext context, LdapContext ldapCtx)
executionMode
- the execution mode.ctx
- the execution context.logger
- the ConnectorLoggerldapCtx
- the LDAP ContextMethod Detail |
---|
public 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
close
in interface Execution
public List<?> next() throws TranslatorException
next
in interface ResultSetExecution
TranslatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |