T
- InputTypepublic class FilterCSVColumn<T extends InputFromManager> extends InputManagerUnary<T>
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
Constructor and Description |
---|
FilterCSVColumn() |
Modifier and Type | Method and Description |
---|---|
DerivePath |
getCsvFilePath() |
String |
getMatch() |
protected InputsWithDirectory<T> |
inputsFromDelegate(InputsWithDirectory<T> fromDelegate,
InputManagerParameters parameters)
Calculates the inputs to return given the inputs from the delegate.
|
void |
setCsvFilePath(DerivePath csvFilePath) |
void |
setMatch(String match) |
getInput, inputs, setInput
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected InputsWithDirectory<T> inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters) throws InputReadFailedException
InputManagerUnary
inputsFromDelegate
in class InputManagerUnary<T extends InputFromManager>
fromDelegate
- the inputs from the delegate.parameters
- parameters for determining inputs.InputReadFailedException
- if inputs cannot be successfully read from the file-system.public DerivePath getCsvFilePath()
public void setCsvFilePath(DerivePath csvFilePath)
public String getMatch()
public void setMatch(String match)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.