Examples of Query()


Examples of com.thinkaurelius.titan.diskstorage.indexing.IndexTransaction.query()

    public List<String> indexQuery(final String index, final IndexQuery query) {
        final IndexTransaction indexTx = getIndexTransactionHandle(index);
        return executeRead(new Callable<List<String>>() {
            @Override
            public List<String> call() throws Exception {
                return indexTx.query(query);
            }

            @Override
            public String toString() {
                return "IndexQuery";
View Full Code Here

Examples of com.tinkerpop.blueprints.Graph.query()

        assertTrue(null != lop);
        assertTrue(null != ripple);
        assertEquals(count, 6);

        count = 0;
        for (Edge edge : tinkerGraph.query().edges()) {
            System.out.println(edge);
            count++;
        }
        assertEquals(count, 6);
View Full Code Here

Examples of com.tinkerpop.blueprints.Vertex.query()

                final E e = currentIterator.next();
                if (this.count > this.lowRange)
                    return e;
            } else {
                final Vertex vertex = this.starts.next();
                VertexQuery query = vertex.query();
                query = query.direction(this.direction);
                if (this.labels.length > 0)
                    query = query.labels(this.labels);
                if (null != this.hasContainers) {
                    for (final HasContainer hasContainer : this.hasContainers) {
View Full Code Here

Examples of com.tinkerpop.blueprints.impls.orient.OrientGraph.query()

    OrientGraph db = new OrientGraph("memory:temp", "admin", "admin");
    Iterable<Vertex> vs = db.getVertices();
    for (Vertex v : vs) {
      System.out.println("GOT VERTEX: " + v);
    }
    Iterable<Vertex> rcs = ((OrientGraphQuery) db.query()).labels("rawCategory").vertices();
    if (!rcs.iterator().hasNext())
      System.out.println("??? Where are the rawCategory vertices?");
    else {
      for (Vertex rc : rcs) {
        System.out.println("GOT RC: " + rc);
View Full Code Here

Examples of com.vividsolutions.jts.index.SpatialIndex.query()

                geom = _geom;
            }

            SpatialIndex spatialIndex = sourceAccessor.two();
            @SuppressWarnings("unchecked")
            List<Pair<FeatureId,String>> fids = spatialIndex.query(geom.getEnvelopeInternal());
            _unrefinedMatches = new HashMap<String,FeatureId>();
            for (Pair<FeatureId, String> match : fids) {
                _unrefinedMatches.put(match.two(), match.one());
            }
        }
View Full Code Here

Examples of com.vividsolutions.jts.index.strtree.STRtree.query()

             * Query the spatial index for objects within the search envelope.
             * Note that this just compares the point envelope to the line envelopes
             * so it is possible that the point is actually more distant than
             * MAX_SEARCH_DISTANCE from a line.
             */
            List<LocationIndexedLine> lines = index.query(search);

            // Initialize the minimum distance found to our maximum acceptable
            // distance plus a little bit
            double minDist = MAX_SEARCH_DISTANCE + 1.0e-6;
            Coordinate minDistPoint = null;
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.impl.template.ParameterBlock.query()

            throw forwardFatalError(dynamicProcess,
                    "Default values cannot be specified for " +
                    "mandatory parameter '" + name + "'");
        } else {
            ParameterBlock parameters = model.getParameterBlock();
            TValue boundValue = parameters.query(name);

            if (boundValue != null) {
                if (boundValue.getComplexity() == Complexity.COMPLEX &&
                        complexity == Complexity.SIMPLE) {
View Full Code Here

Examples of common.db.QueryRunner.query()

  public void testMultySelect()
  {
    //new QueryRunner(); rad sa predefinisanim DBParam, pogledaj u klasi
    QueryRunner queryRunner = new QueryRunner(dbParam); // new QuerryRunner(dbParam); da radis sa proizvoljnom bazom
    List<Proba> lists = queryRunner.query(sqlRes.query("multySelect"), ProbaRowProcessor.getListHandler());
    for (Proba p : lists)
    {
      System.out.println("testMultySelect:" + p.toString());
    }
View Full Code Here

Examples of de.innovationgate.webgate.api.auth.AuthenticationModule.query()

        AuthenticationModule mod = getAuthModule();
        if (mod == null) {
            return null;
        }
       
        return mod.query(query, queryType);

    }

    public void removeAuthenticationSourceListener(AuthenticationSourceListener listener) {
       
View Full Code Here

Examples of de.iritgo.aktera.persist.Persistent.query()

    List listItems = null;

    if (useSortOrder)
    {
      listItems = lookupObj.query("SortOrder");
    }
    else
    {
      listItems = lookupObj.query("ItemName");
    }
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.