Class LDAPQueryExecution

  • All Implemented Interfaces:
    org.teiid.translator.Execution, org.teiid.translator.ResultSetExecution

    public class LDAPQueryExecution
    extends Object
    implements org.teiid.translator.ResultSetExecution
    LDAPSyncQueryExecution is responsible for executing an LDAP search corresponding to a read-only "select" query.
    • Method Detail

      • execute

        public void execute()
                     throws org.teiid.translator.TranslatorException
        Specified by:
        execute in interface org.teiid.translator.Execution
        Throws:
        org.teiid.translator.TranslatorException
      • cancel

        public void cancel()
                    throws org.teiid.translator.TranslatorException
        Specified by:
        cancel in interface org.teiid.translator.Execution
        Throws:
        org.teiid.translator.TranslatorException
      • close

        public void close()
        Specified by:
        close in interface org.teiid.translator.Execution
      • next

        public List<?> next()
                     throws org.teiid.translator.TranslatorException
        Fetch the next batch of data from the LDAP searchEnumerationr result.
        Specified by:
        next in interface org.teiid.translator.ResultSetExecution
        Returns:
        the next Batch of results.
        Throws:
        org.teiid.translator.TranslatorException