Examples of root()


Examples of net.hydromatic.optiq.jdbc.OptiqSchema.root()

    // not here?
    try {
      final OptiqSchema schema = materialization.materializedTable.schema;
      OptiqCatalogReader catalogReader =
          new OptiqCatalogReader(
              schema.root(),
              context.config().caseSensitive(),
              Util.skipLast(materialization.materializedTable.path()),
              context.getTypeFactory());
      final OptiqMaterializer materializer =
          new OptiqMaterializer(context, catalogReader, schema, planner);
View Full Code Here

Examples of org.apache.commons.jrcs.rcs.Node.root()

    private History parseFile(File file) throws IOException {
        try {
            Archive archive = new Archive(getRCSFile(file).getPath());
            Version ver = archive.getRevisionVersion();
            Node n = archive.findNode(ver);
            n = n.root();

            ArrayList<HistoryEntry> entries = new ArrayList<HistoryEntry>();
            traverse(n, entries);

            History history = new History();
View Full Code Here

Examples of org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.root()

   * @see TestHamlet for Hamlet syntax
   */
  @Test public void testGeneric() {
    PrintWriter out = spy(new PrintWriter(System.out));
    HamletImpl hi = new HamletImpl(out, 0, false);
    hi.
      root("start")._attr("name", "value").
        _("start text").
        elem("sub")._attr("name", "value").
          _("sub text")._().
        elem("sub1")._noEndTag()._attr("boolean", null).
View Full Code Here

Examples of org.bladerunnerjs.model.App.root()

    catch (TemplateInstallationException | IOException ex)
    {
      throw new CommandOperationException(ex);
    }
   
    String relativeWebInf = RelativePathUtility.get(brjs.getFileInfoAccessor(), app.root().dir(), app.file("WEB-INF"));
    logger.println(Messages.SUCCESSFULLY_J2EEIFIED_APP_MESSAGE, appName, relativeWebInf);
   
    return 0;
  }
}
View Full Code Here

Examples of org.bladerunnerjs.model.App.root()

  }
 
  public static ResponseContent handle(BundleSet bundleSet, String logicalRequestpath, UrlContentAccessor contentAccessor, String version) throws MalformedRequestException, ResourceNotFoundException, ContentProcessingException {
    BundlableNode bundlableNode = bundleSet.getBundlableNode();
    App app = bundlableNode.app();
    Logger logger = app.root().logger(BundleSetRequestHandler.class);
   
    logger.debug(Messages.REQUEST_HANDLED_MSG, logicalRequestpath, app.getName());
   
    String name = (bundlableNode instanceof NamedNode) ? ((NamedNode) bundlableNode).getName() : "default";
    logger.debug(Messages.CONTEXT_IDENTIFIED_MSG, bundlableNode.getTypeName(), name, logicalRequestpath);
View Full Code Here

Examples of org.bladerunnerjs.model.App.root()

    logger.debug(Messages.REQUEST_HANDLED_MSG, logicalRequestpath, app.getName());
   
    String name = (bundlableNode instanceof NamedNode) ? ((NamedNode) bundlableNode).getName() : "default";
    logger.debug(Messages.CONTEXT_IDENTIFIED_MSG, bundlableNode.getTypeName(), name, logicalRequestpath);
   
    ContentPlugin contentProvider = app.root().plugins().contentPluginForLogicalPath(logicalRequestpath);
   
    if(contentProvider == null) {
      throw new ResourceNotFoundException("No content provider could be found found the logical request path '" + logicalRequestpath + "'");
    }
   
View Full Code Here

Examples of org.bladerunnerjs.model.AssetContainer.root()

      assetLocation = assetContainer.assetLocation(".");
    }
    String targetPath = null;
   
    File assetLocationParentDir = assetLocation.dir().getParentFile();
    BRJS root = assetContainer.root();
    try {
      if(assetContainer instanceof Aspect) {
        Aspect aspect = (Aspect) assetContainer;
        if (assetLocation instanceof ThemedAssetLocation && assetLocationParentDir.getName().equals("themes")) {
          ThemedAssetLocation theme = (ThemedAssetLocation) assetLocation;
View Full Code Here

Examples of org.crsh.vfs.spi.ram.RAMDriver.root()

  }

  public void testRAM() throws Exception {
    RAMDriver driver = new RAMDriver();
    driver.add("/foo", "bar");
    Path root = driver.root();
    assertEquals(Path.get("/"), root);
    Path foo = driver.child(root, "foo");
    assertNotNull(foo);
    Iterator<InputStream> in = driver.open(foo);
    assertTrue(in.hasNext());
View Full Code Here

Examples of org.crsh.vfs.spi.url.URLDriver.root()

    exporter.exportTo(file, true);

    //
    URLDriver driver = new URLDriver();
    driver.merge(file.toURI().toURL());
    Node root = driver.root();
    assertEquals("", driver.name(root));
    assertTrue(driver.isDir(root));

    //
    Iterator<Node> rootChildren = driver.children(root).iterator();
View Full Code Here

Examples of org.dbwiki.data.schema.DatabaseSchema.root()

        String path = null;
        if (!properties.getSchemaPath().equals("")) {
          path = properties.getSchemaPath();
          databaseSchema = databaseSchema.getSubSchema(path);
        } else {
          path = databaseSchema.root().path();
        }
       
        URL resourceURL = null;
        if (!properties.getResource().equals("")) {
          resourceURL = new URL(properties.getResource());
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.