Examples of Query()


Examples of edu.sdsc.grid.io.irods.IRODSFileSystem.query()

            MetaDataRecordList[] recordList = null;

            try
            {
                recordList = irodsFS
                .query(
                        new MetaDataCondition[] {
                                MetaDataSet
                                .newCondition(
                                        IRODSMetaDataSet.USER_DN,
View Full Code Here

Examples of es.ipsa.atril.doc.user.Dms.query()

    if (dtCreationFrom!=null)
      sQry += (sQry.length()==0 ? "" : " & ") + "(Invoice$creation_date>='"+oFmt.format(dtCreationFrom)+"')";
    if (dtCreationTo!=null)
      sQry += (sQry.length()==0 ? "" : " & ") + "(Invoice$creation_date<='"+oFmt.format(dtCreationTo)+"')";
    Log.out.debug("Dms.query("+sQry+")");
    SortableList<Document> oLst = oDms.query(sQry);
    if (!oLst.isEmpty()) {
      int o = 0, n = 0;
      for (Document d : oLst) {
        if (iOffset<=o++) {
          try {
View Full Code Here

Examples of es.ipsa.atril.documentindexer.DocumentIndexer.query()

      if (sSearchStr.length()>0) {
        String sSanitizedSearchStr = Gadgets.removeChars(sSearchStr,"\"\n'");
        sQry += " AND (concept:\""+sSanitizedSearchStr+"\"* OR employee_name:\""+sSanitizedSearchStr+"\"* OR comments:\""+sSanitizedSearchStr+"\"*)";
      }
    }
    SortableList<Document> oLst = (SortableList<Document>) oIdx.query(sQry);
    if (!oLst.isEmpty()) {
      int o = 0, n = 0;
      for (Document d : oLst) {
        if (iOffset<=o++) {
          try {
View Full Code Here

Examples of eu.admire.registry.pe.rdf.client.RDFActivityApp.query()

          + "\" . ?pe platform:hasStatus \"active\" . ?pe ?p ?value } ";

      RDFActivityApp mApp = new RDFActivityApp(mAddress);
      List<List<String>> results;
      results = new ArrayList<List<String>>();
      results = mApp.query(SPARQLquery);

      Map<String, String> metadataMap;
      metadataMap = new HashMap<String, String>();
      for (List<String> list : results) {
        // System.out.println(list);
View Full Code Here

Examples of eu.bitfish.jcf.parser.antlr4.generated.jcfParser.query()

    CharStream charStream = new ANTLRInputStream(input);
    jcfLexer lexer = new jcfLexer(charStream);
    CommonTokenStream tokens = new CommonTokenStream(lexer);
    jcfParser parser = new jcfParser(tokens);
    parser.setErrorHandler(new ExceptionErrorStrategy());
    parser.query();
  }
}
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.api.ServiceRegistry.query()

                        "Sanselan", Migrate.class.getName())
                        .endpoint(endpoint2).paths(path).build());
        /* And can then query by example, e.g. for migration services supporting the path: */
        ServiceDescription example = new ServiceDescription.Builder(null, Migrate.class
                .getName()).paths(path).build();
        List<ServiceDescription> migrationServices = registry.query(example);
        /* Which we expect to return only the compatible migration service: */
        Assert.assertEquals(1, migrationServices.size());
        Assert.assertEquals("Sanselan", migrationServices.get(0).getName());
        /* For further example on queries see CoreRegistryTests */
    }
View Full Code Here

Examples of gc.base.sql.SqlQuery.query()

    info.setWhere("DOCUUID=?");
    List<Object> bindings = new ArrayList<Object>();
    bindings.add(docuuid);
    info.setQueryBindings(bindings);
    SqlQuery q = new SqlQuery();
    q.query(context,con,info, new SqlRowHandler() {
      @Override
      public void handleSqlRow(TaskContext context, Connection con, ResultSet rs,
          long rowNum) throws Exception {
        readFields(rs);
      }
View Full Code Here

Examples of gov.nysenate.openleg.api.QueryBuilder.query()

            logger.error(e);
        }

        if(builder == null) return;

        longSearch.query(builder.query());

        for(Bill bill:longSearch) {
            logger.warn(TextFormatter.append("found ", bill.getSenateBillNo()," missing ",field));

            ProblemBill problemBill = null;
View Full Code Here

Examples of htsjdk.samtools.SAMFileReader.query()

        SAMRecordIterator rawIterator;
        if ( location == null )
            rawIterator = reader.iterator();
        else {
            final GenomeLoc loc = genomeLocParser.parseGenomeLoc(location);
            rawIterator = reader.query(loc.getContig(), loc.getStart(), loc.getStop(), false);
        }

        final GATKSAMRecordIterator iterator = new GATKSAMRecordIterator(rawIterator);

        final Set<String> samples = new HashSet<String>();
View Full Code Here

Examples of htsjdk.tribble.AbstractFeatureReader.query()

        // Interval index
        TestUtils.createIndex(bedFile, IgvTools.INTERVAL_INDEX, 100);

        AbstractFeatureReader bfr = AbstractFeatureReader.getFeatureReader(bedFile, codec);
        Iterator<Feature> iter = bfr.query("chr1", 0, Integer.MAX_VALUE);
        int count = 0;
        while (iter.hasNext()) {
            Feature feat = iter.next();
            if (count == 0) {
                //Check we don't skip first line
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.