Package uk.org.ogsadai.data

Examples of uk.org.ogsadai.data.StringData


     */
    public RDFActivity(String SPARQLquery)
    {
        super(DEFAULT_ACTIVITY_NAME);
        query = new SimpleActivityInput("expression");
        query.add(new StringData(SPARQLquery));
        mOutput = new SimpleActivityOutput("rdfdata");
        this.setResourceID("RDFResource");
    }
View Full Code Here


     *             if there is an error reading from a data source.
     */
    public StringData nextOutput() throws DataStreamErrorException,
            UnexpectedDataValueException, DataSourceUsageException
    {
        return new StringData((String) mOutput.getDataValueIterator()
                .nextAsString());
    }
View Full Code Here

     * @param name
     *            Name to add to the input.
     */
    public void addInput(String name)
    {
        query.add(new StringData(name));
    }
View Full Code Here

     */
    public QueryEPR(String SPARQLquery)
    {
        super(DEFAULT_ACTIVITY_NAME);
        mQuery = new SimpleActivityInput("expression");
        mQuery.add(new StringData(SPARQLquery));
        mOutput = new SimpleActivityOutput("rdfdata");
        this.setResourceID("RDFResource");
    }
View Full Code Here

     *             if there is an error reading from a data source.
     */
    public StringData nextOutput() throws DataStreamErrorException,
            UnexpectedDataValueException, DataSourceUsageException
    {
        return new StringData(mOutput.getDataValueIterator().nextAsString());
    }
View Full Code Here

     * @param name
     *            Name to add to the input.
     */
    public void addInput(String name)
    {
        mQuery.add(new StringData(name));
    }
View Full Code Here

     */
    public QueryRDFDB(String SPARQLquery)
    {
        super(DEFAULT_ACTIVITY_NAME);
        mQuery = new SimpleActivityInput("expression");
        mQuery.add(new StringData(SPARQLquery));
        mOutput = new SimpleActivityOutput("rdfdata");
        this.setResourceID("testresourcesdb");
    }
View Full Code Here

     *             if there is an error reading from a data source.
     */
    public StringData nextOutput() throws DataStreamErrorException,
            UnexpectedDataValueException, DataSourceUsageException
    {
        return new StringData(mOutput.getDataValueIterator().nextAsString());
    }
View Full Code Here

     * @param name
     *            Name to add to the input.
     */
    public void addInput(String name)
    {
        mQuery.add(new StringData(name));
    }
View Full Code Here

    public void addAggregates(String[] aggregates)
    {
        mGroupByColumnsInput.add(ListBegin.VALUE);
        for (int i = 0; i < aggregates.length; i++)
        {
            mGroupByColumnsInput.add(new StringData(aggregates[i]));
        }
        mGroupByColumnsInput.add(ListEnd.VALUE);
    }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.data.StringData

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.