Package uk.org.ogsadai.activity.io

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


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


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

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

        
         List<BlockReader> classifiers = getInputs(INPUT_CLASSIFIER);
         for (BlockReader reader : classifiers)
         {
             // can be either column index or column name
             ActivityInput input = new TypedActivityInput(INPUT_CLASSIFIER, TupleClassifier.class);
             input.setBlockReader(reader);
             inputs.add(input);
         }       
         return inputs.toArray(new ActivityInput[inputs.size()]);
    }
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

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

        List activityInputs = getInputs(INPUT_PARAMETERS);
       
        ActivityInput[] inputs = new ActivityInput[activityInputs.size()+1];
        for (int i=0; i<inputs.length-1; i++)
        {
            inputs[i] = new TypedActivityInput(INPUT_PARAMETERS, Object.class);
            inputs[i].setBlockReader((BlockReader)activityInputs.get(i));
        }
        inputs[inputs.length-1] = new TupleListActivityInput(INPUT_DATA);
        if (hasInput(INPUT_DATA))
        {
View Full Code Here

        List activityInputs = getInputs(INPUT_PARAMETERS);
       
        TypedActivityInput[] inputs = new TypedActivityInput[activityInputs.size()];
        for (int i=0; i<inputs.length; i++)
        {
            inputs[i] = new TypedActivityInput(INPUT_PARAMETERS, Object.class);
            inputs[i].setBlockReader((BlockReader)activityInputs.get(i));
        }
        return inputs;
    }
View Full Code Here

        List activityInputs = getInputs(INPUT_PARAMETERS);
       
        TypedActivityInput[] inputs = new TypedActivityInput[activityInputs.size()];
        for (int i=0; i<inputs.length; i++)
        {
            inputs[i] = new TypedActivityInput(INPUT_PARAMETERS, Object.class);
            inputs[i].setBlockReader((BlockReader)activityInputs.get(i));
        }
        return inputs;
    }
View Full Code Here

 
  @Override
  protected ActivityInput[] getIterationInputs() {
   
    return new ActivityInput[] {
        new TypedActivityInput(INPUT, String.class),
            //  new TypedOptionalActivityInput(RESIDUAL_SUM,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.