Package org.jzkit.search.util

Examples of org.jzkit.search.util.ResultSet


      }
      for ( Iterator i = sort_bind_variables.iterator(); i.hasNext(); ) {
        s.setObject(counter++,i.next());
      }

      ResultSet r = s.executeQuery();


      int col_count = r.getMetaData().getColumnCount();

      // We store the matching keys in an external data file for later use so we can release this
      // connection back to the pool asap.
      while ( r.next() ) {
        EntityKey ek = new EntityKey(et, r);
        OID key = new OID(datasource_name,et.getEntityName()new EntityKey(et, r));
        result.add(key);
      }

      result.commit();

      r.close();
      s.close();
      c.close();

      result.setStatus(IRResultSetStatus.COMPLETE);
    }
View Full Code Here

TOP

Related Classes of org.jzkit.search.util.ResultSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.