Package uk.org.ogsadai.client.toolkit.activities.management

Examples of uk.org.ogsadai.client.toolkit.activities.management.CreateDataSource


        serverProxy.setDefaultBaseServicesURL(serverBaseUrl);

        DataRequestExecutionResource drer = serverProxy
                .getDataRequestExecutionResource(drerId);

        CreateDataSource createDataSource = new CreateDataSource();
        DeliverToRequestStatus deliverToRequestStatus = new DeliverToRequestStatus();
        deliverToRequestStatus.connectInput(createDataSource.getResultOutput());

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

        drer.execute(createSourceWorkflow, RequestExecutionType.SYNCHRONOUS);

        ResourceID dataSourceID = createDataSource.nextResult();

        DataSourceResource dataSource = serverProxy
                .getDataSourceResource(dataSourceID);

        // String SPARQLquery = "PREFIX p: <http://dbpedia.org/property/> " +
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.client.toolkit.activities.management.CreateDataSource

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.