Examples of Root


Examples of ek.dmis.towdelay.Root

                    return true;
                } else {
                    return false;
                }
            } else if (_flightXml.contains("root")) {
                Root towDelay = (Root) _um.unmarshal(new StreamSource(new StringReader(_flightXml)));
                if (readEvent(towDelay)) {
                    LOG.debug("TowDelay {}", towDelay.getFLIGHTNUMBER());
                    return true;
                } else {
                    return false;
                }
View Full Code Here

Examples of es.java.otro.model.Root

      }
    });
  }
 
  protected Object getInitialInput() {
    Root root = Root.getInstance();
    root.setName("Feeds");
    return root;
  }
View Full Code Here

Examples of javax.persistence.criteria.Root

    try {
      CriteriaBuilder cb = em.getCriteriaBuilder();
      CriteriaQuery<Tuple> cq = cb.createTupleQuery();

      Root root = cq.from(config.getEntityClass());
      Type idType = root.getModel().getIdType();
      SingularAttribute idAttr = root.getModel().getId(
          idType.getJavaType());

      cq.multiselect(root.get(idAttr));
      List<Tuple> tuples = em.createQuery(cq).getResultList();

      Set<Object> keys = new HashSet<Object>();
      for (Tuple t : tuples) {
        Object id = t.get(0);
View Full Code Here

Examples of javax.persistence.criteria.Root

  private boolean hasImplicitSelection() {
    if ( getRoots().size() != 1 ) {
      return false;
    }

    Root root = getRoots().iterator().next();
        Class<?> javaType = root.getModel().getJavaType();
        if ( javaType != null && javaType != returnType ) {
      return false;
    }

    // if we get here, the query defined no selection but defined a single root of the same type as the
View Full Code Here

Examples of javax.persistence.criteria.Root

  private boolean hasImplicitSelection() {
    if ( getRoots().size() != 1 ) {
      return false;
    }

    Root root = getRoots().iterator().next();
    if ( root.getModel().getJavaType() != returnType ) {
      return false;
    }

    // if we get here, the query defined no selection but defined a single root of the same type as the
    // criteria query return, so we use that as the implicit selection
View Full Code Here

Examples of javax.persistence.criteria.Root

  private boolean hasImplicitSelection() {
    if ( getRoots().size() != 1 ) {
      return false;
    }

    Root root = getRoots().iterator().next();
    if ( root.getModel().getJavaType() != returnType ) {
      return false;
    }

    // if we get here, the query defined no selection but defined a single root of the same type as the
    // criteria query return, so we use that as the implicit selection
View Full Code Here

Examples of lupos.engine.operators.index.Root

   * Static method to call the cost-based optimizer for the QueryClient query evaluator
   * @param indexScan the IndexScan operator with at least two triple patterns to join....
   * @return the root operator under which the subgraph with the reordered joins are inserted
   */
  public static Root rearrangeJoinOrder(final BasicIndexScan indexScan){
    final Root newRoot = indexScan.getRoot().newInstance(indexScan.getRoot().dataset);
    final QueryClientCostBasedOptimizer optimizer = new QueryClientCostBasedOptimizer();
    optimizer.rearrangeJoinOrder(newRoot, indexScan);
    return newRoot;
  }
View Full Code Here

Examples of net.jmesnil.jmx.core.tree.Root

    }
    if( parent instanceof IConnectionWrapper && ((IConnectionWrapper)parent).isConnected()) {
      return loadAndGetRootChildren(parent);
    }
        if (parent instanceof Root) {
            Root root = (Root) parent;
            return root.getChildren();
        }
        if (parent instanceof DomainNode) {
            DomainNode node = (DomainNode) parent;
            return node.getChildren();
        }
View Full Code Here

Examples of org.apache.fop.fo.pagination.Root

    private void testGetNextPage(final Page[] providedPages, Page expectedPage, boolean isBlank) {

        final Flow flow = mock(Flow.class);
        final PageSequence pseq = mock(PageSequence.class);
        final Root root = mock(Root.class);
        final AreaTreeHandler ath = mock(AreaTreeHandler.class);

        when(flow.getFlowName()).thenReturn(MAIN_FLOW_NAME);
        when(pseq.getMainFlow()).thenReturn(flow);
        when(pseq.getRoot()).thenReturn(root);
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot.Root

      }
      b.build().writeDelimitedTo(out);
      int i = 0;
      for(INodeDirectorySnapshottable sdir : snapshottables) {
        for(Snapshot s : sdir.getSnapshotsByNames()) {
          Root sroot = s.getRoot();
          SnapshotSection.Snapshot.Builder sb = SnapshotSection.Snapshot
              .newBuilder().setSnapshotId(s.getId());
          INodeSection.INodeDirectory.Builder db = buildINodeDirectory(sroot,
              parent.getSaverContext());
          INodeSection.INode r = INodeSection.INode.newBuilder()
              .setId(sroot.getId())
              .setType(INodeSection.INode.Type.DIRECTORY)
              .setName(ByteString.copyFrom(sroot.getLocalNameBytes()))
              .setDirectory(db).build();
          sb.setRoot(r).build().writeDelimitedTo(out);
          i++;
          if (i % FSImageFormatProtobuf.Saver.CHECK_CANCEL_INTERVAL == 0) {
            context.checkCancelled();
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.