Examples of all()


Examples of com.hp.hpl.jena.tdb.index.TupleIndex.all()

                // Dump in tuple order.
                TupleIndex tupleIndex = new TupleIndexRecord(primary.length(), new ColumnMap(primary, indexName), indexName, rIndex.getRecordFactory(), rIndex) ;
                if ( true )
                {
                    System.out.println("---- Tuple contents") ;
                    Iterator<Tuple<NodeId>> iter2 = tupleIndex.all() ;
                    if ( ! iter2.hasNext() )
                        System.out.println("<<Empty>>") ;

                    for ( ; iter2.hasNext() ; )
                    {
View Full Code Here

Examples of com.hp.hpl.jena.tdb.index.TupleIndexRecord.all()

                // Dump in tuple order.
                TupleIndex tupleIndex = new TupleIndexRecord(primary.length(), new ColumnMap(primary, indexName), indexName, rIndex.getRecordFactory(), rIndex) ;
                if ( true )
                {
                    System.out.println("---- Tuple contents") ;
                    Iterator<Tuple<NodeId>> iter2 = tupleIndex.all() ;
                    if ( ! iter2.hasNext() )
                        System.out.println("<<Empty>>") ;

                    for ( ; iter2.hasNext() ; )
                    {
View Full Code Here

Examples of com.mysema.query.sql.domain.QSurvey.all()

    @Test
    public void Path() throws ClassNotFoundException, IOException {
        QSurvey survey = QSurvey.survey;
        QSurvey survey2 = (QSurvey) serialize(survey);
        assertEquals(Arrays.asList(survey.all()), Arrays.asList(survey2.all()));
        assertEquals(survey.getMetadata(), survey2.getMetadata());
        assertEquals(survey.getMetadata(survey.id), survey2.getMetadata(survey.id));
    }

    @Test
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.ComplexExtension.all()

                    // TODO: what if the base type is anonymous?
                    // ordered props go in a sequence, unordered go in an all
                    if( c.isOrdered() ) {
                        compositor = ce.sequence();
                    } else {
                        compositor = ce.all();
                    }
                }
            }

            // iterate over the properties
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.ComplexType.all()

                if( compositor == null ) { // if there is no extension base, create a top level seq
                    // ordered props go in a sequence, unordered go in an all
                    if( c.isOrdered() ) {
                        compositor = ct.sequence();
                    } else {
                        compositor = ct.all();
                    }
                }

                // block writing the compositor because we might need to
                // write some out of order attributes to handle min/maxOccurs
View Full Code Here

Examples of com.tinkerpop.gremlin.driver.ResultSet.all()

        final ResultSet rsFive = client.submit("Thread.sleep(5000);'five'");
        final ResultSet rsZero = client.submit("'zero'");

        final CompletableFuture<List<Result>> futureFive = rsFive.all();
        final CompletableFuture<List<Result>> futureZero = rsZero.all();

        final long start = System.nanoTime();
        assertFalse(futureFive.isDone());
        assertEquals("zero", futureZero.get().get(0).getString());
View Full Code Here

Examples of io.vertx.ext.routematcher.RouteMatcher.all()

        RouteMatcher rm = RouteMatcher.routeMatcher();
        server.requestHandler(rm::accept);

        // regex pattern will be: "^base_path/.*"
        String pattern = "^" + jerseyHandler.getBaseUri().getPath() + ".*";
        rm.all(pattern, jerseyHandler);

        // Add any additional routes if handler is provided
        if (routeMatcherHandler != null) {
            routeMatcherHandler.handle(rm);
        }
View Full Code Here

Examples of javax.persistence.criteria.CriteriaBuilder.all()

    Join<Customer, Order> orderJoin = customerRoot.join( Customer_.orders );
    criteria.select( customerRoot );
    Subquery<Double> subCriteria = criteria.subquery( Double.class );
    Root<Order> subqueryOrderRoot = subCriteria.from( Order.class );
    subCriteria.select( builder.min( subqueryOrderRoot.get( Order_.totalPrice ) ) );
    criteria.where( builder.equal( orderJoin.get( "totalPrice" ), builder.all( subCriteria ) ) );
    em.createQuery( criteria ).getResultList();

    em.getTransaction().commit();
    em.close();
  }
View Full Code Here

Examples of net.sf.ehcache.search.Results.all()

        .addCriteria(getUidToDocumentCache().getSearchAttribute("CorrectionToInstant")
            .gt(versionCorrection.withLatestFixed(InstantExtractor.MAX_INSTANT.minusNanos(1)).getCorrectedTo().toString()))
        .execute();

    // Found a matching cached document
    if (results.size() == 1 && results.all().get(0).getValue() != null) {
      @SuppressWarnings("unchecked")
      D result = (D) results.all().get(0).getValue();

      // Debug: check result against underlying
      if (TEST_AGAINST_UNDERLYING) {
View Full Code Here

Examples of net.sf.kpex.DataBase.all()

  @Override
  public int exec(Prog p)
  {
    DataBase db = (DataBase) ((JavaObject) getArg(0)).toObject();
    Term X = getArg(1);
    Term R = db.all(X.getKey(), X);
    return putArg(2, R, p);
  }
}
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.