Package uk.org.ogsadai.client.toolkit

Examples of uk.org.ogsadai.client.toolkit.DataRequestExecutionResource.execute()


        // Excecute the workflow
        RequestResource req = null;
        try
        {
            req = drer.execute(pipeline, RequestExecutionType.SYNCHRONOUS);
        }
        catch (RequestExecutionException e)
        {
            System.out.println("There was an error executing the workflow");
            System.out.println(e.getRequestResource().getRequestStatus());
View Full Code Here


        PipelineWorkflow createSourceWorkflow = new PipelineWorkflow();
        createSourceWorkflow.add(createDataSource);
        createSourceWorkflow.add(deliverToRequestStatus);

        drer.execute(createSourceWorkflow, RequestExecutionType.SYNCHRONOUS);

        ResourceID dataSourceID = createDataSource.nextResult();

        DataSourceResource dataSource = serverProxy
                .getDataSourceResource(dataSourceID);
View Full Code Here

        PipelineWorkflow pipeline = new PipelineWorkflow();
        pipeline.add(rdfActivity);
        pipeline.add(tupleToWebRowSet);
        pipeline.add(writeToDataSource);

        RequestResource requestResource = drer.execute(pipeline,
                RequestExecutionType.ASYNCHRONOUS);
        requestResource.pollUntilRequestStarted(1000);

        // Get the data
        TupleToWebRowSetCharArrays tupleToWebRowSet2 = new TupleToWebRowSetCharArrays();
View Full Code Here

        // Excecute the workflow
        RequestResource req = null;
        try
        {
            req = drer.execute(pipeline, RequestExecutionType.SYNCHRONOUS);
        }
        catch (RequestExecutionException e)
        {
            System.out.println("There was an error executing the workflow");
            System.out.println(e.getRequestResource().getRequestStatus());
View Full Code Here

        mListener.start(mLocation, mWorkflow);
        RequestResource request = null;
        try
        {
            DataRequestExecutionResource drer = mLocation.getDRER();
            request = drer.execute(mWorkflow, RequestExecutionType.ASYNCHRONOUS);
            mListener.submitted(mLocation, mWorkflow, request.getResourceID());
            request.pollUntilRequestCompleted(POLL_INTERVAL);
            RequestStatus status = request.getRequestStatus();
            mListener.completed(mLocation, status);
            return status;
View Full Code Here

           
            tupleToWebRowSet.getResultOutput().setDataSourceResource(dataSource);
           
            // send it to the server
            mRequestResource =
                drer.execute(pipeline, RequestExecutionType.ASYNCHRONOUS);
            mRequestResource.pollUntilRequestStarted(1000);
   
            while(keepRunning)
            {
                while(tupleToWebRowSet.hasNextResult())
View Full Code Here

           
            tupleToWebRowSet.getResultOutput().setDataSourceResource(dataSource);
           
            // send it to the server
            RequestResource request =
                drer.execute(pipeline, RequestExecutionType.ASYNCHRONOUS);
            request.pollUntilRequestStarted(1000);

            // Get the result data and display it
            int count = 0;
            while(tupleToWebRowSet.hasNextResult())
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.