Examples of Tap


Examples of cascading.tap.Tap

    @SuppressWarnings({ "rawtypes", "unchecked" })
    private static void processCrawlDb(BixoPlatform platform, BasePath latestCrawlDirPath, boolean exportDb) throws Exception {
        TupleEntryIterator iter;
        int totalEntries;
        BasePath crawlDbPath = platform.makePath(latestCrawlDirPath, CrawlConfig.CRAWLDB_SUBDIR_NAME);
        Tap crawldbTap = platform.makeTap(platform.makeBinaryScheme(CrawlDbDatum.FIELDS), crawlDbPath);
        iter = crawldbTap.openForRead(platform.makeFlowProcess());
        totalEntries = 0;
        int fetchedUrls = 0;
        int unfetchedUrls = 0;
        LOGGER.info("Analyzing: " +  CrawlConfig.CRAWLDB_SUBDIR_NAME);
View Full Code Here

Examples of com.vst.model.Tap

                            "<li>Толщина:  " + o.getThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < tapList.size(); i++) {
                    Tap o = (Tap) tapList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=tap\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:  " + o.getDiametr() +
                            "<li>Толщина:  " + o.getThickness() +
                            "<li>Материал: " + o.getMaterial() +
                            "<li>Угол:     " + o.getCorner() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < transitionList.size(); i++) {
                    Transition o = (Transition) transitionList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=transition\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Первый диаметр:  " + o.getFirstDiametr() +
                            "<li>Первая толщина:  " + o.getFirstThickness() +
                            "<li>Второй длиаметр:  " + o.getSecondDiametr() +
                            "<li>Вторая толщина:  " + o.getSecondThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < teeList.size(); i++) {
                    Tee o = (Tee) teeList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=tee\"><ul>" +
                             "<li>" + o.getGost().getGostName() +
                            "<li>Первый диаметр:  " + o.getFirstDiametr() +
                            "<li>Первая толщина:  " + o.getFirstThickness() +
                            "<li>Второй длиаметр:  " + o.getSecondDiametr() +
                            "<li>Вторая толщина:  " + o.getSecondThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < zaglushkaList.size(); i++) {
                    Zaglushka o = (Zaglushka) zaglushkaList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=zaglushka\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:  " + o.getDiametr() +
                            "<li>Толщина:  " + o.getThickness() +
                            "<li>Материал: " + o.getMaterial() + "</ul></a></td></tr>";
                }

                for (int i = 0; i < flangeList.size(); i++) {
                    Flange o = (Flange) flangeList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=flange\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:  " + o.getDiametr() +
                            "<li>Толщина:  " + o.getThickness() +
                            "<li>Материал: " + o.getMaterial() +
                            "<li>Давление: " + o.getPressure() + "</ul></td></tr>";
                }

                for (int i = 0; i < armatureList.size(); i++) {
                    Armature o = (Armature) armatureList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=armature\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Название:   " + o.getName() +
                            "<li>Диаметр:    " + o.getDiametr() +
                            "<li>Материал:   " + o.getMaterial() +
                            "<li>Маркировка: " + o.getMarks() +
                            "<li>Давление:   " + o.getPressure() + "</ul</a></td></tr>";
                }

                for (int i = 0; i < oborList.size(); i++) {
                    Oborudovanie o = (Oborudovanie) oborList.get(i);
                    result += "<tr><td>" + o.getDetailTypes().getTypeName() + "</td><td><a href=\"" + httpServletRequest.getRequestURL().toString().replaceAll("/lookDiameter.html", "") + "/lookDetail.html?type=oborudovanie\"><ul>" +
                            "<li>" + o.getGost().getGostName() +
                            "<li>Диаметр:   " + o.getDiametr() +
                            "<li>Название:  " + o.getName() +
                            "<li>Стоимость:   " + o.getExpenses() +
                            "<li>Давление:  " + o.getPressure() + "</ul></a></td></tr>";
                }

                result += "</table>";
            } else {
                diameterManager.delete(diameter);
View Full Code Here

Examples of org.springframework.xd.test.fixtures.Tap

   *
   * @param streamName The name of stream to tap
   * @return Tap fixture
   */
  public Tap tap(String streamName) {
    return new Tap(streamName);
  }
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.