Package eu.admire.dispel.types

Examples of eu.admire.dispel.types.SimpleDType


    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "data");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("classifierST");
    SType sTypeIn2 = new PrimitiveSType("dataST");
    DType dtypeIn1 = new SimpleDType("classifierDT");
    DType dtypeIn2 = new SimpleDType("dataDT");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn2);
    peInDescr2.setDType(dtypeIn2);

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

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


    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "data");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("classifierST");
    SType sTypeIn2 = new PrimitiveSType("dataST");
    DType dtypeIn1 = new SimpleDType("classifierDT");
    DType dtypeIn2 = new SimpleDType("dataDT");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn2);
    peInDescr2.setDType(dtypeIn2);

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

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

    ProcessingElementInputDescriptor peInDescr1 = new ProcessingElementInputDescriptor(
        "input", true);
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("String");
    peInDescr1.setSType(sTypeIn1);
    DType dtypeIn = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");
    peInDescr1.setDType(dtypeIn);
    inputs.add(peInDescr1);

    // output
    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "output1");
    peOutDescr1.setSType(new PrimitiveSType("String"));
    DType dtypeOut = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLQuery");
    peOutDescr1.setDType(dtypeOut);
    outputs.add(peOutDescr1);

    Map<String, String> metadataMap = new HashMap<String, String>();
View Full Code Here

    ProcessingElementInputDescriptor peInDescr1 = new ProcessingElementInputDescriptor(
        "input", true);
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("String");
    peInDescr1.setSType(sTypeIn1);
    DType dtypeIn = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");
    peInDescr1.setDType(dtypeIn);
    inputs.add(peInDescr1);

    // output
    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "output1");
    peOutDescr1.setSType(new PrimitiveSType("String"));
    DType dtypeOut = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLQuery");
    peOutDescr1.setDType(dtypeOut);
    outputs.add(peOutDescr1);

    Map<String, String> metadataMap = new HashMap<String, String>();
View Full Code Here

    createDType();
  }

  private void createDType() throws RegistrationFailedException {

    SimpleDType dtype = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");

    registry.registerDType(dTypeName, dtype);
  }
View Full Code Here

//    createDType();
  }

  private void createDType() throws RegistrationFailedException {

    SimpleDType simpleDType = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");
    TupleDType dtype = new TupleDType();
    dtype.addElement("a", new SimpleDType("http://bla"));
    dtype.addElement("b", simpleDType);

    registry.registerDType(dTypeName, dtype);
  }
View Full Code Here

//    createDType();
  }

  private void createDType() throws RegistrationFailedException {

    SimpleDType simpleDType = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");
    ArrayDType dtype = new ArrayDType(simpleDType, 4);

    registry.registerDType(dTypeName, dtype);
  }
View Full Code Here

    createDType();
  }

  private void createDType() throws RegistrationFailedException {

    SimpleDType simpleDType = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#SQLStatement");
    TupleDType dtype = new TupleDType();
    dtype.addElement("a", new SimpleDType("http://bla"));
    dtype.addElement("b", new SimpleDType("http://blabla"));
    dtype.addElement("c", simpleDType);
   
    CollectionDType collectionDType = new CollectionDType(simpleDType, "Set");

    registry.registerDType(dTypeName, collectionDType);
View Full Code Here

    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "unionInput2");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("any");
    SType sTypeIn2 = new PrimitiveSType("Array");
    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn1);
    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);
//    peOutDescr2.setDType(dtypeOut2);
View Full Code Here

    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);

    outputs.add(peOutDescr1);
View Full Code Here

TOP

Related Classes of eu.admire.dispel.types.SimpleDType

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.