Package uk.org.ogsadai.activity.io

Examples of uk.org.ogsadai.activity.io.TypedActivityInput


    // set up block reader for class index input
    BlockReader classIndex = getInput(INPUT_CLASS_INDEX);
    if (classIndex == null) {
      throw new InvalidActivityInputsException(1, INPUT_CLASS_INDEX);
    }
    ActivityInput classIndexInput = new TypedActivityInput(
        INPUT_CLASS_INDEX, Object.class);
    classIndexInput.setBlockReader(classIndex);
    inputs.add(classIndexInput);

    // set up block reader for indexes of nominal values columns
    BlockReader indexes = getInput(INPUT_COLUMN_INDICES);
    if (indexes == null) {
View Full Code Here


   
    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
            new TypedActivityInput(INPUT_CLASSIFIER, TupleClassifier.class)
        };
    }
View Full Code Here

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
            new TypedActivityInput(INPUT_CLASSIFIER, TupleClassifier.class),
            new TupleListActivityInput(INPUT_DATA),
            new TypedOptionalActivityInput(INPUT_RESULT_COLUMN_NAME, String.class, "class")
        };
    }
View Full Code Here

       
       
        // set up block reader for customers input
        BlockReader key = getInput(INPUT_KEY_INDEX);
 
        ActivityInput keyIndexInput = new TypedActivityInput(INPUT_KEY_INDEX, Integer.class);
        keyIndexInput.setBlockReader(key);
        inputs.add(keyIndexInput);
       
        return inputs.toArray(new ActivityInput[inputs.size()]);
       
       
View Full Code Here

        BlockReader classIndex = getInput(INPUT_CLASS_INDEX);
        if (classIndex == null)
        {
            throw new InvalidActivityInputsException(1, INPUT_CLASS_INDEX);
        }  
        ActivityInput classIndexInput = new TypedActivityInput(INPUT_CLASS_INDEX, Object.class);
        classIndexInput.setBlockReader(classIndex);
        inputs.add(classIndexInput);
       
        // set up block reader for options  input

        BlockReader options = getInput(INPUT_OPTIONS);
View Full Code Here

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_DATA, Serializable.class),
                new TypedOptionalActivityInput(INPUT_BLOCK_SIZE, Number.class, 1024)
        };
    }
View Full Code Here

        DAILogger.getLogger(RandomNumbersActivity.class);
    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_SEED, Number.class),
                new TypedActivityInput(INPUT_SIZE, Number.class),
                new TypedActivityInput(INPUT_MIN, Number.class),
                new TypedActivityInput(INPUT_MAX, Number.class),
                new TypedActivityInput(INPUT_EXPRESSION, String.class),
                new TypedActivityInput(INPUT_CREATE_RESULT, Number.class),
                new TypedActivityInput(INPUT_TABLE_NAME, String.class)
        };
    }
View Full Code Here

     */
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[]
        {
            new TypedActivityInput(INPUT_NUMBER_TUPLES, Integer.class),
            new TypedActivityInput(INPUT_TUPLE, String.class),

        };
    }
View Full Code Here

  @Override
  protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[]
        {
            new TypedActivityInput(INPUT_SPARQL_EXPRESSION, String.class),

        };
    }
View Full Code Here

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_FILENAME, String.class)
                
                };
    }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.activity.io.TypedActivityInput

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.