Examples of SType


Examples of eu.admire.dispel.types.SType

        "resource", true);
    peInDescr1.setArray(false);
    TupleSType sTypeIn1 = new TupleSType();
    sTypeIn1.addElement("a", new PrimitiveSType("primitiveSTypeDummyTestA"));
    sTypeIn1.addElement("b", new PrimitiveSType("primitiveSTypeDummyTestB"));
    SType sTypeIn2 = new PrimitiveSType("locator");
    peInDescr1.setSType(sTypeIn2);
    peInDescr2.setSType(sTypeIn1);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
    "data");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
//    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
//    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
View Full Code Here

Examples of eu.admire.dispel.types.SType

        "resource", true);
    peInDescr1.setArray(false);
    TupleSType tupleList1 = new TupleSType();
    tupleList1.addElement("a", new PrimitiveSType("primitiveTupleListST"));
    ListSType sTypeIn1 = new ListSType(tupleList1);
    SType sTypeIn2 = new PrimitiveSType("locator");
    peInDescr1.setSType(sTypeIn2);
    peInDescr2.setSType(sTypeIn1);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "data");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    // SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    // DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    ProcessingElementInputDescriptor peInDescr1 = new ProcessingElementInputDescriptor(
        "resource", true);
    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "data");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("String");
    peInDescr1.setSType(sTypeIn1);
    peInDescr2.setSType(new AnySType());

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "result");
    ProcessingElementOutputDescriptor peInDescr3 = new ProcessingElementOutputDescriptor(
        "result4");
    TupleSType tuple = new TupleSType();
    tuple.addElement("s", new PrimitiveSType("String"));
    SType sTypeIn3 = new ArraySType(tuple, 5);
    peInDescr3.setSType(sTypeIn3);
    outputs.add(peInDescr3);
    SType sTypeIn2 = new PrimitiveSType("String");
    peOutDescr1.setSType(sTypeIn2);
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "result2");
    ProcessingElementOutputDescriptor peOutDescr3 = new ProcessingElementOutputDescriptor(
        "result3");
    TupleSType tuple2 = new TupleSType();
    tuple2.addElement("s2", new PrimitiveSType("String"));
    SType sTypeIn4 = new ListSType(tuple2);
    peOutDescr3.setSType(sTypeIn4);
    peOutDescr1.setSType(sTypeIn2);
    outputs.add(peOutDescr1);
    outputs.add(peOutDescr2);
    outputs.add(peOutDescr3);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    ProcessingElementInputDescriptor peInDescr1 = new ProcessingElementInputDescriptor(
        "dummyInput");
    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "dummyInput2");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("DummyInputST1");
    SType sTypeIn2 = new PrimitiveSType("DummyInputST2");
    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn2);
    peInDescr2.setDType(dtypeIn2);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "dummyOutput");
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "dummyOutput2");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
//    peOutDescr2.setSType(sTypeOut2);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    TupleSType st1 = new TupleSType();
    TupleSType st2 = new TupleSType();
    st2.addElement("aa", new PrimitiveSType("aaStype"));
    st1.addElement("a", st2);
//    SType sTypeIn1 = new PrimitiveSType("DummyInputST1");
    SType sTypeIn2 = new PrimitiveSType("locator");
//    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
//    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn2);
//    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(st1);
//    peInDescr2.setDType(dtypeIn2);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "data");
//    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
//        "dummyOutput2");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
//    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
//    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
//    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
//    peOutDescr1.setSType(sTypeOut1);
//    peOutDescr1.setDType(dtypeOut1);
View Full Code Here

Examples of eu.admire.dispel.types.SType

        "input", true);

    peInDescr1.setArray(false);

    // Inserting input sType Primitive SType (String)
    SType sTypeIn1 = new PrimitiveSType("String");
    peInDescr1.setSType(new AnySType());

    TupleSType tuple1 = new TupleSType();
    tuple1.setRest(true);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    TupleSType sTypeIn1 = new TupleSType();
    sTypeIn1
        .addElement("a", new PrimitiveSType("primitiveSTypeDummyTestA"));
    sTypeIn1
        .addElement("b", new PrimitiveSType("primitiveSTypeDummyTestB"));
    SType sTypeIn2 = new PrimitiveSType("locator");
    peInDescr1.setSType(sTypeIn2);
    peInDescr2.setSType(sTypeIn1);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "data");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    // SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    // DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    ProcessingElementInputDescriptor peInDescr1 = new ProcessingElementInputDescriptor(
        "dummyInput");
    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "dummyInput2");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("DummyInputST1");
    SType sTypeIn2 = new PrimitiveSType("DummyInputST2");
    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn2);
    peInDescr2.setDType(dtypeIn2);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "dummyOutput");
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "dummyOutput2");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
    // peOutDescr2.setSType(sTypeOut2);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    ProcessingElementInputDescriptor peInDescr7 = new ProcessingElementInputDescriptor(
        "resource7");
    peInDescr1.setArray(false);

    // Inserting input sType Primitive SType (String)
    SType sTypeIn1 = new PrimitiveSType("String");
    peInDescr1.setSType(sTypeIn1);

    // Inserting input sType any
    peInDescr2.setSType(new AnySType());

    // Inserting input sType Array of Tuples with two Primitive STypes and
    // rest
    TupleSType tuple1 = new TupleSType();
    tuple1.addElement("s", new PrimitiveSType("String"));
    tuple1.addElement("d", new PrimitiveSType("Double"));
    tuple1.setRest(true);
    SType sTypeIn3 = new ArraySType(tuple1, 5);
    peInDescr3.setSType(sTypeIn3);

    // Inserting input array SType of primitive SType
    SType sTypeIn5 = new ArraySType(new PrimitiveSType("Integer"), 7);
    peInDescr5.setSType(sTypeIn5);

    // Inserting input list SType of primitive SType
    SType sTypeIn6 = new ListSType(new PrimitiveSType("Integer"));
    peInDescr6.setSType(sTypeIn6);

    // Inserting input sType tuple with one Primitive SType and rest
    TupleSType tuple2 = new TupleSType();
    tuple2.addElement("s3", new PrimitiveSType("Integer"));
    tuple2.setRest(true);
    peInDescr4.setSType(tuple2);

    DType dtype1 = new SimpleDType("ColumnIndex",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        "dm");
    peInDescr1.setDType(dtype1);
   
    DType dtype2 = new SimpleDType("ColumnIndex2",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peInDescr2.setDType(dtype2);
   
    DType dtype3 = new SimpleDType("ColumnIndex2",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peInDescr3.setDType(dtype3);

    TupleSType tuple7 = new TupleSType();
    tuple7.setRest(true);
    peInDescr7.setSType(tuple7);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);
    inputs.add(peInDescr3);
    inputs.add(peInDescr4);
    inputs.add(peInDescr5);
    inputs.add(peInDescr6);
    inputs.add(peInDescr7);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "result");

    SType sTypeIn2 = new PrimitiveSType("String");
    peOutDescr1.setSType(sTypeIn2);
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "result2");
    ProcessingElementOutputDescriptor peOutDescr3 = new ProcessingElementOutputDescriptor(
        "result3");
    ProcessingElementOutputDescriptor peOutDescr4 = new ProcessingElementOutputDescriptor(
        "result4");
    ProcessingElementOutputDescriptor peOutDescr5 = new ProcessingElementOutputDescriptor(
        "result5");
    ProcessingElementOutputDescriptor peOutDescr6 = new ProcessingElementOutputDescriptor(
        "result6");
    ProcessingElementOutputDescriptor peOutDescr7 = new ProcessingElementOutputDescriptor(
        "result7");

    DType dtype4 = new SimpleDType("ColumnIndex4",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peOutDescr3.setDType(dtype4);
   
    // inserting output array SType of primitive SType
    peOutDescr6.setSType(sTypeIn5);

    // inserting output list SType of primitive SType
    peOutDescr7.setSType(sTypeIn6);

    TupleSType tuple3 = new TupleSType();
    // tuple3.addElement("s2", new PrimitiveSType("String"));
    // tuple3.addElement("i2", new PrimitiveSType("Integer"));
    tuple3.setRest(true);

    // inserting output list of tuples
    SType sTypeIn4 = new ListSType(tuple3);
    peOutDescr4.setSType(sTypeIn4);

    // inserting output tuple
    peOutDescr3.setSType(tuple3);
View Full Code Here

Examples of eu.admire.dispel.types.SType

    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "resource", true);
    peInDescr1.setArray(false);
    ListSType sTypeIn1 = new ListSType(new PrimitiveSType(
        "primitiveSTypeDummyTestA"));
    SType sTypeIn2 = new PrimitiveSType("locator");
    SType sTypeIn3 = new AnySType();
    peInDescr1.setSType(sTypeIn2);
    peInDescr2.setSType(sTypeIn1);
    peInDescr2.setSType(sTypeIn3);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "data");
    SType sTypeOut1 = new AnySType();
    // SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    // DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
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.