Examples of addOutput()


Examples of org.apache.pig.impl.logicalLayer.LOSplit.addOutput()

                        idGen.getNextNodeId(scope)), Boolean.valueOf(true));
                cnst.setType(DataType.BOOLEAN);
                condPlan.add(cnst);
                LOSplitOutput splitOutput = new LOSplitOutput(mPlan,
                        new OperatorKey(scope, idGen.getNextNodeId(scope)), ++index, condPlan);
                splitOp.addOutput(splitOutput);
                mPlan.add(splitOutput);
                mPlan.insertBetween(splitOp, splitOutput, succ);
                splitOutput.setAlias(splitOp.getAlias());
            }
           
View Full Code Here

Examples of org.apache.pig.impl.logicalLayer.LOSplit.addOutput()

                        idGen.getNextNodeId(scope)), new Boolean(true));
                cnst.setType(DataType.BOOLEAN);
                condPlan.add(cnst);
                LOSplitOutput splitOutput = new LOSplitOutput(mPlan,
                        new OperatorKey(scope, idGen.getNextNodeId(scope)), ++index, condPlan);
                splitOp.addOutput(splitOutput);
                mPlan.add(splitOutput);
                mPlan.insertBetween(splitOp, splitOutput, succ);
                splitOutput.setAlias(splitOp.getAlias());
            }
           
View Full Code Here

Examples of org.apache.tez.dag.api.Vertex.addOutput()

    }


    // final vertices need to have at least one output
    if (!hasChildren) {
      v.addOutput("out_"+work.getName(),
          new OutputDescriptor(MROutput.class.getName())
          .setUserPayload(MRHelpers.createUserPayloadFromConf(conf)));
    }

    return v;
View Full Code Here

Examples of org.apache.tez.dag.api.VertexGroup.addOutput()

    Configuration allPartsConf = new Configuration(finalReduceConf);
    allPartsConf.set(FileOutputFormat.OUTDIR, outputPath+"-all-parts");
    byte[] allPartsPayload = MRHelpers.createUserPayloadFromConf(allPartsConf);
    OutputDescriptor od2 = new OutputDescriptor(MROutput.class.getName())
      .setUserPayload(allPartsPayload);
    unionVertex.addOutput("parts", od1, MROutputCommitter.class);
    checkerVertex.addOutput("all-parts", od2, MROutputCommitter.class);
   
   
    dag.addVertex(mapVertex1)
        .addVertex(mapVertex2)
View Full Code Here

Examples of org.apache.uima.simpleserver.config.TypeMap.addOutput()

        // parse output feature featurePath
        List<String> featurePath = parseFeaturePath(outputTypes[i].getFeaturePath());
        Output output = ConfigFactory.newOutput(featurePath, outputTypes[i].getOutputAttribute(),
            outputTypes[i].getShortDescription(), outputTypes[i].getLongDescription());
        // add output feature to the typeMap
        typeMap.addOutput(output);
      }
    }
    return typeMap;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CallableElement.addOutput()

    for (CamundaOut output : outputs) {

      // create new parameter
      CallableElementParameter parameter = new CallableElementParameter();
      callableElement.addOutput(parameter);

      // all variables
      String variables = output.getCamundaVariables();
      if ("all".equals(variables)) {
        parameter.setAllVariables(true);
View Full Code Here

Examples of org.freerealm.property.ProduceResource.addOutput()

                    if (subNode.getNodeName().equals("Resource")) {
                        int id = Integer.parseInt(subNode.getAttributes().getNamedItem("id").getFirstChild().getNodeValue());
                        int amount = Integer.parseInt(subNode.getAttributes().getNamedItem("quantity").getFirstChild().getNodeValue());
                        int max = Integer.parseInt(subNode.getAttributes().getNamedItem("max").getFirstChild().getNodeValue());
                        Resource resource = realm.getResourceManager().getResource(id);
                        produceResource.addOutput(resource, amount, max);
                    }
                }
            }
        }
        return produceResource;
View Full Code Here

Examples of org.ggp.base.util.propnet.architecture.Component.addOutput()

        //Disconnect
        output.removeInput(tempComp);
        //tempComp.removeOutput(output); //do at end
        //Connect
        output.addInput(realComp);
        realComp.addOutput(output);
      }
      tempComp.removeAllOutputs();

      if(temporaryNegations.containsKey(sentence)) {
        //Should be pointing to a "not" that now gets input from realComp
View Full Code Here

Examples of org.ggp.base.util.propnet.architecture.components.And.addOutput()

      and.removeInput(in);
      in.addOutput(output);
      output.addInput(in);
      return;
    }
    and.addOutput(output);
    output.addInput(and);
  }

  /**
   * Represents the "type" of a node with respect to which truth
View Full Code Here

Examples of org.ggp.base.util.propnet.architecture.components.Constant.addOutput()

              if(type == Type.TRUE ^ (c instanceof Not)) {
                  c.addInput(trueConst);
                  trueConst.addOutput(c);
              } else {
                    c.addInput(falseConst);
                    falseConst.addOutput(c);
              }
          }
      }

      optimizeAwayTrueAndFalse(pn, trueConst, falseConst);
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.