|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.connector.basic.BasicExecution
com.metamatrix.connector.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(IQuery query,
ExecutionContext ctx,
RuntimeMetadata rm,
ConnectorLogger logger,
javax.naming.ldap.InitialLdapContext ldapCtx,
java.util.Properties props)
Constructor |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the execution abnormally. |
void |
close()
Terminates the execution normally. |
void |
execute()
method to execute the supplied query |
java.util.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(IQuery query,
ExecutionContext ctx,
RuntimeMetadata rm,
ConnectorLogger logger,
javax.naming.ldap.InitialLdapContext ldapCtx,
java.util.Properties props)
throws ConnectorException
executionMode - the execution mode.ctx - the execution context.rm - the runtimeMetadatalogger - the ConnectorLoggerldapCtx - the LDAP Context
ConnectorException| Method Detail |
|---|
public void execute()
throws ConnectorException
execute in interface Executionquery - the query object.maxBatchSize - the max batch size.
ConnectorException
public void cancel()
throws ConnectorException
Execution
cancel in interface ExecutionConnectorException
public void close()
throws ConnectorException
Execution
close in interface ExecutionConnectorException
public java.util.List next()
throws ConnectorException
next in interface ResultSetExecutionConnectorException
DataNotAvailableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||