Class FilterCSVColumn<T extends org.anchoranalysis.io.input.InputFromManager>

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.input.bean.InputManager<T>>
org.anchoranalysis.io.input.bean.InputManager<T>
org.anchoranalysis.io.input.bean.InputManagerUnary<T>
org.anchoranalysis.plugin.io.bean.input.filter.FilterCSVColumn<T>
Type Parameters:
T - InputType

public class FilterCSVColumn<T extends org.anchoranalysis.io.input.InputFromManager>
extends org.anchoranalysis.io.input.bean.InputManagerUnary<T>
Finds a CSV file with the names of an input as the first-column.

Filters against the value of the second-column of the CSV so that only inputs that match this value are accepted.

Each entry from the delegated input-manager must map 1 to 1 to rows in the CSV file

Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    FilterCSVColumn()  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.io.input.bean.path.DerivePath getCsvFilePath()  
    String getMatch()  
    protected org.anchoranalysis.io.input.InputsWithDirectory<T> inputsFromDelegate​(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters)  
    void setCsvFilePath​(org.anchoranalysis.io.input.bean.path.DerivePath csvFilePath)  
    void setMatch​(String match)  

    Methods inherited from class org.anchoranalysis.io.input.bean.InputManagerUnary

    getInput, inputs, setInput

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • inputsFromDelegate

      protected org.anchoranalysis.io.input.InputsWithDirectory<T> inputsFromDelegate​(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters) throws org.anchoranalysis.io.input.InputReadFailedException
      Specified by:
      inputsFromDelegate in class org.anchoranalysis.io.input.bean.InputManagerUnary<T extends org.anchoranalysis.io.input.InputFromManager>
      Throws:
      org.anchoranalysis.io.input.InputReadFailedException
    • getCsvFilePath

      public org.anchoranalysis.io.input.bean.path.DerivePath getCsvFilePath()
    • setCsvFilePath

      public void setCsvFilePath​(org.anchoranalysis.io.input.bean.path.DerivePath csvFilePath)
    • getMatch

      public String getMatch()
    • setMatch

      public void setMatch​(String match)