Examples of query()


Examples of org.xmldb.api.modules.XQueryService.query()

 
  public boolean execute() throws Exception {
    Collection col = DatabaseManager.getCollection(collectionPath);
    XQueryService service = (XQueryService) col.getService("XQueryService", "1.0");
   
    service.query(query);
    return false;
  }
}
View Full Code Here

Examples of railo.runtime.net.ldap.LDAPClient.query()

        }
        else if(action.equals("query")) {
            required("LDAP",action,"start",start);
            required("LDAP",action,"attributes",attributes);
            required("LDAP",action,"name",name);
            Query qry = client.query(attributes,scope,startrow,maxrows,
                    timeout,sort,sortType,sortDirection,start,separator,filter);
            pageContext.setVariable(name,qry);
           
        }
        else throw new ApplicationException("invalid value for attribute action ["+action+"], valid values are [add,delete,modifydn,modify,query]");
View Full Code Here

Examples of realcix20.utils.DAO.query()

    public static PublicKey getPublicKey() {    
       
        PublicKey key = null;
       
        DAO dao = DAO.getInstance();
        dao.query(Resources.SELECT_PUB_AND_PRI_KEY_SQL);
        ResultSet rs = dao.executeQuery();
        try {
           
            if (rs.next())
                key = (PublicKey)rs.getObject("PUBKEY");
View Full Code Here

Examples of sos.marshalling.SOSExport.query()

    String selSettingsOrders = "SELECT * FROM "+JobSchedulerManagedObject.getTableSettings()+" WHERE \"APPLICATION\" IN ('order_type/local/?', 'order_type/global/?', 'order_type/mixed/?')";
    String selOrders = "SELECT * FROM "+JobSchedulerManagedObject.getTableManagedOrders()+" WHERE \"JOB_CHAIN\"='?'";
   
    //TODO: wofuer ist 3. Parameter?   
    SOSExport export = new SOSExport(conn,xmlFile, "DOCUMENT", sosLogger);
    int model = export.query(JobSchedulerManagedObject.getTableManagedModels(),"ID", selManagedModel);
    int job = export.query(JobSchedulerManagedObject.getTableManagedJobs(),"ID",selManagedJobs,"ID", model);
    int orders = export.query(JobSchedulerManagedObject.getTableManagedOrders(),"ID",selOrders,"NAME",model);
    int jobTypes = export.query(JobSchedulerManagedObject.getTableManagedJobTypes(),"TYPE", selJobTypes,"JOB_TYPE", job);
    int jobTypes2 = export.query(JobSchedulerManagedObject.getTableManagedJobTypes(),"TYPE", selJobTypes,"JOB_TYPE", orders);
    int settings = export.query(JobSchedulerManagedObject.getTableSettings(), "APPLICATION,SECTION,NAME",selSettings,"TYPE,TYPE,TYPE",jobTypes);
View Full Code Here

Examples of stp.VC.query()

        // /* Query 1 */
        vc.push();

//        vc.printQuery();
        System.out.println("\nChecking:" + a_eq_0);
        int query = vc.query(a_eq_0);
        vc.printQuery();

        vc.pop();

//        System.out.printf("query = %d\n", query);
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.scixml.SciXMLDocument.query()

        }
        File outDir = new File(sxDir, i + "");
        outDir.mkdir();
        File outFile = new File(outDir, "markedup.xml");
        new Serializer(new FileOutputStream(outFile)).write(sxd);
        Nodes n = sxd.query("//ne");
        for(int j=0;j<n.size();j++) {
          XOMTools.removeElementPreservingText((Element)n.get(j));
        }
        outFile = new File(outDir, "source.xml");
        new Serializer(new FileOutputStream(outFile)).write(sxd);
View Full Code Here

Examples of wwutil.jsoda.Jsoda.query()

        dao.put(new SampleProduct("item5", null, "product with null name", 0.0f));


        // Create a query object specific to the SampleProduct model class.
        // No additional filtering condition means to get all the items.
        Query<SampleProduct>    query = jsoda.query(SampleProduct.class);

        // Run the count query to get back the count of the query.
        System.out.println("Number of objects: " + query.count());

        // Run the query to get all the items.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.