Examples of StageOutputDriver


Examples of com.asakusafw.runtime.stage.output.StageOutputDriver

    @SuppressWarnings("unchecked")
    @Override
    protected void setup(Context context) throws IOException, InterruptedException {
        String name = getOutputName();
        this.output = new StageOutputDriver(context);
        this.result = (Result<T>) output.getResultSink(name);
    }
View Full Code Here

Examples of com.asakusafw.runtime.stage.output.StageOutputDriver

        this.objects = createSlotObjects();
        String[] names = getOutputNames();
        if (objects.length != names.length) {
            throw new AssertionError("inconsistent slot object and output");
        }
        this.output = new StageOutputDriver(context);
        this.results = new Result[objects.length];
        for (int i = 0; i < objects.length; i++) {
            String name = names[i];
            if (name != null) {
                results[i] = output.getResultSink(name);
View Full Code Here

Examples of com.asakusafw.runtime.stage.output.StageOutputDriver

    private Result<Writable> result;

    @Override
    protected void setup(Context context) throws IOException, InterruptedException {
        String name = getOutputName();
        this.output = new StageOutputDriver(context);
        this.result = output.getResultSink(name);
    }
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.