Examples of connectInput()


Examples of eu.admire.dispel.graph.ExternalOutputNode.connectInput()

        ProcessingElementNode b = new ProcessingElementNode("eu.admire.B");
        ExternalOutputNode out = new ExternalOutputNode("transfer1", "epr=\"xyz\"");
        ExternalInputNode in = new ExternalInputNode("transfer1", "epr");
        ResultNode result = new ResultNode("result");
        a.connectOutput("out", 0, b.getInput("in", 0));
        out.connectInput(b.getOutput("out", 0));
        a.connectInput("in", 0, in.getOutput());
        result.connectInput(b.getOutput("xxx", 0));
        Graph graph = new Graph();
        graph.add(a);
        graph.add(b);
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

                expressions.add(expression);
            }
        }
        expressions.add(ListMarker.END);
        columnNames.add(ListMarker.END);
        project.connectInput("expressions", 0, expressions.getOutput());
        project.connectInput("columnNames", 0, columnNames.getOutput());
        composite.add(expressions);
        composite.add(columnNames);
        composite.add(project);
        return project;
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

            }
        }
        expressions.add(ListMarker.END);
        columnNames.add(ListMarker.END);
        project.connectInput("expressions", 0, expressions.getOutput());
        project.connectInput("columnNames", 0, columnNames.getOutput());
        composite.add(expressions);
        composite.add(columnNames);
        composite.add(project);
        return project;
    }
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

        expressions.add(expression);
        expressions.add(ListMarker.END);
        resultNames.add(ListMarker.BEGIN);
        resultNames.add(sourceOutput.getName());
        resultNames.add(ListMarker.END);
        project.connectInput("expressions", 0, expressions.getOutput());
        project.connectInput("resultColumnNames", 0, resultNames.getOutput());
        CompositeProcessingElement wrapper =
            new CompositeProcessingElement(
                    null,
                    composite);
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

        expressions.add(ListMarker.END);
        resultNames.add(ListMarker.BEGIN);
        resultNames.add(sourceOutput.getName());
        resultNames.add(ListMarker.END);
        project.connectInput("expressions", 0, expressions.getOutput());
        project.connectInput("resultColumnNames", 0, resultNames.getOutput());
        CompositeProcessingElement wrapper =
            new CompositeProcessingElement(
                    null,
                    composite);
        wrapper.setInput("input", 0, project.getInput("data", 0));
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

    public void testSimpleSequenceLiteral()
    {
        LiteralValuesNode literal = new LiteralValuesNode("x", "y", "<a href=\".\"/>", 1, 2);
        ProcessingElementNode a = new ProcessingElementNode("eu.admire.A");
        a.connectInput("in", 0, literal.getOutput());
        Graph graph = new Graph();
        graph.add(a);
        graph.add(literal);
//        System.out.println(GraphConverter.convertToDISPEL(graph));
    }
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

        LiteralValuesNode literal =
            new LiteralValuesNode(
                    ListMarker.BEGIN, "x", "y", ListMarker.END,
                    ListMarker.BEGIN, 1, 2, ListMarker.END);
        ProcessingElementNode a = new ProcessingElementNode("eu.admire.A");
        a.connectInput("in", 0, literal.getOutput());
        Graph graph = new Graph();
        graph.add(a);
        graph.add(literal);
//        System.out.println(GraphConverter.convertToDISPEL(graph));
    }
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

                    ListMarker.BEGIN,
                    ListMarker.BEGIN, 0, 1, 2.3, ListMarker.END,
                    ListMarker.END
                    );
        ProcessingElementNode a = new ProcessingElementNode("eu.admire.A");
        a.connectInput("in", 0, literal.getOutput());
        Graph graph = new Graph();
        graph.add(a);
        graph.add(literal);
//        System.out.println(GraphConverter.convertToDISPEL(graph));
    }
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

                ListMarker.BEGIN,
                new Repeater(null, Arrays.asList(ListMarker.BEGIN, "X", "Y", 2, ListMarker.END)),
                ListMarker.END);
        graph.add(nodeC);
        nodeA.connectInput("in1", 0, nodeB.getOutput());
        nodeA.connectInput("in2", 0, nodeC.getOutput());
        String dot = DotGenerator.generate(graph);
//        writeFile(dot);
        System.out.println(dot);
    }
View Full Code Here

Examples of eu.admire.dispel.graph.ProcessingElementNode.connectInput()

        insert.setDispelOptimiser(new SimpleDispelOptimiser());
        RequestContext context = new MockRequestContext();
        Graph graph = new Graph();
        ProcessingElementNode a = new ProcessingElementNode("eu.admire.A");
        ProcessingElementNode b = new ProcessingElementNode("B");
        b.connectInput("in", 0, a.getOutput("out", 0));
        ProcessingElementNode c = new ProcessingElementNode("eu.admire.C");
        c.connectInput("in", 0, b.getOutput("out", 0));
        graph.add(a);
        graph.add(b);
        graph.add(c);
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.