Package org.apache.ivory.oozie.coordinator

Examples of org.apache.ivory.oozie.coordinator.DATAOUT


           
            for (Output output : process.getOutputs().getOutputs()) {
                SYNCDATASET syncdataset = createDataSet(output.getFeed(), cluster, output.getName(),LocationType.DATA);
                coord.getDatasets().getDatasetOrAsyncDataset().add(syncdataset);

                DATAOUT dataout = createDataOut(output);
                coord.getOutputEvents().getDataOut().add(dataout);

                String outputExpr = "${coord:dataOut('" + output.getName() + "')}";
                props.put(output.getName(), outputExpr);
                outputFeeds.add(output.getName());
View Full Code Here


        return coord;
    }

    private DATAOUT createDataOut(Output output) {
        DATAOUT dataout = new DATAOUT();
        dataout.setName(output.getName());
        dataout.setDataset(output.getName());
        dataout.setInstance(getELExpression(output.getInstance()));
        return dataout;
    }
View Full Code Here

      Map<String, String> props, String instance)
      throws IvoryException {
    SYNCDATASET dataset = createDataSet(feed, cluster,name+type,
        locType);
    coord.getDatasets().getDatasetOrAsyncDataset().add(dataset);
    DATAOUT dataout = new DATAOUT();
        if (coord.getOutputEvents() == null)
            coord.setOutputEvents(new OUTPUTEVENTS());
    dataout.setName(name+type);
    dataout.setDataset(name+type);
    dataout.setInstance(getELExpression(instance));
    coord.getOutputEvents().getDataOut().add(dataout);
        String outputExpr = "${coord:dataOut('" + name+type+ "')}";
        props.put(name+"."+type, outputExpr);
  }
View Full Code Here

TOP

Related Classes of org.apache.ivory.oozie.coordinator.DATAOUT

Copyright © 2018 www.massapicom. 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.